@webex/widgets 1.28.2-next.3 → 1.28.2-next.5

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.
Files changed (36) hide show
  1. package/dist/css/webex-widgets.css +1 -1
  2. package/dist/webexWidgets.mjs +3 -0
  3. package/dist/webexWidgets.mjs.LICENSE.txt +5 -0
  4. package/dist/webexWidgets.mjs.map +1 -0
  5. package/package.json +12 -15
  6. package/dist/webexWidgets.esm.js +0 -56521
  7. package/dist/webexWidgets.esm.js.map +0 -1
  8. /package/dist/css/assets/{6c0c2778.woff2 → CiscoSansTTBold.820f48fceea40321737aae5b7587756d.woff2} +0 -0
  9. /package/dist/css/assets/{7f551bab.woff → CiscoSansTTBold.f6a4cd0432f1db23eb9fd40e5d136ba3.woff} +0 -0
  10. /package/dist/css/assets/{c1f2fd26.woff → CiscoSansTTBoldOblique.1fe8e2c8b487bf0ccd377df85fef8355.woff} +0 -0
  11. /package/dist/css/assets/{45dc7dcd.woff2 → CiscoSansTTBoldOblique.76fff4a03854d52570f2c28b54f59943.woff2} +0 -0
  12. /package/dist/css/assets/{dcdf6545.woff → CiscoSansTTExtraLight.3066bc0edfba70d46e965f3ed988fdcc.woff} +0 -0
  13. /package/dist/css/assets/{2ce7dd9e.woff2 → CiscoSansTTExtraLight.38be83efa23cad294b14094ec074cbd2.woff2} +0 -0
  14. /package/dist/css/assets/{f98de399.woff2 → CiscoSansTTExtraLightOblique.3f2712e63e70794b0c9af5cd616acf4f.woff2} +0 -0
  15. /package/dist/css/assets/{5be282d2.woff → CiscoSansTTExtraLightOblique.d515df3016a7cda4f164c903f46628be.woff} +0 -0
  16. /package/dist/css/assets/{f09be80b.woff2 → CiscoSansTTHeavy.c856f4b9431ae33bd2ffaad142461fad.woff2} +0 -0
  17. /package/dist/css/assets/{f7e670d.woff → CiscoSansTTHeavy.ebe1d7ec90c778f68b2885a70034b977.woff} +0 -0
  18. /package/dist/css/assets/{46a31acd.woff2 → CiscoSansTTHeavyOblique.b9c9dc0820ef6e7fcac62e4b9a175b46.woff2} +0 -0
  19. /package/dist/css/assets/{4fbe2ff6.woff → CiscoSansTTHeavyOblique.f75e30ebebbb89a47710739fc1d36573.woff} +0 -0
  20. /package/dist/css/assets/{ff8c1c66.woff2 → CiscoSansTTLight.0a0dc0b78cbb1c1d588412a5ed13322a.woff2} +0 -0
  21. /package/dist/css/assets/{89721a2e.woff → CiscoSansTTLight.ff84a0dda4f5b41dca374d915a1e9c84.woff} +0 -0
  22. /package/dist/css/assets/{e2738dc5.woff2 → CiscoSansTTLightOblique.71f143225dae433cdbc28e952da9d842.woff2} +0 -0
  23. /package/dist/css/assets/{15592702.woff → CiscoSansTTLightOblique.cd58bdcf42dc1f97d251af8165e5bfe8.woff} +0 -0
  24. /package/dist/css/assets/{6a79ddf2.woff2 → CiscoSansTTMedium.384c20cafbd2d76f0ff620edbd90de03.woff2} +0 -0
  25. /package/dist/css/assets/{49e65cec.woff → CiscoSansTTMedium.9960af34789587ed75ebd19a3e535b23.woff} +0 -0
  26. /package/dist/css/assets/{ee7d15d.woff → CiscoSansTTRegular.aeaec016d6766e2a0f4dfeaec2c0a629.woff} +0 -0
  27. /package/dist/css/assets/{4a5e2b76.woff2 → CiscoSansTTRegular.f45f677564d42d8ed5830b998384c67b.woff2} +0 -0
  28. /package/dist/css/assets/{5c1e91fe.woff → CiscoSansTTRegularOblique.e131cf101b7ac3638ca6901becd3f868.woff} +0 -0
  29. /package/dist/css/assets/{cc2626a2.woff2 → CiscoSansTTRegularOblique.ea691c7a6b58b04a8dd1634fe7c07e2b.woff2} +0 -0
  30. /package/dist/css/assets/{ecaeee69.woff → CiscoSansTTThin.2cc7a6f81dd88a09b3d357b16a74c968.woff} +0 -0
  31. /package/dist/css/assets/{521bbff9.woff2 → CiscoSansTTThin.f51c3a281791249258d898c13c6b537b.woff2} +0 -0
  32. /package/dist/css/assets/{2f4a9953.woff2 → CiscoSansTTThinOblique.c22430f919fdb49404bd5c0402a6e888.woff2} +0 -0
  33. /package/dist/css/assets/{18609408.woff → CiscoSansTTThinOblique.e21ba390208be85c5e61653a247003dd.woff} +0 -0
  34. /package/dist/css/assets/{87960965.gif → loading.445ff2f4389804652ad7937c73ea8f61.gif} +0 -0
  35. /package/dist/css/assets/{dc7f8e1b.gif → loading.4fd4081ec5d8f716c615e4108e2df4ca.gif} +0 -0
  36. /package/dist/css/assets/{af1a3e22.svg → webex-logo.be4162180cfc090391af6d8a482c6dff.svg} +0 -0
@@ -0,0 +1,3 @@
1
+ /*! For license information please see webexWidgets.mjs.LICENSE.txt */
2
+ import*as e from"prop-types";import*as t from"react";import*as r from"react-dom";import*as n from"webex";import*as i from"@webex/common";var o={2371:function(e,t,r){!function(e,t,n,i,o,a,s){function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=l(i),c=l(o),d=l(s);function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e){return f="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},f(e)}function h(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:t+""}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function y(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e,t){if(t&&("object"==f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function C(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}class E{constructor(e){this.datasource=e}connect(){return Promise.reject(new Error("connect() must be defined in WebexAdapter"))}disconnect(){return Promise.reject(new Error("disconnect() must be defined in WebexAdapter"))}}const _="active",T="inactive",x="disabled",S="NOT_JOINED",O="JOINED",w="LEFT";const A="meeting";const N={ACTIVE:"active",BOT:"bot",CALL:"call",DO_NOT_DISTURB:"dnd",INACTIVE:"inactive",MEETING:"meeting",OUT_OF_OFFICE:"ooo",PRESENTING:"presenting",SELF:"self",TYPING:"typing"};function P(e,t,r){return(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function L(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(L=function(){return!!e})()}var k={actionID:null,personID:null,roomID:null,type:"submit",activityID:null,inputs:null,created:null},M=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,L()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"getActivity",value:function(e){var r=this;return t.Observable.create((function(t){r.datasource[e]?t.next(r.datasource[e]):t.error(new Error('Could not find activity with ID "'.concat(e,'"'))),t.complete()}))}},{key:"postAction",value:function(e,r){var n=this;return new t.Observable((function(t){var i=n.datasource[e];if(i){var o="action-".concat(e,"-").concat((null==i?void 0:i.actions.length)+1),a=R(R({},k),{},{actionID:o,personID:"user1",roomID:i.roomID,activityID:e,inputs:r,created:(new Date).toISOString()});n.datasource[e].actions.push(a),t.next(a),t.complete()}else t.error(new Error('Unable to create an attachment action for activity with id "'.concat(e,'"')))}))}},{key:"postActivity",value:function(e){var r=this;return new t.Observable((function(t){var n=r.datasource;if(e.roomID){var i="activity".concat(Object.keys(n).length+1),o=R(R({attachments:[],actions:[],cards:[]},e),{},{ID:i,personID:"user1",created:(new Date).toISOString()});n[i]=o,t.next(o),t.complete()}else t.error(new Error("Unable to post an activity in room with id ".concat(e.roomID)))}))}},{key:"hasAdaptiveCards",value:function(e){return e.cards.length>0}},{key:"getAdaptiveCard",value:function(e,t){return e.cards[t]}}])}(class extends E{getActivity(e){return t.throwError(new Error("getActivity(ID) must be defined in ActivitiesAdapter"))}});function D(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function U(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){D(o,n,i,a,s,"next",e)}function s(e){D(o,n,i,a,s,"throw",e)}a(void 0)}))}}var j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function F(e,t,r){return r={path:t,exports:{},require:function(e,t){return B(null==t&&r.path)}},e(r,r.exports),r.exports}function B(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var z=F((function(e){function t(r){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})),H=F((function(e){var t=z.default;function r(){e.exports=r=function(){return i},e.exports.__esModule=!0,e.exports.default=e.exports;var n,i={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(n){p=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var i=t&&t.prototype instanceof C?t:C,o=Object.create(i.prototype),a=new L(n||[]);return s(o,"_invoke",{value:N(e,r,a)}),o}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}i.wrap=f;var m="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function C(){}function E(){}function _(){}var T={};p(T,u,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(k([])));S&&S!==o&&a.call(S,u)&&(T=S);var O=_.prototype=C.prototype=Object.create(T);function w(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,r){function n(i,o,s,l){var u=h(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==t(d)&&a.call(d,"__await")?r.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):r.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,l)}))}l(u.arg)}var i;s(this,"_invoke",{value:function(e,t){function o(){return new r((function(r,i){n(e,t,r,i)}))}return i=i?i.then(o,o):o()}})}function N(e,t,r){var i=m;return function(o,a){if(i===v)throw Error("Generator is already running");if(i===g){if("throw"===o)throw a;return{value:n,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=P(s,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===m)throw i=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=v;var u=h(e,t,r);if("normal"===u.type){if(i=r.done?g:y,u.arg===b)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=g,r.method="throw",r.arg=u.arg)}}}function P(e,t){var r=t.method,i=e.iterator[r];if(i===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=n,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var o=h(i,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,b;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,b):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function k(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function t(){for(;++i<e.length;)if(a.call(e,i))return t.value=e[i],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}throw new TypeError(t(e)+" is not iterable")}return E.prototype=_,s(O,"constructor",{value:_,configurable:!0}),s(_,"constructor",{value:E,configurable:!0}),E.displayName=p(_,d,"GeneratorFunction"),i.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,p(e,d,"GeneratorFunction")),e.prototype=Object.create(O),e},i.awrap=function(e){return{__await:e}},w(A.prototype),p(A.prototype,c,(function(){return this})),i.AsyncIterator=A,i.async=function(e,t,r,n,o){void 0===o&&(o=Promise);var a=new A(f(e,t,r,n),o);return i.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(O),p(O,d,"Generator"),p(O,u,(function(){return this})),p(O,"toString",(function(){return"[object Generator]"})),i.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},i.values=k,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(R),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),R(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;R(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),b}},i}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})),q=H(),V=q;try{regeneratorRuntime=q}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=q:Function("r","regeneratorRuntime = r")(q)}function G(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function W(e,t){if(e){if("string"==typeof e)return G(e,t);var r={}.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)?G(e,t):void 0}}function $(e){return function(e){if(Array.isArray(e))return G(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||W(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.")}()}function Y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||W(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 K(e,t){for(var r=e,n=0,i=Object.entries(t);n<i.length;n++){var o=Y(i[n],2),a=o[0],s=o[1];(null==s?void 0:s.constructor)===Object?K(r[a],s):r[a]=s}}function Z(e,t){var r;try{r=new URL(e)}catch(e){return!1}return t.includes(r.protocol)}function X(e,t,r){return Math.min(Math.max(e,t),r)}function Q(e,t){return Object.fromEntries(Object.entries(e).map((function(e){var r=Y(e,2),n=r[0],i=r[1];return[n,t(i,n)]})))}var J=0;function ee(){return"wxc-".concat(J+=1)}var te=y((function e(t,r){p(this,e),this.adapter=t,this.ID=r}));function re(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(re=function(){return!!e})()}var ne=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,re()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"display",value:function(){var e=this;return t.Observable.create((function(t){t.next({ID:e.ID,type:"BUTTON",icon:"microphone-muted",state:x,text:"No microphone",tooltip:"No microphone available"}),t.complete()}))}}])}(te);function ie(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ie=function(){return!!e})()}var oe=function(e){function t(){return p(this,t),function(e,t,r){return t=g(t),v(e,ie()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t,arguments)}return C(t,e),y(t,[{key:"action",value:(r=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.joinMeeting(t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"display",value:function(e){var t=this;return this.adapter.getMeeting(e).pipe(n.map((function(e){return{hint:(e.localAudio.stream?"Unmuted, ":"Muted, ")+(e.localVideo.stream?"video on":"video off"),state:"NOT_JOINED"===e.state?_:x}})),n.distinctUntilChanged((function(e,t){return e.hint===t.hint&&e.state===t.state})),n.map((function(e){var r=e.hint,n=e.state;return{ID:t.ID,type:"JOIN",text:"Join meeting",tooltip:"Join meeting",hint:"Join meeting. ".concat(r),state:n}})))}}]);var r}(te);function ae(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ae=function(){return!!e})()}var se=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,ae()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"action",value:(n=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.leaveMeeting(t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"display",value:function(){var e=this;return t.Observable.create((function(t){t.next({ID:e.ID,type:"CANCEL",icon:"cancel",tooltip:"Leave meeting",hint:"Leave meeting"}),t.complete()}))}}]);var n}(te);function le(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(le=function(){return!!e})()}var ue=function(e){function t(){return p(this,t),function(e,t,r){return t=g(t),v(e,le()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t,arguments)}return C(t,e),y(t,[{key:"action",value:(r=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.toggleMuteAudio(t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"display",value:function(e){var t={ID:this.ID,type:"BUTTON",icon:"microphone",tooltip:"Mute audio",state:T,text:"Mute"},r={ID:this.ID,type:"BUTTON",icon:"microphone-muted",tooltip:"Unmute audio",state:_,text:"Unmute"};return this.adapter.getMeeting(e).pipe(n.map((function(e){var t;return!(null===(t=e.localAudio)||void 0===t||!t.stream)})),n.distinctUntilChanged(),n.map((function(e){return e?t:r})))}}]);var r}(te);function ce(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ce=function(){return!!e})()}var de=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,ce()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"action",value:(i=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.toggleMuteVideo(t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"display",value:function(e){var r={ID:this.ID,type:"BUTTON",icon:"camera-muted",tooltip:"Start video",state:_,text:"Start video"},i={ID:this.ID,type:"BUTTON",icon:"camera",tooltip:"Stop video",state:T,text:"Stop video"},o={ID:this.ID,type:"BUTTON",icon:"camera-muted",tooltip:"Video not supported on iOS 15.1",state:x,text:"No camera"};return"undefined"!=typeof navigator&&navigator.userAgent.includes("iPhone OS 15_1")?t.of(o):this.adapter.getMeeting(e).pipe(n.map((function(e){return!!e.localVideo.stream})),n.distinctUntilChanged(),n.map((function(e){return e?i:r})))}}]);var i}(te);function pe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pe=function(){return!!e})()}var fe=function(e){function t(){return p(this,t),function(e,t,r){return t=g(t),v(e,pe()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t,arguments)}return C(t,e),y(t,[{key:"action",value:(r=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.toggleRoster(t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"display",value:function(e){var t={ID:this.ID,type:"TOGGLE",state:_,icon:"participant-list-filled",text:"Hide participants",tooltip:"Hide participants panel"},r={ID:this.ID,type:"TOGGLE",state:T,icon:"participant-list",text:"Show participants",tooltip:"Show participants panel"};return this.adapter.getMeeting(e).pipe(n.map((function(e){return!!e.showRoster})),n.distinctUntilChanged(),n.map((function(e){return e?t:r})))}}]);var r}(te);function he(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(he=function(){return!!e})()}var me=function(e){function t(){return p(this,t),function(e,t,r){return t=g(t),v(e,he()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t,arguments)}return C(t,e),y(t,[{key:"action",value:(r=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.toggleSettings(t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"display",value:function(e){var t={ID:this.ID,type:"BUTTON",state:_,icon:"settings",text:"Settings",tooltip:"Meeting settings"},r={ID:this.ID,type:"BUTTON",state:T,icon:"settings",text:"Settings",tooltip:"Meeting settings"};return this.adapter.getMeeting(e).pipe(n.map((function(e){return!!e.showSettings})),n.distinctUntilChanged(),n.map((function(e){return e?t:r})))}}]);var r}(te);function ye(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ye=function(){return!!e})()}var ve=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,ye()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"action",value:(i=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.handleLocalShare(t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"display",value:function(e){var r={ID:this.ID,type:"TOGGLE",state:T,icon:"share-screen-presence-stroke",text:"Start sharing",tooltip:"Start sharing content"},i={ID:this.ID,type:"TOGGLE",state:_,icon:"share-screen-filled",text:"Stop sharing",tooltip:"Stop sharing content"},o={ID:this.ID,type:"TOGGLE",state:x,icon:"share-screen-presence-stroke",text:"Start sharing",tooltip:"Share screen not supported"};return navigator.mediaDevices&&navigator.mediaDevices.getDisplayMedia?this.adapter.getMeeting(e).pipe(n.map((function(e){return!!e.localShare.stream})),n.distinctUntilChanged(),n.map((function(e){return e?i:r}))):t.of(o)}}]);var i}(te);function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ce(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ce=function(){return!!e})()}var Ee=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,Ce()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"action",value:(i=U(V.mark((function e(t,r){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.switchCamera(t,r);case 2:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"display",value:function(e){var r=this,i=this.adapter.getMeeting(e).pipe(n.first(),n.concatMap((function(){return t.defer((function(){return r.adapter.getAvailableDevices(e,"videoinput")}))}))),o=new t.Observable((function(t){r.adapter.fetchMeeting(e)?(t.next({ID:r.ID,type:"MULTISELECT",tooltip:"Video Devices",noOptionsMessage:"No available cameras",options:null,selected:null,hint:'Use arrow keys to navigate between camera options and hit "Enter" to select.'}),t.complete()):t.error(new Error('Could not find meeting with ID "'.concat(e,'" to add a switch camera control')))})),a=o.pipe(n.concatMap((function(e){return i.pipe(n.map((function(t){return be(be({},e),{},{options:(t||[])&&t.map((function(e){return{value:e.deviceId,label:e.label||"Camera-".concat(e.deviceId),camera:e}}))})})))}))),s=a.pipe(n.concatMap((function(t){return r.adapter.getMeeting(e).pipe(n.map((function(e){return e.cameraID})),n.distinctUntilChanged(),n.map((function(e){return be(be({},t),{},{selected:e})})))})));return t.concat(o,a,s).pipe(n.distinctUntilChanged((function(e,t){return e.selected===t.selected&&e.options===t.options})))}}]);var i}(te);function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xe=function(){return!!e})()}var Se=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,xe()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"action",value:(i=U(V.mark((function e(t,r){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.switchMicrophone(t,r);case 2:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"display",value:function(e){var r=this,i=this.adapter.getMeeting(e).pipe(n.first(),n.concatMap((function(){return t.defer((function(){return r.adapter.getAvailableDevices(e,"audioinput")}))}))),o=new t.Observable((function(t){r.adapter.fetchMeeting(e)?(t.next({ID:r.ID,type:"MULTISELECT",tooltip:"Microphone Devices",noOptionsMessage:"No available microphones",options:null,selected:null,hint:'Use arrow keys to navigate between microphone options and hit "Enter" to select.'}),t.complete()):t.error(new Error('Could not find meeting with ID "'.concat(e,'" to add switch microphone control')))})),a=o.pipe(n.concatMap((function(e){return i.pipe(n.map((function(t){return Te(Te({},e),{},{options:(t||[])&&t.map((function(e){return{value:e.deviceId,label:e.label||"Microphone-".concat(e.deviceId),microphone:e}}))})})))}))),s=a.pipe(n.concatMap((function(t){return r.adapter.getMeeting(e).pipe(n.map((function(e){return e.microphoneID})),n.distinctUntilChanged(),n.map((function(e){return Te(Te({},t),{},{selected:e})})))})));return t.concat(o,a,s).pipe(n.distinctUntilChanged((function(e,t){return e.selected===t.selected&&e.options===t.options})))}}]);var i}(te),Oe=F((function(e){!function(){var t={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,n(r)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var o in e)t.call(e,o)&&e[o]&&(n=i(n,o));return n}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):window.classNames=r}()})),we="wxc";function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pe(e,t,r){var n=Array.isArray(t)?t:[t];return[Oe.apply(void 0,["wxc","".concat(we,"-").concat(e)].concat($(n),[Ne({},Object.fromEntries(Object.entries(r||{}).map((function(t){var r=Y(t,2),n=r[0],i=r[1];return["".concat(we,"-").concat(e,"--").concat(n),i]}))))])),function(t){return"".concat(we,"-").concat(e,"__").concat(t)}]}var Ie=!!document.createElement("audio").setSinkId;function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ke(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ke=function(){return!!e})()}var Me=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,ke()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"action",value:(i=U(V.mark((function e(t,r){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.adapter.switchSpeaker(t,r);case 2:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"display",value:function(e){var r=this,i=t.defer((function(){return r.adapter.getAvailableDevices(e,"audiooutput")})).pipe(n.map((function(e){return e.map((function(e){return{value:e.deviceId,label:e.label,speaker:e}}))})),n.map((function(e){return[{value:"",label:"Browser Default"}].concat($(e))}))),o=new t.Observable((function(t){r.adapter.fetchMeeting(e)?(t.next({ID:r.ID,type:"MULTISELECT",tooltip:Ie?"Speaker Devices":"The current browser does not support changing speakers",noOptionsMessage:"No available speakers",options:null,selected:null,hint:'Use arrow keys to navigate between speaker options and hit "Enter" to select.'}),t.complete()):t.error(new Error('Could not find meeting with ID "'.concat(e,'" to add switch speaker control')))})),a=o.pipe(n.concatMap((function(e){return i.pipe(n.map((function(t){return Le(Le({},e),{},{options:t})})))}))),s=a.pipe(n.concatMap((function(t){return r.adapter.getMeeting(e).pipe(n.map((function(e){return e.speakerID})),n.distinctUntilChanged(),n.map((function(e){return Le(Le({},t),{},{selected:e})})))})));return t.concat(o,a,s).pipe(n.distinctUntilChanged((function(e,t){return e.selected===t.selected&&e.options===t.options})))}}]);var i}(te);function De(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ue(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function je(e,t,r){return t=g(t),v(e,Fe()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}function Fe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Fe=function(){return!!e})()}var Be="disabled-mute-audio",ze="join-meeting",He="leave-meeting",qe="mute-audio",Ve="mute-video",Ge="member-roster",We="settings",$e="share-screen",Ye="switch-camera",Ke="switch-microphone",Ze="switch-speaker",Xe={ID:null,title:null,localAudio:{stream:null,permission:null},localVideo:{stream:null,permission:null},localShare:{stream:null},remoteAudio:null,remoteVideo:null,remoteShare:null,showRoster:null,settings:{visible:!1,preview:{audio:{},video:{}}},status:"NOT_JOINED",cameraID:null,microphoneID:null,speakerID:null},Qe="undefined"!=typeof navigator&&navigator.userAgent.includes("iPhone OS 15_1"),Je="meeting:update",et=function(e){function r(e){var t,n;return p(this,r),(n=je(this,r,[e])).meetingControls=(P(P(P(P(P(P(P(P(P(P(t={},qe,new ue(n,qe)),Ve,new de(n,Ve)),$e,new ve(n,$e)),ze,new oe(n,ze)),He,new se(n,He)),Be,new ne(n,Be)),Ge,new fe(n,Ge)),We,new me(n,We)),Ye,new Ee(n,Ye)),Ke,new Se(n,Ke)),P(t,Ze,new Me(n,Ze))),n.displayStreamPromise=null,n}return C(r,e),y(r,[{key:"createMeeting",value:function(e){var r=this;return t.Observable.create((function(t){e?(t.next(Ue(Ue({},Xe),{},{ID:e})),t.next(r.datasource[e])):t.error(new Error('Could not create meeting at destination "'.concat(e,'"'))),t.complete()}))}},{key:"getMeeting",value:function(e){var r=this,i=t.Observable.create(function(){var t=U(V.mark((function t(n){var i,o,a,s,l,u,c,d,p;return V.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=4;break}n.next({ID:null,title:null,localAudio:{stream:null,permission:null},localVideo:{stream:null,permission:null},localShare:{stream:null},remoteAudio:null,remoteVideo:null,remoteShare:null,showRoster:null,settings:{visible:!1,preview:{audio:{},video:{}}},state:null,cameraID:null,microphoneID:null,speakerID:""}),t.next=41;break;case 4:if(!r.fetchMeeting(e)){t.next=40;break}if((i=r.fetchMeeting(e)).remoteVideo instanceof MediaStream&&(i.remoteVideo=r.getVideoStream()),i.remoteShare instanceof MediaStream&&(i.remoteShare=r.getShareStream()),!r.emptyStream(i.localVideo.stream)){t.next=18;break}return t.next=11,r.getStream({video:!0,audio:!1});case 11:o=t.sent,a=o.stream,s=o.perm,l=o.deviceId,i.localVideo.stream=a,i.localVideo.permission=s,i.cameraID=l;case 18:if(!r.emptyStream(i.localAudio.stream)){t.next=28;break}return t.next=21,r.getStream({video:!1,audio:!0});case 21:u=t.sent,c=u.stream,d=u.perm,p=u.deviceId,i.localAudio.stream=c,i.localAudio.permission=d,i.microphoneID=p;case 28:if(!r.displayStreamPromise){t.next=31;break}return t.next=31,r.displayStreamPromise;case 31:if(!r.emptyStream(i.localShare.stream)){t.next=37;break}return r.displayStreamPromise=r.getDisplayStream(),t.next=35,r.displayStreamPromise;case 35:i.localShare.stream=t.sent,r.displayStreamPromise=null;case 37:n.next(i),t.next=41;break;case 40:n.error(new Error('Could not find meeting with ID "'.concat(e,'"')));case 41:n.complete();case 42:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),o=t.fromEvent(document,Je).pipe(n.filter((function(t){return t.detail.ID===e})),n.map((function(e){return Ue({},e.detail)})));return t.concat(i,o).pipe(n.takeWhile((function(e){return e.state!==w}),!0))}},{key:"joinMeeting",value:(S=U(V.mark((function e(t){var r,n=this,i=arguments;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:{},e.next=3,this.updateMeeting(t,function(){var e=U(V.mark((function e(t){var i;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.password||r.password||r.hostKey){e.next=4;break}i={passwordRequired:!0},e.next=20;break;case 4:if(!t.password||!r.password||r.password===t.password){e.next=8;break}i={invalidPassword:!0},e.next=20;break;case 8:if(!t.hostKey||!r.hostKey||r.hostKey===t.hostKey){e.next=12;break}i={invalidHostKey:!0},e.next=20;break;case 12:return e.next=14,n.getStream({video:!0,audio:!1});case 14:return e.t0=e.sent.stream,e.next=17,n.getStream({video:!1,audio:!0});case 17:e.t1=e.sent.stream,e.t2=O,i={remoteVideo:e.t0,remoteAudio:e.t1,state:e.t2};case 20:return e.abrupt("return",i);case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e,this)}))),function(e){return S.apply(this,arguments)})},{key:"ignoreVideoAccessPrompt",value:(x=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,U(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{localVideo:{permission:"IGNORED"}});case 1:case"end":return e.stop()}}),e)}))));case 2:case"end":return e.stop()}}),e,this)}))),function(e){return x.apply(this,arguments)})},{key:"ignoreAudioAccessPrompt",value:(T=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,U(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{localAudio:{permission:"IGNORED"}});case 1:case"end":return e.stop()}}),e)}))));case 2:case"end":return e.stop()}}),e,this)}))),function(e){return T.apply(this,arguments)})},{key:"leaveMeeting",value:(_=U(V.mark((function e(t){var r=this;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,function(){var e=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.stopStream(t.localVideo.stream),r.stopStream(t.localAudio.stream),e.abrupt("return",{remoteVideo:null,remoteAudio:null,state:w});case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)}))),function(e){return _.apply(this,arguments)})},{key:"getStream",value:(E=U(V.mark((function e(t){var r,n,i,o,a,s,l;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.video||!Qe){e.next=2;break}return e.abrupt("return",{stream:null,perm:"ERROR"});case 2:return e.prev=2,e.next=5,navigator.mediaDevices.getUserMedia(t);case 5:return a=e.sent,e.next=8,this.getAvailableDevices();case 8:s=e.sent,l=a.getTracks()[0].label,n=null===(o=s.find((function(e){return e.label===l})))||void 0===o?void 0:o.deviceId,t.video&&(r=new MediaStream([a.getVideoTracks()[0]])),t.audio&&(r=new MediaStream([a.getAudioTracks()[0]])),i="ALLOWED",e.next=20;break;case 16:e.prev=16,e.t0=e.catch(2),console.error("Meetings JSON adapter can not display the local user stream",e.t0),i=e.t0 instanceof DOMException?"NotAllowedError"===e.t0.name?"Permission dismissed"===e.t0.message?"DISMISSED":"Permission denied by system"===e.t0.message?"DISABLED":"DENIED":"NotReadableError"===e.t0.name?"DISABLED":"ERROR":"ERROR";case 20:return e.abrupt("return",{stream:r,perm:i,deviceId:n});case 21:case"end":return e.stop()}}),e,this,[[2,16]])}))),function(e){return E.apply(this,arguments)})},{key:"getDisplayStream",value:(b=U(V.mark((function e(){var t;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=null,e.prev=1,e.next=4,navigator.mediaDevices.getDisplayMedia();case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),console.error("Meetings JSON adapter can not display the local user sharing stream",e.t0);case 10:return e.abrupt("return",t);case 11:case"end":return e.stop()}}),e,null,[[1,7]])}))),function(){return b.apply(this,arguments)})},{key:"getAvailableDevices",value:(g=U(V.mark((function e(t,r){var n,i;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.datasource[t],i=[],"videoinput"===r&&["ERROR","DISABLED"].includes(n.localVideo.permission)||"audioinput"===r&&["ERROR","DISABLED"].includes(n.localAudio.permission)){e.next=13;break}return e.prev=3,e.next=6,navigator.mediaDevices.enumerateDevices();case 6:i=(i=e.sent).filter((function(e){return!r||e.kind===r&&e.deviceId})),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),console.error("Meetings JSON adapter can not enumerate media devices",e.t0);case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e,this,[[3,10]])}))),function(e,t){return g.apply(this,arguments)})},{key:"getStreamFromElement",value:function(e){var t=document.getElementById(e),r=new MediaStream;return t&&t.captureStream?r=t.captureStream():t&&t.mozCaptureStream&&(r=t.mozCaptureStream()),r}},{key:"getVideoStream",value:function(){return this.getStreamFromElement("remote-video")}},{key:"getShareStream",value:function(){return this.getStreamFromElement("remote-share")}},{key:"stopStream",value:function(e){null!=e&&e.getTracks&&e.getTracks().forEach((function(e){return e.stop()}))}},{key:"emptyStream",value:function(e){return e instanceof MediaStream&&0===e.getTracks().length}},{key:"toggleMuteAudio",value:(v=U(V.mark((function e(t){var r=this;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,function(){var e=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.stopStream(t.localAudio.stream),!t.localAudio.stream){e.next=5;break}e.t0=null,e.next=8;break;case 5:return e.next=7,r.getStream({video:!1,audio:!0});case 7:e.t0=e.sent.stream;case 8:return e.t1=e.t0,e.t2={stream:e.t1},e.abrupt("return",{localAudio:e.t2});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)}))),function(e){return v.apply(this,arguments)})},{key:"toggleMuteVideo",value:(m=U(V.mark((function e(t){var r=this;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,function(){var e=U(V.mark((function e(t){var n;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.stopStream(t.localVideo.stream),null===(n=t.localVideo)||void 0===n||!n.stream){e.next=5;break}e.t0=null,e.next=8;break;case 5:return e.next=7,r.getStream({video:!0,audio:!1});case 7:e.t0=e.sent.stream;case 8:return e.t1=e.t0,e.t2={stream:e.t1},e.abrupt("return",{localVideo:e.t2});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)}))),function(e){return m.apply(this,arguments)})},{key:"handleLocalShare",value:(h=U(V.mark((function e(t){var r=this;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,function(){var e=U(V.mark((function e(n){var i,o;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i={},!n.localShare.stream){e.next=6;break}r.stopStream(n.localShare.stream),i={localShare:{stream:null}},e.next=10;break;case 6:return e.next=8,r.getDisplayStream();case 8:null!=(o=e.sent)&&o.getVideoTracks&&(o.getVideoTracks()[0].onended=function(){r.handleLocalShare(t)},i={remoteShare:null,localShare:{stream:o}});case 10:return e.abrupt("return",i);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)})},{key:"toggleRoster",value:(f=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,function(){var e=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{showRoster:!t.showRoster});case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)}))),function(e){return f.apply(this,arguments)})},{key:"toggleSettings",value:(d=U(V.mark((function e(t){var r=this;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,function(){var e=U(V.mark((function e(t){var n,i,o,a,s,l,u;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.settings.visible){e.next=27;break}if(n={settings:{visible:!0,preview:{}}},!t.localVideo.stream){e.next=7;break}n.settings.preview.video=t.localVideo.stream.clone(),e.next=14;break;case 7:return e.next=9,r.getStream({video:{deviceId:{exact:t.cameraID}}});case 9:i=e.sent,o=i.stream,a=i.deviceId,n.settings.preview.video=o,n.cameraID=a;case 14:if(!t.localAudio.stream){e.next=18;break}n.settings.preview.audio=t.localAudio.stream.clone(),e.next=25;break;case 18:return e.next=20,r.getStream({audio:{deviceId:{exact:t.microphoneID}}});case 20:s=e.sent,l=s.stream,u=s.deviceId,n.settings.preview.microphoneID=l,n.microphoneID=u;case 25:e.next=30;break;case 27:r.stopStream(t.localVideo.stream),r.stopStream(t.localAudio.stream),n={settings:{visible:!1},localVideo:{stream:t.localVideo.stream&&t.settings.preview.video},localAudio:{stream:t.localAudio.stream&&t.settings.preview.audio}};case 30:return e.abrupt("return",n);case 31:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)}))),function(e){return d.apply(this,arguments)})},{key:"switchCamera",value:(c=U(V.mark((function e(t,r){var n=this;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,function(){var e=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.stopStream(t.settings.preview.video),e.next=3,n.getStream({video:{deviceId:{exact:r}}});case 3:return e.t0=e.sent.stream,e.t1={video:e.t0},e.t2={preview:e.t1},e.t3=r,e.abrupt("return",{settings:e.t2,cameraID:e.t3});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)}))),function(e,t){return c.apply(this,arguments)})},{key:"switchMicrophone",value:(u=U(V.mark((function e(t,r){var n=this;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,function(){var e=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.stopStream(t.settings.preview.audio),e.next=3,n.getStream({audio:{deviceId:{exact:r}}});case 3:return e.t0=e.sent.stream,e.t1={audio:e.t0},e.t2={preview:e.t1},e.t3=r,e.abrupt("return",{settings:e.t2,microphoneID:e.t3});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e,this)}))),function(e,t){return u.apply(this,arguments)})},{key:"switchSpeaker",value:(l=U(V.mark((function e(t,r){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,U(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{speakerID:r});case 1:case"end":return e.stop()}}),e)}))));case 2:case"end":return e.stop()}}),e,this)}))),function(e,t){return l.apply(this,arguments)})},{key:"clearPasswordRequiredFlag",value:(s=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,U(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{passwordRequired:!1});case 1:case"end":return e.stop()}}),e)}))));case 2:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"clearInvalidPasswordFlag",value:(a=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,U(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{invalidPassword:!1});case 1:case"end":return e.stop()}}),e)}))));case 2:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"clearInvalidHostKeyFlag",value:(o=U(V.mark((function e(t){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateMeeting(t,U(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{invalidHostKey:!1});case 1:case"end":return e.stop()}}),e)}))));case 2:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"fetchMeeting",value:function(e){return this.datasource[e]}},{key:"updateMeeting",value:(i=U(V.mark((function e(t,r){var n,i;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.fetchMeeting(t),e.next=3,r(n);case 3:i=e.sent,K(n,i),document.dispatchEvent(new CustomEvent(Je,{detail:n}));case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"supportedControls",value:function(){return Object.keys(this.meetingControls)}},{key:"changeLayout",value:function(e,t){console.log("Changing layout to",t)}}]);var i,o,a,s,l,u,c,d,f,h,m,v,g,b,E,_,T,x,S}(class extends E{constructor(e){super(e),this.meetingControls={}}createMeeting(e){return t.throwError(new Error("createMeeting(destination) must be defined in MeetingsAdapter"))}incomingMeeting(e){return t.throwError(new Error("incomingMeeting(destination) must be defined in MeetingsAdapter"))}getMeeting(e){return t.throwError(new Error("getMeeting(ID) must be defined in MeetingsAdapter"))}joinMeeting(e){throw new Error("joinMeeting(ID) must be defined in MeetingsAdapter")}leaveMeeting(e){throw new Error("leaveMeeting(ID) must be defined in MeetingsAdapter")}supportedControls(){return t.throwError(new Error("supportedControls() must be defined in MeetingsAdapter"))}clearPasswordRequiredFlag(e){throw new Error("clearPasswordRequiredFlag(ID) must be defined in MeetingsAdapter")}clearInvalidPasswordFlag(e){throw new Error("clearInvalidPasswordFlag(ID) must be defined in MeetingsAdapter")}});function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(nt=function(){return!!e})()}var it=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,nt()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"getMembersFromDestination",value:function(e,r){var n=this;return t.Observable.create((function(t){var i=Object.values(n.datasource).find((function(t){return t.destinationID===e&&t.destinationType===r}));i?t.next(i.members):t.error(new Error('Could not find members for destination "'.concat(e,'"'))),t.complete()}))}},{key:"addRoomMember",value:function(e,r){var n=this;return new t.Observable((function(t){n.datasource[r]?t.next(rt(rt({},n.datasource[r]),{},{personID:e})):t.error(new Error("Could not add members to room")),t.complete()}))}}])}(class extends E{getMembersFromDestination(e,r){return t.throwError(new Error("getMembersFromDestination(destinationID, destinationType) must be defined in MembershipsAdapter"))}addRoomMember(e,r){return t.throwError(new Error("addRoomMember(personID, roomID) must be defined in MembershipsAdapter"))}removeRoomMember(e,r){return t.throwError(new Error("removeRoomMember(personID, roomID) must be defined in MembershipsAdapter"))}});function ot(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ot=function(){return!!e})()}var at=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,ot()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"getOrg",value:function(e){var r=this;return new t.Observable((function(t){var n=Object.values(r.datasource).find((function(t){return t.ID===e}));n?(t.next(n),t.complete()):t.error(new Error('Could not find any organization with ID "'.concat(e,'"')))}))}}])}(class extends E{getOrg(e){return t.throwError(new Error("getOrg(ID) must be defined in OrganizationsAdapter"))}});function st(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(st=function(){return!!e})()}var lt=function(e){function r(){return p(this,r),function(e,t,r){return t=g(t),v(e,st()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,arguments)}return C(r,e),y(r,[{key:"getMe",value:function(){var e=this;return t.Observable.create((function(t){t.next(e.datasource.user1),t.complete()}))}},{key:"getPerson",value:function(e){var r=this;return t.Observable.create((function(t){r.datasource[e]?t.next(r.datasource[e]):t.error(new Error('Could not find person with ID "'.concat(e,'"'))),t.complete()}))}},{key:"searchPeople",value:function(e){var r=this;return new t.Observable((function(t){r.datasource[e]?setTimeout((function(){t.next(r.datasource[e]),t.complete()}),500):(t.error(new Error("could not find the person with query".concat(e))),t.complete())}))}}])}(class extends E{getMe(){return t.throwError(new Error("getMe() must be defined in PeopleAdapter"))}getPerson(e){return t.throwError(new Error("getPerson(ID) must be defined in PeopleAdapter"))}searchPeople(e){return t.throwError(new Error("searchPeople(query) must be defined in PeopleAdapter"))}});function ut(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ut=function(){return!!e})()}var ct=function(e){function r(e){var t;return p(this,r),(t=function(e,t,r){return t=g(t),v(e,ut()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,r,[e])).dataChunkSize=4,t.lastDataIndex={},t}return C(r,e),y(r,[{key:"getRoom",value:function(e){var r=this;return t.Observable.create((function(t){r.datasource[e]?t.next(r.datasource[e]):t.error(new Error('Could not find room with ID "'.concat(e,'"'))),t.complete()}))}},{key:"getActivitiesInRealTime",value:function(e){var r=this;return t.Observable.create((function(t){var n=r.datasource["".concat(e,"-activities")]?r.datasource["".concat(e,"-activities")]:[];t.next(n),t.complete()}))}},{key:"getPastActivities",value:function(e){var r=this;return t.Observable.create((function(t){if("".concat(e,"-previous-activities")in r.datasource)if(r.hasMoreActivities(e)){var n,i=r.lastDataIndex[e]?r.lastDataIndex[e]:0,o=i+r.dataChunkSize;n=r.datasource["".concat(e,"-previous-activities")].slice(i,o),r.lastDataIndex[e]=o,t.next(n)}else t.complete();else{var a="Could not find activities for room ".concat(e,". Make sure room ID is valid!");t.error(new Error(a))}}))}},{key:"hasMoreActivities",value:function(e){this.lastDataIndex[e]=this.lastDataIndex[e]?this.lastDataIndex[e]:0;var t=!1;return"".concat(e,"-previous-activities")in this.datasource&&(t=this.lastDataIndex[e]<this.datasource["".concat(e,"-previous-activities")].length),t}},{key:"createRoom",value:function(e){var r=this;return new t.Observable((function(t){e.title&&r.datasource[e.title]?t.next(r.datasource[e.title]):t.error(new Error("error in creating room")),t.complete()}))}}])}(class extends E{getRoom(e){return t.throwError(new Error("getRoom(ID) must be defined in RoomsAdapter"))}createRoom(e){return t.throwError(new Error("createRoom(room) must be defined in RoomsAdapter"))}getActivitiesInRealTime(e){return t.throwError(new Error("getActivitiesInRealTime(ID) must be defined in RoomsAdapter"))}getPastActivities(e){return t.throwError(new Error("getPastActivities(ID) must be defined in RoomsAdapter"))}hasMoreActivities(e){throw new Error("hasMoreActivities(ID) must be defined in RoomsAdapter")}});function dt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(dt=function(){return!!e})()}var pt=function(e){function t(e){var r;return p(this,t),(r=function(e,t,r){return t=g(t),v(e,dt()?Reflect.construct(t,r||[],g(e).constructor):t.apply(e,r))}(this,t,[e])).activitiesAdapter=new M(e.activities),r.meetingsAdapter=new et(e.meetings),r.membershipsAdapter=new it(e.memberships),r.organizationsAdapter=new at(e.organizations),r.peopleAdapter=new lt(e.people),r.roomsAdapter=new ct(e.rooms),r}return C(t,e),y(t,[{key:"connect",value:function(){return Promise.resolve(this)}},{key:"disconnect",value:function(){return Promise.resolve(this)}}])}(E);function ft(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 26 14",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M25.7075 0.293202C25.52 0.105701 25.2656 0.000366211 25.0004 0.000366211C24.7353 0.000366211 24.4809 0.105701 24.2934 0.293202L13 11.5862L1.70699 0.293202C1.51851 0.110381 1.26568 0.00902984 1.0031 0.0110359C0.740528 0.013042 0.489278 0.118244 0.303611 0.303925C0.117943 0.489605 0.0127584 0.740862 0.0107709 1.00344C0.00878336 1.26601 0.110153 1.51883 0.292988 1.7073L12.293 13.7073C12.4805 13.8948 12.7348 14.0001 13 14.0001C13.2652 14.0001 13.5195 13.8948 13.707 13.7073L25.707 1.7073C25.8946 1.51984 26 1.26555 26.0001 1.00036C26.0002 0.735168 25.8949 0.4808 25.7075 0.293202Z"}))}function ht(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 8 14",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M1.70721 6.99987L7.35366 1.35352C7.44508 1.25928 7.49577 1.13287 7.49477 1.00159C7.49378 0.870299 7.44119 0.74467 7.34835 0.65183C7.25552 0.55899 7.12989 0.506389 6.99861 0.505386C6.86732 0.504383 6.7409 0.555058 6.64666 0.646469L0.646662 6.64647C0.552911 6.74023 0.500244 6.8674 0.500244 6.99999C0.500244 7.13259 0.552911 7.25975 0.646662 7.35352L6.64666 13.3535C6.69283 13.4011 6.748 13.439 6.80896 13.4651C6.86992 13.4912 6.93546 13.5049 7.00176 13.5054C7.06806 13.5059 7.13379 13.4932 7.19514 13.468C7.25649 13.4429 7.31223 13.4058 7.35911 13.3589C7.40599 13.312 7.44307 13.2563 7.46821 13.1949C7.49335 13.1336 7.50603 13.0679 7.50553 13.0016C7.50502 12.9353 7.49133 12.8697 7.46526 12.8088C7.43919 12.7478 7.40125 12.6926 7.35366 12.6465L1.70721 6.99987Z"}))}function mt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 26 14",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M26.7071 12.2932L14.7071 0.293202C14.5196 0.105701 14.2652 0.000366211 14 0.000366211C13.7349 0.000366211 13.4805 0.105701 13.293 0.293202L1.293 12.2932C1.19821 12.3856 1.12271 12.4959 1.07089 12.6178C1.01907 12.7396 0.991948 12.8705 0.991109 13.0029C0.99027 13.1353 1.01573 13.2665 1.066 13.389C1.11628 13.5114 1.19037 13.6227 1.28398 13.7163C1.37759 13.8099 1.48886 13.884 1.61133 13.9343C1.73381 13.9846 1.86504 14.01 1.99743 14.0092C2.12981 14.0084 2.26071 13.9812 2.38254 13.9294C2.50436 13.8776 2.61468 13.8021 2.7071 13.7073L14 2.4143L25.293 13.7073C25.3854 13.8021 25.4957 13.8776 25.6176 13.9294C25.7394 13.9812 25.8703 14.0084 26.0027 14.0092C26.1351 14.01 26.2663 13.9846 26.3888 13.9343C26.5112 13.884 26.6225 13.8099 26.7161 13.7163C26.8097 13.6227 26.8838 13.5114 26.9341 13.389C26.9844 13.2665 27.0098 13.1353 27.009 13.0029C27.0082 12.8705 26.981 12.7396 26.9292 12.6178C26.8774 12.4959 26.8019 12.3856 26.7071 12.2932Z"}))}function yt(e){var t=e.size,r=e.className,n=e.style,i=Y(Pe("audio-microphone-icon",r),1)[0];return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(i),style:n},u.default.createElement("path",{d:"M18 21.0002H16.5154C15.6304 21.0221 14.7675 20.7223 14.0868 20.1563C13.4061 19.5903 12.9539 18.7966 12.814 17.9224C13.8476 17.7311 14.7818 17.1843 15.4547 16.3766C16.1276 15.569 16.4969 14.5515 16.4985 13.5002V6.00024C16.4985 4.80677 16.0244 3.66218 15.1805 2.81826C14.3366 1.97435 13.192 1.50024 11.9985 1.50024C10.8051 1.50024 9.66047 1.97435 8.81656 2.81826C7.97264 3.66218 7.49854 4.80677 7.49854 6.00024V13.5002C7.5004 14.5713 7.88398 15.6066 8.58042 16.4204C9.27685 17.2341 10.2405 17.773 11.2985 17.9402C11.4397 19.1001 11.9685 20.1783 12.799 21.0002H6C5.80109 21.0002 5.61032 21.0793 5.46967 21.2199C5.32902 21.3606 5.25 21.5513 5.25 21.7502C5.25 21.9492 5.32902 22.1399 5.46967 22.2806C5.61032 22.4212 5.80109 22.5002 6 22.5002H18C18.1989 22.5002 18.3897 22.4212 18.5303 22.2806C18.671 22.1399 18.75 21.9492 18.75 21.7502C18.75 21.5513 18.671 21.3606 18.5303 21.2199C18.3897 21.0793 18.1989 21.0002 18 21.0002ZM8.99854 11.2412V9.75024H14.9985V11.2412H8.99854ZM11.9985 3.00024C12.7939 3.00104 13.5565 3.31736 14.119 3.8798C14.6814 4.44224 14.9977 5.20484 14.9985 6.00024V8.25024H8.99854V6.00024C8.99933 5.20484 9.31566 4.44224 9.87809 3.8798C10.4405 3.31736 11.2031 3.00104 11.9985 3.00024Z"}),u.default.createElement("path",{className:"accent",d:"M9 11.25H15V13.5C15 15.1569 13.6569 16.5 12 16.5C10.3431 16.5 9 15.1569 9 13.5V11.25Z"}),u.default.createElement("rect",{className:"accent",x:"9",y:"8.25",width:"6",height:"1.5"}))}function vt(e){var t=e.size,r=e.className,n=e.style,i=Y(Pe("audio-microphone-muted-icon",r),1)[0];return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(i),style:n},u.default.createElement("path",{d:"M18.0017 20.9998H16.5171C15.6321 21.0217 14.7693 20.7218 14.0886 20.1558C13.4079 19.5898 12.9556 18.7961 12.8157 17.922C13.3101 17.8295 13.7854 17.6542 14.2214 17.4035L13.1019 16.2839C12.6475 16.4667 12.1552 16.5351 11.6682 16.4828C11.1813 16.4306 10.7146 16.2595 10.3094 15.9844C9.90415 15.7094 9.57276 15.3389 9.34441 14.9057C9.11606 14.4724 8.99775 13.9896 8.99992 13.4999V12.1817L7.49992 10.6816V13.4998C7.50176 14.5709 7.88538 15.6063 8.58188 16.4201C9.27839 17.2338 10.2422 17.7726 11.3002 17.9397C11.4415 19.0996 11.9702 20.1779 12.8007 20.9998H6.00175C5.80283 20.9998 5.61207 21.0788 5.47142 21.2195C5.33076 21.3601 5.25175 21.5509 5.25175 21.7498C5.25175 21.9487 5.33076 22.1395 5.47142 22.2801C5.61207 22.4208 5.80283 22.4998 6.00175 22.4998H18.0017C18.2007 22.4998 18.3914 22.4208 18.5321 22.2801C18.6727 22.1395 18.7517 21.9487 18.7517 21.7498C18.7517 21.5509 18.6727 21.3601 18.5321 21.2195C18.3914 21.0788 18.2007 20.9998 18.0017 20.9998Z"}),u.default.createElement("path",{d:"M21.5306 20.4695L16.1892 15.1284C16.3945 14.6099 16.5 14.0574 16.5003 13.4998V5.99981C16.4987 4.80729 16.0239 3.66415 15.1802 2.82145C14.3364 1.97876 13.1926 1.50543 12.0001 1.50543C10.8076 1.50543 9.66382 1.97876 8.82004 2.82145C7.97626 3.66415 7.50145 4.80729 7.49992 5.99981V6.43918L3.53021 2.46954C3.38957 2.3289 3.19883 2.24989 2.99993 2.24988C2.80104 2.24988 2.61029 2.32889 2.46965 2.46953C2.32901 2.61016 2.25 2.80091 2.25 2.9998C2.25 3.19869 2.32901 3.38944 2.46964 3.53008L20.47 21.5301C20.5396 21.5997 20.6223 21.655 20.7133 21.6926C20.8043 21.7303 20.9018 21.7497 21.0003 21.7497C21.0988 21.7497 21.1963 21.7303 21.2873 21.6926C21.3782 21.655 21.4609 21.5997 21.5306 21.5301C21.6002 21.4604 21.6554 21.3778 21.6931 21.2868C21.7308 21.1958 21.7502 21.0983 21.7502 20.9998C21.7502 20.9013 21.7308 20.8038 21.6931 20.7128C21.6554 20.6218 21.6002 20.5392 21.5306 20.4695ZM15.0003 13.4998C14.9976 13.6348 14.9854 13.7695 14.9637 13.9028L8.99994 7.93915V5.99981C9.00119 5.20493 9.31784 4.44304 9.88035 3.88142C10.4429 3.31981 11.2052 3.00437 12.0001 3.00437C12.795 3.00437 13.5574 3.31981 14.1199 3.88142C14.6824 4.44304 14.999 5.20493 15.0003 5.99981V13.4998Z"}))}function gt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 26 18",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M8.20046 17.1999C8.06863 17.2002 7.93805 17.1743 7.81633 17.1236C7.69461 17.073 7.58418 16.9987 7.49146 16.905L0.291276 9.66962C0.198683 9.57651 0.125336 9.46608 0.0754228 9.34463C0.0255091 9.22317 6.0504e-06 9.09308 0.000370053 8.96177C0.000734056 8.83046 0.026958 8.70051 0.0775442 8.57933C0.12813 8.45816 0.202088 8.34813 0.295196 8.25554C0.388303 8.16295 0.498736 8.0896 0.620189 8.03969C0.741643 7.98977 0.871738 7.96427 1.00305 7.96463C1.13436 7.965 1.26431 7.99122 1.38548 8.04181C1.50666 8.09239 1.61668 8.16635 1.70928 8.25946L8.2542 14.8366L24.3499 1.04169C24.5511 0.869196 24.8126 0.783711 25.0769 0.80404C25.3412 0.824369 25.5866 0.948847 25.759 1.15009C25.9315 1.35133 26.017 1.61286 25.9967 1.87713C25.9764 2.1414 25.8519 2.38678 25.6506 2.55927L8.85085 16.9587C8.67 17.1145 8.43917 17.2001 8.20046 17.1999Z"}))}function bt(e){var t=e.size,r=e.className,n=e.style,i=e.ariaLabel,o=Y(Pe("camera-bold-icon",r),1)[0];return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(o),style:n,"aria-label":i},u.default.createElement("path",{d:"M43.5779 13.9478C43.1434 13.6776 42.6468 13.5236 42.1358 13.5006C41.6247 13.4775 41.1162 13.5861 40.6592 13.8159C40.613 13.8394 40.5684 13.8643 40.5244 13.8921L36.0039 16.7672V15.001C36.0016 13.0126 35.2106 11.1063 33.8046 9.70026C32.3986 8.29424 30.4923 7.50331 28.5039 7.50098H10.5039C8.5155 7.50331 6.6092 8.29424 5.20319 9.70026C3.79717 11.1063 3.00624 13.0126 3.00391 15.001V33.001C3.00624 34.9894 3.79717 36.8957 5.20318 38.3017C6.6092 39.7077 8.5155 40.4986 10.5039 40.501H28.5039C30.4923 40.4986 32.3986 39.7077 33.8046 38.3017C35.2106 36.8957 36.0016 34.9894 36.0039 33.001V31.2338L40.5244 34.107C40.5676 34.1348 40.6123 34.1597 40.6577 34.1832C41.115 34.4121 41.6233 34.5203 42.1342 34.4975C42.6451 34.4747 43.1417 34.3217 43.5768 34.0529C44.012 33.7842 44.3711 33.4087 44.6203 32.962C44.8694 32.5154 45.0002 32.0125 45.0002 31.501V16.4995C45.002 15.9879 44.8722 15.4844 44.6231 15.0375C44.374 14.5906 44.014 14.2153 43.5779 13.9478ZM33.0039 33.001C33.0026 34.1941 32.5281 35.3379 31.6844 36.1815C30.8408 37.0252 29.697 37.4997 28.5039 37.501H10.5039C9.31083 37.4997 8.167 37.0252 7.32336 36.1815C6.47973 35.3379 6.00521 34.1941 6.00391 33.001V15.001C6.00521 13.8079 6.47973 12.6641 7.32336 11.8204C8.167 10.9768 9.31083 10.5023 10.5039 10.501H28.5039C29.697 10.5023 30.8408 10.9768 31.6844 11.8204C32.5281 12.6641 33.0026 13.8079 33.0039 15.001V33.001ZM36.0039 27.6794V20.3222L42.0002 16.5083L42.001 31.4907L36.0039 27.6794Z"}))}function Ct(e){var t=e.size,r=e.className,n=e.style,i=Y(Pe("camera-icon",r),1)[0];return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(i),style:n},u.default.createElement("path",{d:"M21.7866 6.97363C21.5696 6.83826 21.3213 6.76108 21.0658 6.74954C20.8102 6.73799 20.556 6.79247 20.3276 6.90771C20.3048 6.91926 20.2825 6.93197 20.261 6.9458L18 8.38299V7.50024C17.9988 6.50604 17.6034 5.55289 16.9004 4.84988C16.1974 4.14687 15.2442 3.75141 14.25 3.75024H5.25C4.2558 3.75141 3.30265 4.14688 2.59964 4.84989C1.89663 5.55289 1.50117 6.50604 1.5 7.50024V16.5002C1.50117 17.4944 1.89663 18.4476 2.59964 19.1506C3.30265 19.8536 4.2558 20.2491 5.25 20.2502H14.25C15.2442 20.2491 16.1974 19.8536 16.9004 19.1506C17.6034 18.4476 17.9988 17.4944 18 16.5002V15.616L20.261 17.0532C20.2821 17.0671 20.3041 17.0795 20.3269 17.0905C20.5555 17.2051 20.8097 17.2593 21.0651 17.248C21.3206 17.2366 21.569 17.1601 21.7865 17.0257C22.0041 16.8913 22.1837 16.7035 22.3082 16.4801C22.4326 16.2567 22.4979 16.0052 22.4978 15.7495V8.24948C22.4987 7.99366 22.4338 7.74192 22.3092 7.51847C22.1847 7.29502 22.0047 7.10739 21.7866 6.97363ZM16.5 16.5002C16.4993 17.0968 16.2621 17.6687 15.8403 18.0905C15.4185 18.5123 14.8465 18.7496 14.25 18.7502H5.25C4.65346 18.7496 4.08155 18.5123 3.65973 18.0905C3.23792 17.6687 3.00065 17.0968 3 16.5002V7.50024C3.00065 6.90371 3.23791 6.33179 3.65973 5.90997C4.08154 5.48816 4.65346 5.2509 5.25 5.25024H14.25C14.8465 5.2509 15.4185 5.48816 15.8403 5.90997C16.2621 6.33179 16.4993 6.90371 16.5 7.50024V16.5002ZM18 13.8392V10.1598L20.9978 8.25464L20.9993 15.7451L18 13.8392Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M6.75 10.5001C7.57843 10.5001 8.25 9.82849 8.25 9.00006C8.25 8.17163 7.57843 7.50006 6.75 7.50006C5.92157 7.50006 5.25 8.17163 5.25 9.00006C5.25 9.82849 5.92157 10.5001 6.75 10.5001Z"}),u.default.createElement("path",{className:"accent",d:"M6.75 10.5001C7.57843 10.5001 8.25 9.82849 8.25 9.00006C8.25 8.17163 7.57843 7.50006 6.75 7.50006C5.92157 7.50006 5.25 8.17163 5.25 9.00006C5.25 9.82849 5.92157 10.5001 6.75 10.5001Z"}))}function Et(e){var t=e.size,r=e.className,n=e.style,i=Y(Pe("camera-muted-icon",r),1)[0];return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(i),style:n},u.default.createElement("path",{d:"M21.787 6.97387C21.5698 6.8388 21.3215 6.76181 21.0659 6.75027C20.8104 6.73872 20.5562 6.79302 20.3276 6.90795C20.3046 6.91967 20.2822 6.93212 20.2603 6.94603L18 8.38359V7.50048C17.9988 6.50627 17.6034 5.55313 16.9004 4.85012C16.1974 4.14711 15.2442 3.75165 14.25 3.75048H5.25C5.11281 3.75275 4.97587 3.7629 4.83985 3.78087L3.52846 2.46947C3.38783 2.32883 3.19708 2.24982 2.99819 2.24982C2.79929 2.24982 2.60855 2.32882 2.46791 2.46946C2.32727 2.6101 2.24825 2.80085 2.24825 2.99974C2.24825 3.19863 2.32726 3.38938 2.4679 3.53002L20.4683 21.53C20.6089 21.6707 20.7996 21.7497 20.9985 21.7497C21.1974 21.7497 21.3882 21.6707 21.5288 21.53C21.6694 21.3894 21.7485 21.1986 21.7485 20.9997C21.7485 20.8009 21.6694 20.6101 21.5288 20.4695L17.9696 16.9104C17.9876 16.7745 17.9977 16.6376 18 16.5005V15.6169L20.2603 17.0535C20.2819 17.0674 20.3042 17.0799 20.3269 17.0916C20.5556 17.206 20.8097 17.2601 21.0651 17.2488C21.3206 17.2374 21.5689 17.1608 21.7865 17.0265C22.004 16.8921 22.1836 16.7043 22.3082 16.481C22.4327 16.2577 22.4981 16.0062 22.4982 15.7505V8.24976C22.4991 7.99393 22.4341 7.74218 22.3096 7.51872C22.185 7.29527 22.0051 7.10763 21.787 6.97387ZM6.30947 5.25048H14.25C14.8465 5.25113 15.4185 5.48839 15.8403 5.91021C16.2621 6.33202 16.4993 6.90394 16.5 7.50048V15.4407L6.30947 5.25048ZM18 13.8397V10.1611L20.9982 8.25414L20.9985 15.7454L18 13.8397Z"}),u.default.createElement("path",{d:"M14.25 18.7505H5.25C4.65346 18.7498 4.08154 18.5126 3.65973 18.0907C3.23791 17.6689 3.00065 17.097 3 16.5005V7.50048C3.00255 7.13381 3.09586 6.77347 3.27159 6.45165L2.17928 5.35933C1.73774 5.98606 1.50051 6.73384 1.5 7.50048V16.5005C1.50117 17.4947 1.89663 18.4478 2.59964 19.1508C3.30265 19.8538 4.2558 20.2493 5.25 20.2505H14.25C15.0167 20.2499 15.7645 20.0126 16.3912 19.5711L15.299 18.4788C14.9771 18.6546 14.6167 18.7479 14.25 18.7505Z"}))}function _t(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M28.7871 9.72433C28.562 9.58573 28.3044 9.50895 28.0402 9.50176C27.7759 9.49456 27.5145 9.55719 27.2822 9.68333L23.5 12.088V10.0007C23.4987 8.80766 23.0242 7.66382 22.1805 6.82018C21.3369 5.97655 20.1931 5.50203 19 5.50073H7C5.80692 5.50203 4.66308 5.97655 3.81945 6.82018C2.97582 7.66382 2.5013 8.80766 2.5 10.0007V22.0007C2.5013 23.1938 2.97582 24.3376 3.81945 25.1813C4.66308 26.0249 5.80692 26.4994 7 26.5007H19C20.1931 26.4994 21.3369 26.0249 22.1805 25.1813C23.0241 24.3376 23.4987 23.1938 23.5 22.0007V19.9107L27.3271 22.3413C27.5357 22.446 27.7657 22.5008 27.999 22.5013C28.3966 22.5 28.7775 22.3414 29.0584 22.06C29.3394 21.7787 29.4975 21.3976 29.4983 21V11C29.4992 10.7442 29.4343 10.4925 29.3097 10.2691C29.1852 10.0456 29.0052 9.85804 28.7871 9.72433Z"}))}function Tt(e){var t=e.className,r=e.style,n=Y(Pe("camera-issue-icon",t),1)[0];return u.default.createElement("svg",{width:"96",height:"88",viewBox:"0 0 96 88",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(n),style:r},u.default.createElement("path",{d:"M21.8643 54.3002V64.2002M5.86426 51.2002V10.2002C5.86426 5.8002 9.46426 2.2002 13.8643 2.2002H61.8643C66.2643 2.2002 69.8643 5.8002 69.8643 10.2002V21.3002C69.8643 22.1002 70.7643 22.6002 71.4643 22.1002L90.6643 9.3002C91.9643 8.4002 93.7643 9.4002 93.7643 11.0002V57.5002C93.7643 59.1002 91.9643 60.1002 90.6643 59.2002L71.3643 46.3002C70.6643 45.9002 69.7643 46.3002 69.7643 47.1002V58.2002C69.7643 62.6002 66.1643 66.2002 61.7643 66.2002H39.0643C38.3643 66.2002 37.6643 65.8002 37.2643 65.1002L27.0643 45.9002C24.7643 41.7002 18.7643 41.7002 16.5643 45.9002L2.66426 71.4002C0.46426 75.4002 3.36426 80.3002 7.96426 80.3002H36.8643C39.0643 80.3002 40.8643 78.5002 40.8643 76.3002C40.8643 74.1002 39.0643 72.3002 36.8643 72.3002C28.8643 72.3002 21.8643 86.3002 21.8643 86.3002",stroke:"url(#wxc-icon--camera-issue)",strokeWidth:"2.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),u.default.createElement("defs",null,u.default.createElement("linearGradient",{id:"wxc-icon--camera-issue",x1:"47.8392",y1:"2.2002",x2:"47.8392",y2:"86.3002",gradientUnits:"userSpaceOnUse"},u.default.createElement("stop",{stopColor:"var(--wxc-icon--error--gradient-start-color)"}),u.default.createElement("stop",{offset:"1",stopColor:"var(--wxc-icon--error--gradient-stop-color)"}))))}function xt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M13.0596 11.9998L19.2794 5.78001C19.349 5.71038 19.4042 5.6277 19.4419 5.53672C19.4796 5.44573 19.499 5.34822 19.499 5.24974C19.499 5.15126 19.4796 5.05374 19.4419 4.96276C19.4042 4.87177 19.349 4.7891 19.2793 4.71947C19.2097 4.64983 19.127 4.5946 19.036 4.55691C18.945 4.51923 18.8475 4.49983 18.7491 4.49983C18.6506 4.49984 18.5531 4.51924 18.4621 4.55692C18.3711 4.59461 18.2884 4.64985 18.2188 4.71949L11.999 10.9392L5.77929 4.71949C5.70979 4.64921 5.62709 4.59335 5.53594 4.55514C5.44478 4.51692 5.34697 4.49711 5.24813 4.49683C5.14929 4.49655 5.05137 4.51581 4.96 4.55351C4.86863 4.59121 4.78562 4.64659 4.71573 4.71648C4.64584 4.78638 4.59045 4.8694 4.55276 4.96077C4.51507 5.05214 4.49581 5.15006 4.4961 5.2489C4.49638 5.34774 4.5162 5.44555 4.55442 5.5367C4.59264 5.62786 4.6485 5.71055 4.71879 5.78004L10.9385 11.9998L4.71879 18.2195C4.64915 18.2892 4.59391 18.3718 4.55622 18.4628C4.51853 18.5538 4.49914 18.6513 4.49914 18.7498C4.49914 18.8483 4.51853 18.9458 4.55622 19.0368C4.59391 19.1278 4.64915 19.2105 4.71878 19.2801C4.78842 19.3497 4.87109 19.405 4.96207 19.4427C5.05306 19.4803 5.15057 19.4997 5.24906 19.4997C5.34754 19.4997 5.44505 19.4803 5.53604 19.4427C5.62702 19.405 5.70969 19.3497 5.77933 19.2801L11.9991 13.0603L18.2188 19.2801C18.3595 19.4207 18.5502 19.4997 18.7491 19.4997C18.948 19.4997 19.1387 19.4207 19.2794 19.2801C19.42 19.1395 19.499 18.9487 19.499 18.7498C19.499 18.5509 19.42 18.3602 19.2794 18.2195L13.0596 11.9998Z",fillOpacity:"0.95"}))}function St(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M15.9989 3.5C13.7548 3.5003 11.552 4.1047 9.62198 5.24976C7.69191 6.39481 6.10565 8.03831 5.02971 10.0077C3.95376 11.9772 3.4278 14.1999 3.50702 16.4427C3.58624 18.6855 4.26772 20.8656 5.47995 22.7542C5.33614 23.4793 5.0456 24.1674 4.62617 24.7762C4.20675 25.3849 3.66729 25.9015 3.04095 26.2942C2.42715 26.6975 2.41695 27.1965 2.61225 27.5295C2.98135 28.1604 4.35685 28.51 6.02095 28.51C7.73977 28.5206 9.44103 28.164 11.0109 27.4641C12.7145 28.2053 14.5618 28.5575 16.4185 28.4951C18.2752 28.4328 20.0947 27.9573 21.7446 27.1034C23.3945 26.2495 24.8334 25.0386 25.9565 23.5587C27.0797 22.0789 27.8589 20.3673 28.2374 18.5485C28.616 16.7297 28.5844 14.8494 28.145 13.0443C27.7056 11.2393 26.8695 9.55483 25.6973 8.11351C24.5251 6.6722 23.0464 5.51027 21.3688 4.71221C19.6912 3.91415 17.8567 3.50004 15.9989 3.5Z"}))}function Ot(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 14 7",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M0.776062 3.44715L6.77631 6.44715C6.84576 6.48183 6.92232 6.49988 6.99994 6.49988C7.07756 6.49988 7.15412 6.48183 7.22356 6.44715L13.2236 3.44715C13.3422 3.38784 13.4324 3.28384 13.4743 3.15802C13.4951 3.09572 13.5034 3.02994 13.4987 2.96444C13.4941 2.89894 13.4766 2.83499 13.4472 2.77625C13.4178 2.71752 13.3772 2.66514 13.3276 2.62211C13.278 2.57908 13.2204 2.54625 13.1581 2.52548C13.0323 2.48354 12.8949 2.49329 12.7763 2.5526L6.99991 5.4408L1.22331 2.5526C1.10469 2.4933 0.967361 2.48354 0.841543 2.52548C0.779244 2.54625 0.721645 2.57908 0.672036 2.62211C0.622427 2.66514 0.581778 2.71752 0.552412 2.77625C0.523045 2.83499 0.505535 2.89894 0.500881 2.96444C0.496227 3.02995 0.504521 3.09572 0.525289 3.15802C0.546057 3.22032 0.578891 3.27792 0.621919 3.32753C0.664947 3.37714 0.717325 3.41779 0.776062 3.44715Z"}))}function wt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 14 7",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M0.552614 4.2235C0.581975 4.28225 0.62262 4.33463 0.672228 4.37766C0.721836 4.42069 0.779435 4.45353 0.841736 4.4743C0.904037 4.49507 0.969819 4.50336 1.03533 4.4987C1.10083 4.49405 1.16478 4.47653 1.22351 4.44715L6.99996 1.55895L12.7762 4.44715C12.8948 4.50647 13.0322 4.51623 13.158 4.47429C13.2838 4.43235 13.3878 4.34215 13.4471 4.22353C13.5065 4.1049 13.5162 3.96757 13.4743 3.84175C13.4323 3.71593 13.3421 3.61192 13.2235 3.5526L7.22351 0.552603C7.15406 0.517913 7.07749 0.499854 6.99986 0.499854C6.92223 0.499854 6.84566 0.517913 6.77621 0.552603L0.776214 3.5526C0.717475 3.58197 0.665097 3.62262 0.622069 3.67223C0.579042 3.72184 0.546209 3.77944 0.525445 3.84174C0.504681 3.90404 0.496394 3.96982 0.501056 4.03532C0.505717 4.10083 0.523237 4.16477 0.552614 4.2235Z"}))}function At(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 29.5C23.4558 29.5 29.5 23.4558 29.5 16C29.5 8.54416 23.4558 2.5 16 2.5C8.54416 2.5 2.5 8.54416 2.5 16C2.5 23.4558 8.54416 29.5 16 29.5ZM10 15C9.44772 15 9 15.4477 9 16C9 16.5523 9.44772 17 10 17H22C22.5523 17 23 16.5523 23 16C23 15.4477 22.5523 15 22 15H10Z"}))}function Nt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M13.9063 14.0264V14.8436C13.9063 14.9679 13.9556 15.0872 14.0436 15.1751C14.1315 15.263 14.2507 15.3124 14.375 15.3124C14.4993 15.3124 14.6186 15.263 14.7065 15.1751C14.7944 15.0872 14.8438 14.9679 14.8438 14.8436V14.0264C14.8438 13.902 14.7944 13.7828 14.7065 13.6949C14.6186 13.607 14.4993 13.5576 14.375 13.5576C14.2507 13.5576 14.1315 13.607 14.0436 13.6949C13.9556 13.7828 13.9063 13.902 13.9063 14.0264Z"}),u.default.createElement("path",{d:"M14.3749 16.8751C14.6338 16.8751 14.8437 16.6652 14.8437 16.4063C14.8437 16.1474 14.6338 15.9376 14.3749 15.9376C14.116 15.9376 13.9062 16.1474 13.9062 16.4063C13.9062 16.6652 14.116 16.8751 14.3749 16.8751Z"}),u.default.createElement("path",{d:"M18.5864 16.8822L15.47 11.2559L15.4627 11.2437C15.352 11.0541 15.1934 10.897 15.0028 10.7881C14.8122 10.6792 14.5962 10.6225 14.3767 10.6236C14.1572 10.6247 13.9418 10.6837 13.7523 10.7944C13.5628 10.9052 13.4058 11.064 13.2971 11.2547L10.1703 16.87C10.0596 17.06 10.001 17.2758 10.0004 17.4957C9.99972 17.7156 10.0571 17.9318 10.1666 18.1224C10.2762 18.3131 10.4341 18.4715 10.6244 18.5816C10.8147 18.6918 11.0307 18.7498 11.2506 18.7498H17.4994C17.7181 18.7498 17.933 18.6924 18.1225 18.5834C18.3121 18.4744 18.4698 18.3175 18.5798 18.1285C18.6898 17.9395 18.7483 17.7249 18.7495 17.5062C18.7507 17.2875 18.6944 17.0724 18.5864 16.8822ZM11.2567 17.4889L14.3817 11.8712L17.4994 17.4999L11.2567 17.4889Z"}),u.default.createElement("path",{d:"M12.1521 8.89943C11.85 8.75608 11.539 8.63255 11.2209 8.52964C11.8951 8.01306 12.3905 7.29813 12.6373 6.4854C12.8842 5.67266 12.8701 4.803 12.597 3.9987C12.3239 3.1944 11.8056 2.49591 11.115 2.00147C10.4243 1.50702 9.59608 1.24148 8.74668 1.24219C7.89729 1.2429 7.06948 1.50982 6.37966 2.00542C5.68984 2.50102 5.17271 3.20036 4.90099 4.00512C4.62926 4.80988 4.6166 5.67956 4.8648 6.49188C5.113 7.3042 5.60957 8.0183 6.28468 8.53376C3.38856 9.50126 1.25 12.0943 1.25 15.0573C1.25 17.6024 4.94688 18.6382 8.11218 18.7511C8.12012 18.7517 8.12745 18.7517 8.13538 18.7517C8.29903 18.7515 8.45604 18.687 8.57267 18.5722C8.68931 18.4574 8.75626 18.3015 8.75914 18.1378C8.76201 17.9742 8.70059 17.816 8.58806 17.6972C8.47554 17.5783 8.32089 17.5084 8.15735 17.5024C4.87915 17.3846 2.5 16.3567 2.5 15.0573C2.5 11.9769 5.36194 9.37493 8.75 9.37493C9.73994 9.37189 10.7176 9.59417 11.6089 10.0249C11.6828 10.0608 11.7631 10.0818 11.8452 10.0867C11.9272 10.0915 12.0094 10.0801 12.0871 10.0531C12.1647 10.0262 12.2363 9.98413 12.2976 9.92945C12.359 9.87477 12.409 9.80852 12.4447 9.7345C12.4804 9.66048 12.5012 9.58013 12.5058 9.49806C12.5105 9.416 12.4989 9.33383 12.4717 9.25626C12.4445 9.17869 12.4023 9.10724 12.3474 9.04601C12.2926 8.98478 12.2262 8.93497 12.1521 8.89943ZM5.93751 5.31237C5.93751 4.75611 6.10246 4.21234 6.4115 3.74982C6.72054 3.28731 7.15979 2.92683 7.67371 2.71395C8.18763 2.50108 8.75313 2.44539 9.2987 2.55391C9.84427 2.66243 10.3454 2.93029 10.7387 3.32363C11.1321 3.71696 11.3999 4.2181 11.5085 4.76367C11.617 5.30925 11.5613 5.87475 11.3484 6.38866C11.1355 6.90258 10.7751 7.34183 10.3125 7.65087C9.85004 7.95992 9.30627 8.12487 8.75001 8.12487C8.00434 8.12405 7.28944 7.82747 6.76217 7.3002C6.2349 6.77293 5.93832 6.05804 5.93751 5.31237Z"}))}function Pt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M6.99995 9.99994C4.5268 9.99994 2.3725 7.81782 1.65229 6.99994C2.15704 6.42834 2.71634 5.90733 3.32224 5.44431L2.60636 4.72843C1.86421 5.30392 1.19185 5.96417 0.602972 6.69575C0.536227 6.78311 0.500068 6.89 0.500068 6.99995C0.500068 7.10989 0.536227 7.21678 0.602972 7.30414C0.718697 7.45502 3.47407 10.9999 6.99997 10.9999C7.55129 10.995 8.09898 10.9102 8.62592 10.7479L7.80012 9.92219C7.53627 9.9721 7.26847 9.99812 6.99995 9.99994Z"}),u.default.createElement("path",{d:"M13.3535 12.6464L10.5634 9.85639C11.6385 9.16289 12.5952 8.30116 13.3969 7.30414C13.4637 7.21678 13.4998 7.10989 13.4998 6.99995C13.4998 6.89 13.4637 6.78311 13.3969 6.69575C13.2812 6.54487 10.5249 2.99994 6.99995 2.99994C6.08 3.0149 5.17496 3.23482 4.35072 3.64369L1.35346 0.64643C1.30704 0.600006 1.25192 0.56318 1.19127 0.538056C1.13061 0.512931 1.0656 0.5 0.999946 0.5C0.934292 0.5 0.869281 0.512932 0.808624 0.538057C0.747968 0.563182 0.692854 0.600008 0.64643 0.646433C0.552672 0.740191 0.5 0.867355 0.5 0.999949C0.5 1.13254 0.552674 1.25971 0.646432 1.35347L3.43632 4.14335L3.43571 4.14371L4.16773 4.87571L4.16834 4.87535L8.89176 9.59877L8.89109 9.59907L9.64836 10.3564L9.64904 10.3561L12.6464 13.3535C12.6928 13.3999 12.748 13.4367 12.8086 13.4618C12.8693 13.487 12.9343 13.4999 12.9999 13.4999C13.0656 13.4999 13.1306 13.487 13.1913 13.4618C13.2519 13.4367 13.307 13.3999 13.3534 13.3535C13.3999 13.307 13.4367 13.2519 13.4618 13.1913C13.4869 13.1306 13.4999 13.0656 13.4999 12.9999C13.4999 12.9343 13.4869 12.8693 13.4618 12.8086C13.4367 12.748 13.3999 12.6929 13.3535 12.6464ZM5.1092 4.40219C5.70715 4.14599 6.34949 4.00935 6.99995 3.99996C9.47358 3.99996 11.6279 6.18307 12.3481 7.00046C11.6206 7.83062 10.7728 8.5471 9.83305 9.12604L5.1092 4.40219Z"}))}function It(e){var t=e.className,r=e.size,n=e.style,i=Y(Pe("line-icon",t),1)[0];return u.default.createElement("svg",{width:r,height:r,viewBox:"0 0 9 1",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(i),style:n},u.default.createElement("rect",{x:"0.5",width:"8",height:"1",rx:"0.5",fillOpacity:"0.95"}))}function Rt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M4.5 13.75V24.75C4.50132 25.9431 4.97585 27.0869 5.81948 27.9305C6.66311 28.7741 7.80693 29.2487 9 29.25H23C24.1931 29.2487 25.3369 28.7742 26.1805 27.9305C27.0242 27.0869 27.4987 25.9431 27.5 24.75V13.75H4.5Z"}),u.default.createElement("path",{d:"M23 6.25V3.75C23 3.48478 22.8946 3.23043 22.7071 3.04289C22.5196 2.85536 22.2652 2.75 22 2.75C21.7348 2.75 21.4804 2.85536 21.2929 3.04289C21.1054 3.23043 21 3.48478 21 3.75V6.25H11V3.75C11 3.48478 10.8946 3.23043 10.7071 3.04289C10.5196 2.85536 10.2652 2.75 10 2.75C9.73478 2.75 9.48043 2.85536 9.29289 3.04289C9.10536 3.23043 9 3.48478 9 3.75V6.25C7.80692 6.2513 6.66308 6.72582 5.81945 7.56945C4.97582 8.41308 4.5013 9.55692 4.5 10.75V11.75H27.5V10.75C27.4987 9.55692 27.0242 8.41308 26.1805 7.56945C25.3369 6.72582 24.1931 6.2513 23 6.25Z"}))}function Lt(e){var t=e.size,r=e.className,n=e.style,i=e.ariaLabel,o=Y(Pe("microphone-bold-icon",r),1)[0];return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(o),style:n,"aria-label":i},u.default.createElement("path",{d:"M36.0039 41.9996H33.0354C31.2654 42.0434 29.5395 41.4436 28.178 40.3117C26.8165 39.1797 25.9119 37.5923 25.6318 35.844C27.699 35.4611 29.5672 34.3674 30.9128 32.7522C32.2585 31.1369 32.9969 29.102 33.0002 26.9996V11.9996C33.0002 9.61269 32.052 7.3235 30.3642 5.63567C28.6764 3.94785 26.3872 2.99963 24.0002 2.99963C21.6133 2.99963 19.3241 3.94785 17.6363 5.63567C15.9485 7.3235 15.0002 9.61269 15.0002 11.9996V26.9996C15.0039 29.1419 15.7712 31.2126 17.1642 32.8401C18.5572 34.4676 20.4847 35.5452 22.6007 35.8795C22.8833 38.1993 23.9408 40.3558 25.6018 41.9996H12.0039C11.6061 41.9996 11.2246 42.1577 10.9432 42.439C10.6619 42.7203 10.5039 43.1018 10.5039 43.4996C10.5039 43.8975 10.6619 44.279 10.9432 44.5603C11.2246 44.8416 11.6061 44.9996 12.0039 44.9996H36.0039C36.4017 44.9996 36.7833 44.8416 37.0646 44.5603C37.3459 44.279 37.5039 43.8975 37.5039 43.4996C37.5039 43.1018 37.3459 42.7203 37.0646 42.439C36.7833 42.1577 36.4017 41.9996 36.0039 41.9996ZM18.0002 26.9996V11.9996C18.0002 10.4083 18.6324 8.88217 19.7576 7.75695C20.8828 6.63173 22.4089 5.99959 24.0002 5.99959C25.5915 5.99959 27.1177 6.63173 28.2429 7.75695C29.3681 8.88217 30.0002 10.4083 30.0002 11.9996V26.9996C30.0002 28.5909 29.3681 30.117 28.2429 31.2422C27.1177 32.3674 25.5915 32.9996 24.0002 32.9996C22.4089 32.9996 20.8828 32.3674 19.7576 31.2422C18.6324 30.117 18.0002 28.5909 18.0002 26.9996Z"}))}function kt(e){var t=e.className,r=e.style,n=Y(Pe("microphone-issue-icon",t),1)[0];return u.default.createElement("svg",{width:"62",height:"91",viewBox:"0 0 62 91",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(n),style:r},u.default.createElement("path",{d:"M25.8672 65.2V69.2001C25.8672 80.2001 34.8672 89.2001 45.8672 89.2001M25.8672 65.2C32.4336 65.2 38.1092 61.1912 40.5672 55.5M25.8672 65.2C13.0672 65.2 9.86719 55.5 9.86719 49.3V17.3C9.86719 8.50005 17.0672 1.30005 25.8672 1.30005C34.2297 1.30005 41.1473 7.80188 41.8145 16M49.8672 89.2001H1.86719M40.9514 28.55V38.45M56.3514 39.35L46.1514 20.15C43.8514 15.95 37.8514 15.95 35.6514 20.15L21.7514 45.6501C19.5514 49.65 22.4514 54.5501 27.0514 54.5501H40.7456M40.7456 54.5501H55.9514C58.1514 54.5501 59.9514 52.7501 59.9514 50.5501C59.9514 48.3501 58.1514 46.5501 55.9514 46.5501C46.1033 46.5501 41.7664 52.8008 40.7456 54.5501ZM40.7456 54.5501C40.5795 54.8346 40.5012 55 40.5012 55",stroke:"url(#wxc-icon--microphone-issue)",strokeWidth:"2.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),u.default.createElement("defs",null,u.default.createElement("linearGradient",{id:"wxc-icon--microphone-issue",x1:"30.9093",y1:"1.30005",x2:"30.9093",y2:"89.2001",gradientUnits:"userSpaceOnUse"},u.default.createElement("stop",{stopColor:"var(--wxc-icon--error--gradient-start-color)"}),u.default.createElement("stop",{offset:"1",stopColor:"var(--wxc-icon--error--gradient-stop-color)"}))))}function Mt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 14 4",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M7 3.125C7.62132 3.125 8.125 2.62132 8.125 2C8.125 1.37868 7.62132 0.875 7 0.875C6.37868 0.875 5.875 1.37868 5.875 2C5.875 2.62132 6.37868 3.125 7 3.125Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M1.375 3.125C1.99632 3.125 2.5 2.62132 2.5 2C2.5 1.37868 1.99632 0.875 1.375 0.875C0.75368 0.875 0.25 1.37868 0.25 2C0.25 2.62132 0.75368 3.125 1.375 3.125Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M12.625 3.125C13.2463 3.125 13.75 2.62132 13.75 2C13.75 1.37868 13.2463 0.875 12.625 0.875C12.0037 0.875 11.5 1.37868 11.5 2C11.5 2.62132 12.0037 3.125 12.625 3.125Z",fillOpacity:"0.95"}))}function Dt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 4 14",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M2 8.125C2.62132 8.125 3.125 7.62132 3.125 7C3.125 6.37868 2.62132 5.875 2 5.875C1.37868 5.875 0.875 6.37868 0.875 7C0.875 7.62132 1.37868 8.125 2 8.125Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M2 13.75C2.62132 13.75 3.125 13.2463 3.125 12.625C3.125 12.0037 2.62132 11.5 2 11.5C1.37868 11.5 0.875 12.0037 0.875 12.625C0.875 13.2463 1.37868 13.75 2 13.75Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M2 2.5C2.62132 2.5 3.125 1.99632 3.125 1.375C3.125 0.75368 2.62132 0.25 2 0.25C1.37868 0.25 0.875 0.75368 0.875 1.375C0.875 1.99632 1.37868 2.5 2 2.5Z",fillOpacity:"0.95"}))}function Ut(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M13.5 15.7502C13.5 15.8487 13.5194 15.9462 13.557 16.0372C13.5947 16.1282 13.65 16.2109 13.7196 16.2806C13.7893 16.3502 13.872 16.4054 13.963 16.4431C14.054 16.4808 14.1515 16.5002 14.25 16.5002H21.75C21.9489 16.5002 22.1397 16.4211 22.2803 16.2805C22.421 16.1398 22.5 15.9491 22.5 15.7502C22.5 15.5513 22.421 15.3605 22.2803 15.2198C22.1397 15.0792 21.9489 15.0002 21.75 15.0002H14.25C14.1515 15.0001 14.054 15.0195 13.963 15.0572C13.872 15.0949 13.7893 15.1501 13.7196 15.2198C13.65 15.2894 13.5947 15.3721 13.557 15.4631C13.5194 15.5541 13.5 15.6517 13.5 15.7502Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M21.75 18.0002H14.25C14.0511 18.0002 13.8603 18.0792 13.7197 18.2198C13.579 18.3605 13.5 18.5513 13.5 18.7502C13.5 18.9491 13.579 19.1398 13.7197 19.2805C13.8603 19.4211 14.0511 19.5002 14.25 19.5002H21.75C21.9489 19.5002 22.1397 19.4211 22.2803 19.2805C22.421 19.1398 22.5 18.9491 22.5 18.7502C22.5 18.5513 22.421 18.3605 22.2803 18.2198C22.1397 18.0792 21.9489 18.0002 21.75 18.0002Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M21.75 21.0002H14.25C14.0511 21.0002 13.8603 21.0792 13.7197 21.2198C13.579 21.3605 13.5 21.5513 13.5 21.7502C13.5 21.9491 13.579 22.1398 13.7197 22.2805C13.8603 22.4211 14.0511 22.5002 14.25 22.5002H21.75C21.9489 22.5002 22.1397 22.4211 22.2803 22.2805C22.421 22.1398 22.5 21.9491 22.5 21.7502C22.5 21.5513 22.421 21.3605 22.2803 21.2198C22.1397 21.0792 21.9489 21.0002 21.75 21.0002Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M11.2215 20.9819C7.8644 21.102 4.78237 20.3864 3.54933 19.1977C3.38278 19.0559 3.24783 18.8808 3.15321 18.6836C3.05859 18.4864 3.0064 18.2715 3.00002 18.0529C3.00002 14.3651 6.43471 11.2502 10.5 11.2502C12.2316 11.2486 13.9158 11.816 15.2933 12.8652C15.3714 12.9253 15.4606 12.9694 15.5558 12.995C15.6509 13.0207 15.7502 13.0273 15.8479 13.0146C15.9457 13.0018 16.0399 12.9699 16.1253 12.9207C16.2107 12.8715 16.2856 12.806 16.3456 12.7278C16.4057 12.6497 16.4497 12.5605 16.4753 12.4653C16.5008 12.3701 16.5074 12.2708 16.4945 12.1731C16.4817 12.0754 16.4497 11.9812 16.4005 11.8958C16.3512 11.8105 16.2856 11.7357 16.2074 11.6757C15.3811 11.0438 14.4545 10.5554 13.4662 10.2309C14.274 9.60983 14.8669 8.75123 15.1616 7.77579C15.4562 6.80034 15.4378 5.75709 15.109 4.79263C14.7801 3.82818 14.1573 2.99101 13.3281 2.39878C12.4989 1.80655 11.505 1.48904 10.486 1.49085C9.46701 1.49267 8.47422 1.81373 7.64713 2.40891C6.82004 3.00409 6.20023 3.84348 5.87481 4.8091C5.5494 5.77472 5.53473 6.81804 5.83288 7.79243C6.13102 8.76681 6.72699 9.62329 7.53702 10.2415C4.06398 11.4015 1.5 14.5058 1.5 18.0529C1.50654 18.473 1.59942 18.8872 1.77286 19.2699C1.9463 19.6525 2.19659 19.9954 2.50818 20.2773C4.21143 21.9194 7.62121 22.4943 10.504 22.4943C10.7659 22.4943 11.024 22.4899 11.2756 22.4804C11.3741 22.4769 11.4709 22.454 11.5604 22.4131C11.65 22.3722 11.7307 22.3141 11.7978 22.242C11.8649 22.1698 11.9171 22.0852 11.9515 21.9929C11.9859 21.9006 12.0018 21.8025 11.9982 21.704C11.9959 21.6052 11.9739 21.5078 11.9334 21.4176C11.8928 21.3275 11.8347 21.2463 11.7622 21.179C11.6898 21.1117 11.6047 21.0595 11.5118 21.0257C11.4189 20.9918 11.3202 20.9769 11.2215 20.9819ZM10.4945 3.00017C11.162 3.00017 11.8145 3.19811 12.3696 3.56896C12.9246 3.93981 13.3572 4.46691 13.6126 5.08361C13.8681 5.70031 13.9349 6.37891 13.8047 7.0336C13.6744 7.68828 13.353 8.28965 12.881 8.76165C12.409 9.23365 11.8076 9.55509 11.1529 9.68532C10.4983 9.81554 9.81965 9.74871 9.20295 9.49326C8.58625 9.23781 8.05915 8.80523 7.6883 8.25022C7.31745 7.6952 7.11951 7.04268 7.11951 6.37517C7.12049 5.48036 7.47638 4.62248 8.1091 3.98976C8.74183 3.35704 9.5997 3.00114 10.4945 3.00017Z",fillOpacity:"0.95"}))}function jt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 27 28",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M5.39636 5.51583C5.39628 4.42495 5.72487 3.35855 6.34057 2.45148C6.95628 1.54441 7.83146 0.83742 8.85542 0.419919C9.87937 0.00241855 11.0061 -0.106841 12.0932 0.105959C13.1802 0.318758 14.1787 0.84406 14.9625 1.61543C15.7462 2.3868 16.2799 3.36959 16.4961 4.43951C16.7123 5.50944 16.6013 6.61844 16.1771 7.62626C15.7529 8.63409 15.0346 9.49547 14.113 10.1015C13.1914 10.7075 12.108 11.0309 10.9996 11.0308C9.51406 11.0291 8.08984 10.4475 7.0394 9.41363C5.98896 8.37973 5.39807 6.97799 5.39636 5.51583Z"}),u.default.createElement("path",{d:"M15.0761 19.3827C15.0258 19.2614 15 19.1313 15 19C15 18.8687 15.0258 18.7386 15.0761 18.6173C15.1263 18.4959 15.2 18.3857 15.2928 18.2928C15.3857 18.2 15.4959 18.1263 15.6173 18.0761C15.7386 18.0258 15.8687 18 16 18H26C26.2652 18 26.5196 18.1054 26.7071 18.2929C26.8946 18.4804 27 18.7348 27 19C27 19.2652 26.8946 19.5196 26.7071 19.7071C26.5196 19.8946 26.2652 20 26 20H16C15.8687 20 15.7386 19.9742 15.6173 19.924C15.4959 19.8737 15.3857 19.8 15.2928 19.7072C15.2 19.6143 15.1263 19.5041 15.0761 19.3827Z"}),u.default.createElement("path",{d:"M16 22H26C26.2652 22 26.5196 22.1054 26.7071 22.2929C26.8946 22.4804 27 22.7348 27 23C27 23.2652 26.8946 23.5196 26.7071 23.7071C26.5196 23.8946 26.2652 24 26 24H16C15.7348 24 15.4804 23.8946 15.2929 23.7071C15.1054 23.5196 15 23.2652 15 23C15 22.7348 15.1054 22.4804 15.2929 22.2929C15.4804 22.1054 15.7348 22 16 22Z"}),u.default.createElement("path",{d:"M26 26H16C15.7348 26 15.4804 26.1054 15.2929 26.2929C15.1054 26.4804 15 26.7348 15 27C15 27.2652 15.1054 27.5196 15.2929 27.7071C15.4804 27.8946 15.7348 28 16 28H26C26.2652 28 26.5196 27.8946 26.7071 27.7071C26.8946 27.5196 27 27.2652 27 27C27 26.7348 26.8946 26.4804 26.7071 26.2929C26.5196 26.1054 26.2652 26 26 26Z"}),u.default.createElement("path",{d:"M12.0004 27C4.8215 27 0 25.1454 0 23.4115C0 17.671 5.38317 13 11.9996 13C15.2767 13 18.2514 14.1459 20.4194 16H16.4286C14.535 16 13 17.4845 13 19.3158C13 19.9974 13.2127 20.631 13.5774 21.1579C13.2127 21.6848 13 22.3184 13 23C13 23.6816 13.2127 24.3152 13.5774 24.8421C13.2127 25.369 13 26.0026 13 26.6842C13 26.7864 13.0048 26.8876 13.0142 26.9875C12.6818 26.9958 12.3438 27 12.0004 27Z"}))}function Ft(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M28.9659 6.89408C28.4825 6.14577 27.7229 5.61887 26.8527 5.42827C25.9825 5.23767 25.0722 5.39882 24.3204 5.87658L17.8424 10.0135L11.4942 5.90098C11.0818 5.66915 10.6006 5.59112 10.1361 5.68076C9.67159 5.77041 9.25397 6.02193 8.95751 6.39057C8.66104 6.7592 8.50497 7.22106 8.51704 7.69396C8.52912 8.16687 8.70856 8.62016 9.02345 8.97318L12.4289 13.4705L9.52835 15.3227C8.39717 14.4846 7.10631 13.887 5.73535 13.5669C4.94483 13.4124 4.1251 13.5483 3.42675 13.9497C2.44435 14.5806 2.37885 15.2797 2.62495 15.6929L5.38675 20.1929L6.52135 22.1451C6.69097 22.4363 6.91768 22.6903 7.18787 22.8917C7.45807 23.0931 7.76618 23.2379 8.09371 23.3172C8.42124 23.3966 8.76143 23.409 9.09387 23.3537C9.4263 23.2983 9.74413 23.1763 10.0283 22.9951L16.5673 18.8184L17.0283 24.9619C17.0959 25.4311 17.332 25.8596 17.6924 26.1675C18.0529 26.4753 18.5132 26.6415 18.9872 26.6348H19.0019C19.4756 26.644 19.9366 26.4808 20.2991 26.1756C20.6616 25.8704 20.9009 25.444 20.9726 24.9756L22.4626 15.0556L27.9441 11.5556C28.3177 11.3171 28.6406 11.0071 28.8942 10.6436C29.1479 10.28 29.3273 9.87 29.4222 9.43699C29.5171 9.00397 29.5256 8.55649 29.4472 8.12018C29.3689 7.68387 29.2055 7.26702 28.9659 6.89408Z"}))}function Bt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M29.2414 21.8688C29.0733 21.6091 28.8269 21.4095 28.5379 21.2989C28.2489 21.1883 27.9322 21.1725 27.6335 21.2536C25.6693 21.7741 23.6177 21.8763 21.6115 21.5536C18.8294 21.0615 16.2658 19.726 14.268 17.7282C12.2702 15.7303 10.9348 13.1667 10.4426 10.3845C10.1229 8.37678 10.2287 6.32425 10.7531 4.36002C10.8332 4.06235 10.8167 3.74696 10.7062 3.45921C10.5957 3.17145 10.3968 2.92614 10.1381 2.75852C9.87432 2.57925 9.5604 2.48834 9.2416 2.49887C8.9228 2.5094 8.61557 2.62083 8.36415 2.81712C6.17827 4.51982 4.49968 6.78789 3.51 9.37589C2.52032 11.9639 2.25724 14.7733 2.74925 17.5C3.33601 20.5329 4.85556 23.3068 7.09559 25.434C9.33561 27.5612 12.1842 28.9355 15.2433 29.3649C17.8666 29.7183 20.5366 29.3739 22.9843 28.3665C25.432 27.3591 27.5708 25.7242 29.1852 23.6266C29.3793 23.3772 29.4893 23.0727 29.4994 22.7569C29.5095 22.441 29.4192 22.1301 29.2414 21.8688Z"}))}function zt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M16 2.5C13.33 2.5 10.7199 3.29176 8.49981 4.77516C6.27974 6.25856 4.54942 8.36697 3.52763 10.8338C2.50585 13.3006 2.2385 16.015 2.7594 18.6337C3.28031 21.2525 4.56606 23.6579 6.45406 25.5459C8.34207 27.434 10.7475 28.7197 13.3663 29.2406C15.985 29.7615 18.6994 29.4942 21.1662 28.4724C23.633 27.4506 25.7414 25.7203 27.2248 23.5002C28.7082 21.2801 29.5 18.67 29.5 16C29.496 12.4208 28.0724 8.98935 25.5415 6.45847C23.0107 3.9276 19.5792 2.504 16 2.5ZM21.707 21.707C21.6142 21.7999 21.504 21.8736 21.3827 21.9238C21.2613 21.9741 21.1313 22 21 22C20.8687 22 20.7387 21.9741 20.6174 21.9238C20.496 21.8736 20.3858 21.7999 20.293 21.707L15.293 16.707C15.2001 16.6142 15.1264 16.504 15.0761 16.3827C15.0259 16.2613 15 16.1313 15 16V8C15 7.73478 15.1054 7.48043 15.2929 7.29289C15.4804 7.10536 15.7348 7 16 7C16.2652 7 16.5196 7.10536 16.7071 7.29289C16.8946 7.48043 17 7.73478 17 8V15.586L21.707 20.293C21.7999 20.3858 21.8735 20.496 21.9238 20.6173C21.974 20.7386 21.9999 20.8686 21.9999 20.9998C21.9999 21.1311 21.974 21.2611 21.9238 21.3824C21.8735 21.5037 21.7999 21.6139 21.707 21.7067V21.707Z"}))}function Ht(e){var t=e.size,r=e.className,n=(e.style||{}).fill;return u.default.createElement("svg",{width:t||24,height:t||24,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wxc-icon ".concat(r),style:{fill:n}},u.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),u.default.createElement("path",{d:"M17.65 6.35A7.95 7.95 0 0 0 12 4a8 8 0 1 0 7.9 9.9h-2.1a6 6 0 1 1-1.45-6.45L13 11h7V4l-2.35 2.35z"}))}function qt(e){var t=e.className,r=e.style;return u.default.createElement("svg",{width:"83",height:"73",viewBox:"0 0 83 73",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(t),style:r},u.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5484 7.89762e-05L41.5574 0C54.5206 3.83854e-05 65.2033 9.6817 66.6228 22.1714C67.3189 22.0675 68.0527 22 68.7943 22C76.7226 22 83.134 28.461 82.9167 36.3772L82.9167 36.3782C82.6989 44.0427 76.2265 50 68.5421 50H51.3929C50.4139 50 49.4654 50.4876 48.8975 51.3134L45.6396 56.05H48.3666C50.1613 56.05 51.0857 58.1689 49.7861 59.4571L37.3277 71.8071C36.7385 72.3913 35.9234 72.3488 35.3923 71.9858C34.8618 71.6231 34.5279 70.8745 34.8957 70.1218L38.595 62.1H33.4872C31.9311 62.1 30.8535 60.351 31.7942 58.9897L38.8008 48.5463C39.1093 48.0864 39.7355 47.9615 40.1994 48.2674C40.6633 48.5732 40.7892 49.194 40.4807 49.6538L33.4756 60.095C33.4778 60.0974 33.4798 60.0989 33.4808 60.0995C33.4809 60.0996 33.4809 60.0996 33.481 60.0996C33.4818 60.0998 33.4837 60.1 33.4872 60.1H39.3886C39.9668 60.1 40.415 60.4257 40.6557 60.8007C40.8913 61.1677 41.0066 61.7085 40.7546 62.2274L37.9052 68.4063L48.3523 58.05H44.6846C43.4774 58.05 42.7292 56.7004 43.4524 55.6798L47.2305 50.1867C48.1757 48.8125 49.7492 48 51.3929 48H68.5421C75.1818 48 80.7137 42.8579 80.8999 36.3228C81.0861 29.5391 75.594 24 68.7943 24C68.0837 24 67.3632 24.0742 66.6681 24.1892C66.5509 28.3427 65.1641 31.3938 63.4167 33.2196C62.5011 34.1762 61.4556 34.8256 60.4164 35.0693C59.3663 35.3155 58.2581 35.1495 57.4475 34.366L57.4383 34.3572L57.4384 34.3571C55.6397 32.5741 56.2271 29.9533 57.6972 27.8705C59.1141 25.8629 61.5552 23.9616 64.6598 22.7943C63.5386 11.1151 53.6238 2.0023 41.5619 2.00004C30.6822 2.09791 21.5933 9.47916 19.0309 19.4958C18.9089 19.9724 18.4556 20.2904 17.9617 20.2459C17.4075 20.196 16.8427 20.15 16.2877 20.15C8.37609 20.15 1.92926 26.6407 2.16443 34.5205L2.16458 34.5255C2.35219 42.1044 8.88706 48.15 16.5903 48.15H21.3315C21.8887 48.15 22.3403 48.5978 22.3403 49.15C22.3403 49.7023 21.8887 50.15 21.3315 50.15H16.5903C7.85141 50.15 0.364967 43.297 0.147695 34.5771C-0.12007 25.558 7.25274 18.15 16.2877 18.15C16.6315 18.15 16.9725 18.1649 17.2993 18.1863C20.3583 7.72281 30.0308 0.101567 41.5484 7.89762e-05ZM64.6074 24.9762C62.216 26.0218 60.3986 27.5318 59.3502 29.0171C58.0617 30.8427 58.1414 32.2198 58.8601 32.9381C59.059 33.1274 59.3999 33.2524 59.952 33.123C60.519 32.9901 61.2357 32.5926 61.9531 31.843C63.1979 30.5423 64.3541 28.266 64.6074 24.9762Z",fill:"url(#paint0_linear)"}),u.default.createElement("defs",null,u.default.createElement("linearGradient",{id:"paint0_linear",x1:"41.5313",y1:"0",x2:"41.5313",y2:"72.2535",gradientUnits:"userSpaceOnUse"},u.default.createElement("stop",{stopColor:"var(--wxc-icon--error--gradient-start-color)"}),u.default.createElement("stop",{offset:"1",stopColor:"var(--wxc-icon--error--gradient-stop-color)"}))))}function Vt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M12 7.50027C11.11 7.50027 10.24 7.76419 9.49993 8.25866C8.75991 8.75313 8.18314 9.45593 7.84254 10.2782C7.50195 11.1005 7.41283 12.0053 7.58647 12.8782C7.7601 13.7511 8.18868 14.5529 8.81802 15.1823C9.44736 15.8116 10.2492 16.2402 11.1221 16.4138C11.995 16.5874 12.8998 16.4983 13.7221 16.1577C14.5443 15.8171 15.2471 15.2404 15.7416 14.5003C16.2361 13.7603 16.5 12.8903 16.5 12.0003C16.4987 10.8072 16.0242 9.66336 15.1805 8.81973C14.3369 7.9761 13.1931 7.50158 12 7.50027ZM12 15.0003C11.4067 15.0003 10.8266 14.8243 10.3333 14.4947C9.83994 14.165 9.45542 13.6965 9.22836 13.1483C9.0013 12.6001 8.94189 11.9969 9.05764 11.415C9.1734 10.8331 9.45912 10.2985 9.87868 9.87895C10.2982 9.4594 10.8328 9.17367 11.4147 9.05792C11.9967 8.94216 12.5999 9.00157 13.1481 9.22863C13.6962 9.4557 14.1648 9.84022 14.4944 10.3336C14.8241 10.8269 15 11.4069 15 12.0003C14.9992 12.7957 14.6829 13.5583 14.1205 14.1207C13.558 14.6832 12.7954 14.9995 12 15.0003Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M21 9.75027H19.2539L18.7537 8.52567L19.9995 7.30252C20.1402 7.16462 20.2523 7.00036 20.3294 6.81912C20.4066 6.63788 20.4473 6.44321 20.4492 6.24623C20.4511 6.04926 20.4142 5.85384 20.3406 5.67113C20.2669 5.48843 20.158 5.32203 20.0201 5.18143L18.969 4.1099C18.6898 3.82704 18.31 3.66618 17.9125 3.66248C17.5151 3.65877 17.1323 3.81252 16.8479 4.09012L15.5984 5.31693L14.25 4.75149V3.00024C14.2495 2.60258 14.0913 2.22135 13.8101 1.94015C13.5289 1.65896 13.1477 1.50076 12.75 1.50024H11.25C10.8523 1.50076 10.4711 1.65896 10.1899 1.94015C9.90872 2.22135 9.75051 2.60258 9.75 3.00024V4.74857L8.46386 5.28177L7.22754 4.04544C6.946 3.76439 6.56444 3.60654 6.16663 3.60654C5.76881 3.60654 5.38726 3.76439 5.10571 4.04544L4.04516 5.10599C3.76412 5.38739 3.60626 5.76883 3.60626 6.16654C3.60626 6.56424 3.76412 6.94569 4.04516 7.22709L5.28223 8.46341L4.74902 9.75027H3C2.60233 9.75079 2.2211 9.90899 1.93991 10.1902C1.65872 10.4714 1.50052 10.8526 1.5 11.2503V12.7503C1.50052 13.1479 1.65872 13.5292 1.93991 13.8104C2.2211 14.0916 2.60233 14.2498 3 14.2503H4.749L5.2822 15.5364L4.04516 16.7727C3.76411 17.0543 3.60626 17.4358 3.60626 17.8337C3.60626 18.2315 3.76411 18.613 4.04516 18.8946L5.10571 19.9551C5.38743 20.2358 5.76892 20.3935 6.16663 20.3935C6.56433 20.3935 6.94583 20.2358 7.22754 19.9551L8.46386 18.718L9.75 19.2513V21.0003C9.75051 21.3979 9.90872 21.7791 10.1899 22.0603C10.4711 22.3415 10.8523 22.4997 11.25 22.5003H12.75C13.1477 22.4997 13.5289 22.3415 13.8101 22.0603C14.0913 21.7791 14.2495 21.3979 14.25 21.0003L14.2507 19.2513L15.5369 18.718L16.7732 19.9551C17.0548 20.2358 17.4362 20.3935 17.8338 20.3935C18.2314 20.3935 18.6127 20.2358 18.8943 19.9551L19.9563 18.8939C20.2367 18.612 20.3939 18.2305 20.3936 17.833C20.3933 17.4355 20.2356 17.0542 19.9548 16.7728L18.7185 15.5364L19.2517 14.2503H21C21.3977 14.2498 21.7789 14.0916 22.0601 13.8104C22.3413 13.5292 22.4995 13.148 22.5 12.7503V11.2503C22.4995 10.8526 22.3413 10.4714 22.0601 10.1902C21.7789 9.909 21.3977 9.75079 21 9.75027ZM21 12.7503H19.2517C18.9549 12.7495 18.6646 12.8372 18.4178 13.002C18.171 13.1669 17.9789 13.4016 17.866 13.6761L17.332 14.9629C17.2185 15.237 17.1889 15.5385 17.2469 15.8294C17.3049 16.1203 17.448 16.3875 17.658 16.597L18.8951 17.834L17.8338 18.8946L16.5975 17.6575C16.3878 17.4476 16.1205 17.3047 15.8294 17.2468C15.5384 17.1889 15.2368 17.2186 14.9627 17.3323L13.6773 17.8648C13.4026 17.9777 13.1676 18.1699 13.0025 18.4168C12.8374 18.6637 12.7495 18.9542 12.7501 19.2513V21.0003H11.2501V19.2513C11.2508 18.9545 11.1632 18.6642 10.9983 18.4174C10.8334 18.1706 10.5988 17.9785 10.3243 17.8655L9.03741 17.3316C8.76339 17.2179 8.46179 17.1882 8.17087 17.2463C7.87994 17.3043 7.61282 17.4474 7.40338 17.6575L6.16626 18.8946L5.10571 17.8333L6.34277 16.597C6.55286 16.3874 6.69593 16.1201 6.75383 15.829C6.81173 15.538 6.78184 15.2363 6.66796 14.9622L6.13546 13.6768C6.02246 13.4022 5.83026 13.1674 5.58334 13.0024C5.33642 12.8374 5.04597 12.7496 4.74899 12.7503H3V11.2503H4.749C5.04589 11.251 5.33625 11.1632 5.58306 10.9982C5.82986 10.8331 6.02193 10.5984 6.13477 10.3237L6.66796 9.03687C6.78212 8.763 6.81215 8.46134 6.75424 8.17034C6.69632 7.87934 6.55309 7.61216 6.34277 7.40286L5.10571 6.16653L6.16699 5.10599L7.40332 6.34232C7.61298 6.55231 7.88028 6.69531 8.17131 6.7532C8.46235 6.81109 8.76402 6.78126 9.03808 6.66749L10.3235 6.13499C10.5981 6.02199 10.8329 5.82979 10.9979 5.58288C11.1629 5.33598 11.2507 5.04554 11.25 4.74857V3.00027H12.75V4.75152C12.7496 5.0471 12.8368 5.33616 13.0005 5.58225C13.1642 5.82834 13.3972 6.02045 13.6699 6.13434L15.0168 6.69977C15.2893 6.81444 15.5896 6.846 15.8799 6.79049C16.1703 6.73498 16.4377 6.59486 16.6487 6.38777L17.8989 5.16096L18.9492 6.23174L17.7034 7.45487C17.4901 7.66298 17.3439 7.93011 17.2836 8.22194C17.2233 8.51377 17.2516 8.81696 17.365 9.09256L17.866 10.3186C17.9782 10.5945 18.1703 10.8305 18.4176 10.9965C18.6649 11.1625 18.9561 11.2509 19.2539 11.2503H21V12.7503Z",fillOpacity:"0.95"}))}function Gt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M25 5.5H7C5.80692 5.5013 4.66308 5.97582 3.81945 6.81945C2.97582 7.66308 2.5013 8.80692 2.5 10V21.7839C2.50124 23.0343 2.99853 24.2332 3.88272 25.1173C4.76692 26.0015 5.96578 26.4988 7.2162 26.5H24.7836C26.034 26.4986 27.2328 26.0013 28.1169 25.1172C29.0011 24.233 29.4985 23.0343 29.5 21.7839V10C29.4987 8.80693 29.0241 7.66311 28.1805 6.81948C27.3369 5.97585 26.1931 5.50132 25 5.5ZM20.707 16.707C20.5195 16.8945 20.2651 16.9998 20 16.9998C19.7348 16.9998 19.4804 16.8945 19.2929 16.707L17 14.4138V20.0007C17 20.2659 16.8946 20.5203 16.7071 20.7078C16.5196 20.8953 16.2652 21.0007 16 21.0007C15.7348 21.0007 15.4804 20.8953 15.2929 20.7078C15.1054 20.5203 15 20.2659 15 20.0007V14.4138L12.707 16.7067C12.5185 16.8895 12.2657 16.9909 12.0031 16.9889C11.7406 16.9869 11.4893 16.8817 11.3036 16.6961C11.1179 16.5104 11.0127 16.2592 11.0107 15.9966C11.0087 15.734 11.1101 15.4812 11.2929 15.2927L15.2929 11.2927C15.4804 11.1052 15.7348 10.9999 16 10.9999C16.2651 10.9999 16.5195 11.1052 16.707 11.2927L20.707 15.2927C20.8945 15.4802 20.9999 15.7345 21 15.9996C21.0001 16.2648 20.8948 16.5191 20.7074 16.7067L20.707 16.707Z"}))}function Wt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M18.75 3.75H5.25C4.25579 3.75115 3.30263 4.14661 2.59962 4.84962C1.89661 5.55263 1.50115 6.50579 1.5 7.5V16.338C1.50115 17.3752 1.9137 18.3696 2.64712 19.103C3.38055 19.8364 4.37495 20.2489 5.41215 20.25H18.5877C19.6249 20.2489 20.6193 19.8364 21.3528 19.103C22.0862 18.3696 22.4988 17.3752 22.5 16.338V7.5C22.4988 6.5058 22.1034 5.55265 21.4004 4.84964C20.6973 4.14664 19.7442 3.75117 18.75 3.75ZM21 16.338C20.9992 16.9775 20.7448 17.5906 20.2926 18.0428C19.8403 18.4949 19.2272 18.7493 18.5877 18.75H5.41215C4.77262 18.7494 4.15945 18.4951 3.70721 18.0429C3.25498 17.5907 3.00064 16.9775 3 16.338V7.5C3.00066 6.90346 3.23792 6.33155 3.65973 5.90973C4.08155 5.48792 4.65346 5.25066 5.25 5.25H18.75C19.3465 5.25066 19.9185 5.48792 20.3403 5.90973C20.7621 6.33155 20.9993 6.90346 21 7.5V16.338Z",fillOpacity:"0.95"}),u.default.createElement("path",{d:"M12.5306 8.46952C12.3899 8.3289 12.1992 8.2499 12.0003 8.2499C11.8014 8.2499 11.6106 8.3289 11.47 8.46952L8.46997 11.4695C8.33227 11.6108 8.25575 11.8006 8.257 11.9978C8.25825 12.1951 8.33716 12.3839 8.47665 12.5234C8.61614 12.6629 8.80497 12.7418 9.00223 12.7431C9.19949 12.7443 9.38931 12.6678 9.53055 12.5301L11.25 10.8104V15.0006C11.25 15.1995 11.329 15.3903 11.4697 15.5309C11.6103 15.6716 11.8011 15.7506 12 15.7506C12.1989 15.7506 12.3897 15.6716 12.5303 15.5309C12.671 15.3903 12.75 15.1995 12.75 15.0006V10.8104L14.4697 12.5301C14.6109 12.6678 14.8007 12.7443 14.998 12.7431C15.1953 12.7418 15.3841 12.6629 15.5236 12.5234C15.6631 12.3839 15.742 12.1951 15.7432 11.9978C15.7445 11.8006 15.668 11.6108 15.5303 11.4695L12.5306 8.46952Z",fillOpacity:"0.95"}))}function $t(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 16 8",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M13.3968 3.69556C13.2811 3.54468 10.5248 -0.000244141 6.99988 -0.000244141C3.474 -0.000244141 0.718629 3.54468 0.602904 3.69556C0.536159 3.78292 0.5 3.88982 0.5 3.99976C0.5 4.1097 0.536159 4.21659 0.602904 4.30396C0.718629 4.45484 3.474 7.99976 6.9999 7.99976C10.5248 7.99976 13.2812 4.45484 13.3969 4.30396C13.4636 4.21659 13.4998 4.1097 13.4998 3.99975C13.4998 3.88981 13.4636 3.78292 13.3968 3.69556ZM6.99988 6.99976C4.52673 6.99976 2.37243 4.81763 1.65222 3.99976C2.37243 3.18189 4.52672 0.999756 6.99988 0.999756C9.47351 0.999756 11.6278 3.18287 12.348 4.00026C11.6293 4.81812 9.48034 6.99976 6.99988 6.99976Z"}),u.default.createElement("path",{d:"M6.99988 1.99976C6.60432 1.99976 6.21764 2.11705 5.88874 2.33682C5.55984 2.55658 5.3035 2.86894 5.15212 3.23439C5.00075 3.59984 4.96114 4.00197 5.03831 4.38994C5.11548 4.7779 5.30596 5.13426 5.58567 5.41397C5.86537 5.69367 6.22174 5.88416 6.6097 5.96133C6.99766 6.0385 7.39979 5.99889 7.76525 5.84752C8.1307 5.69614 8.44306 5.43979 8.66282 5.1109C8.88258 4.782 8.99988 4.39532 8.99988 3.99976C8.99935 3.46949 8.78847 2.96109 8.41351 2.58613C8.03855 2.21117 7.53015 2.00029 6.99988 1.99976ZM6.99988 4.99976C6.8021 4.99976 6.60876 4.94111 6.44431 4.83123C6.27986 4.72134 6.15169 4.56517 6.076 4.38244C6.00031 4.19971 5.98051 3.99865 6.01909 3.80467C6.05768 3.61068 6.15292 3.4325 6.29277 3.29265C6.43262 3.1528 6.61081 3.05756 6.80479 3.01897C6.99877 2.98039 7.19984 3.00019 7.38256 3.07588C7.56529 3.15156 7.72147 3.27974 7.83135 3.44419C7.94123 3.60863 7.99988 3.80197 7.99988 3.99976C7.99954 4.26487 7.89407 4.51902 7.70661 4.70648C7.51914 4.89394 7.26499 4.99941 6.99988 4.99976Z"}))}function Yt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M16 2.5C13.33 2.5 10.7199 3.29176 8.49981 4.77516C6.27974 6.25856 4.54942 8.36697 3.52763 10.8338C2.50585 13.3006 2.2385 16.015 2.7594 18.6337C3.28031 21.2525 4.56606 23.6579 6.45406 25.5459C8.34207 27.434 10.7475 28.7197 13.3663 29.2406C15.985 29.7615 18.6994 29.4942 21.1662 28.4724C23.633 27.4506 25.7414 25.7203 27.2248 23.5002C28.7082 21.2801 29.5 18.67 29.5 16C29.496 12.4208 28.0724 8.98935 25.5415 6.45847C23.0107 3.9276 19.5792 2.504 16 2.5Z"}))}function Kt(e){var t=e.ariaLabel,r=e.className,n=e.size,i=e.style,o=Y(Pe("waiting-for-host-icon",r),1)[0];return u.default.createElement("svg",{width:n,height:n,viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:o,style:i,"aria-label":t},u.default.createElement("g",{id:"rocket-avatar-120"},u.default.createElement("path",{id:"apply-style-here",d:"M49.6445 30.1C49.6445 23.9 53.5445 18.6 56.4445 14.8C58.0445 12.7 61.1445 12.7 62.7445 14.8C65.6445 18.6 69.5445 23.9 69.5445 30.1M39.6445 48.1V43.1C39.6445 39.3 41.6445 36.3 43.1445 34.6C43.9445 33.7 45.3445 33.7 46.1445 34.6C47.6445 36.3 49.6445 39.3 49.6445 43.1V43.8C49.6445 45.9 48.8445 48 47.3445 49.5L34.9445 61.8C31.5445 65.2 29.6445 69.8 29.6445 74.5V77C29.6445 78.1 30.5445 79 31.6445 79H47.6445C48.7445 79 49.6445 78.1 49.6445 77V56M79.6445 48.1V43.1C79.6445 39.3 77.6445 36.3 76.1445 34.6C75.3445 33.7 73.9445 33.7 73.1445 34.6C71.6445 36.3 69.6445 39.3 69.6445 43.1V43.8C69.6445 45.9 70.4445 48 71.9445 49.5L84.4445 61.8C87.8445 65.2 89.7445 69.8 89.7445 74.5V77C89.7445 78.1 88.8445 79 87.7445 79H71.7445C70.6445 79 69.7445 78.1 69.7445 77V56M35.6445 107.1C35.6445 102.7 39.2445 99.1 43.6445 99.1C43.6445 94.7 47.2445 91.1 51.6445 91.1C51.6445 86.7 55.2445 83.1 59.6445 83.1C64.0445 83.1 67.6445 86.7 67.6445 91.1C72.0445 91.1 75.6445 94.7 75.6445 99.1C80.0445 99.1 83.6445 102.7 83.6445 107.1M63.6445 37.1C63.6445 39.3091 61.8537 41.1 59.6445 41.1C57.4354 41.1 55.6445 39.3091 55.6445 37.1C55.6445 34.8908 57.4354 33.1 59.6445 33.1C61.8537 33.1 63.6445 34.8908 63.6445 37.1Z",stroke:"url(#paint0_linear_3181:123911)",strokeWidth:"1.5625",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})),u.default.createElement("defs",null,u.default.createElement("linearGradient",{id:"paint0_linear_3181:123911",x1:"59.6945",y1:"13.225",x2:"59.6945",y2:"107.1",gradientUnits:"userSpaceOnUse"},u.default.createElement("stop",{stopColor:"#93C437"}),u.default.createElement("stop",{offset:"1",stopColor:"#279BE8"}))))}function Zt(e){var t=e.size,r=e.className,n=e.style;return u.default.createElement("svg",{width:t,height:t,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:"wxc-icon ".concat(r),style:n},u.default.createElement("path",{d:"M13.7971 10.7495L8.2991 1.24998C8.16738 1.02195 7.97797 0.832599 7.7499 0.700952C7.52182 0.569305 7.26312 0.5 6.99978 0.5C6.73644 0.5 6.47774 0.569305 6.24966 0.700952C6.02159 0.832599 5.83218 1.02195 5.70046 1.24998L5.70096 1.24948L0.200962 10.75C0.0693183 10.978 9.13466e-06 11.2366 9.02787e-10 11.4999C-9.13286e-06 11.7632 0.069282 12.0219 0.20091 12.2499C0.332538 12.4779 0.521865 12.6673 0.749865 12.7989C0.977865 12.9306 1.2365 12.9999 1.49979 13H12.4983C12.7617 13.0001 13.0205 12.9308 13.2486 12.7991C13.4767 12.6674 13.6661 12.478 13.7977 12.2499C13.9294 12.0217 13.9986 11.763 13.9985 11.4996C13.9984 11.2362 13.929 10.9775 13.7971 10.7495ZM12.9314 11.75C12.8882 11.8266 12.8253 11.8903 12.7491 11.9342C12.6729 11.9782 12.5863 12.0009 12.4983 12H1.49978C1.4121 11.9999 1.32598 11.9768 1.25006 11.9329C1.17414 11.889 1.11108 11.826 1.06721 11.7501C1.02334 11.6742 1.0002 11.588 1.00011 11.5004C1.00001 11.4127 1.02297 11.3265 1.06668 11.2505L6.56618 1.75049L6.56668 1.74999C6.61063 1.67394 6.67383 1.61079 6.74993 1.56691C6.82602 1.52303 6.91233 1.49995 7.00017 1.5C7.08801 1.50005 7.17429 1.52323 7.25034 1.5672C7.32638 1.61117 7.38951 1.67439 7.43337 1.75049L12.9314 11.25C12.9762 11.3257 12.9999 11.412 12.9999 11.5C12.9999 11.5879 12.9762 11.6743 12.9314 11.75Z"}),u.default.createElement("path",{d:"M6.99984 10.9999C7.34502 10.9999 7.62484 10.7201 7.62484 10.3749C7.62484 10.0297 7.34502 9.74992 6.99984 9.74992C6.65466 9.74992 6.37484 10.0297 6.37484 10.3749C6.37484 10.7201 6.65466 10.9999 6.99984 10.9999Z"}),u.default.createElement("path",{d:"M6.99978 8.99998C7.06545 9.00002 7.13049 8.98711 7.19117 8.962C7.25185 8.93689 7.30698 8.90006 7.35342 8.85362C7.39986 8.80718 7.43669 8.75205 7.4618 8.69137C7.48691 8.63069 7.49982 8.56565 7.49978 8.49998V4.99998C7.49978 4.86738 7.4471 4.7402 7.35334 4.64643C7.25957 4.55266 7.13239 4.49998 6.99978 4.49998C6.86717 4.49998 6.74 4.55266 6.64623 4.64643C6.55246 4.7402 6.49978 4.86738 6.49978 4.99998V8.49998C6.49974 8.56565 6.51265 8.63069 6.53777 8.69137C6.56288 8.75205 6.59971 8.80719 6.64614 8.85362C6.69258 8.90006 6.74772 8.93689 6.8084 8.962C6.86908 8.98711 6.93411 9.00002 6.99978 8.99998Z"}))}ft.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},ft.defaultProps={size:26,className:"",style:{}},ht.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},ht.defaultProps={size:16,className:"",style:{}},mt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},mt.defaultProps={size:26,className:"",style:{}},yt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},yt.defaultProps={size:24,className:"",style:{}},vt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},vt.defaultProps={size:24,className:"",style:{}},gt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},gt.defaultProps={size:26,className:"",style:{}},bt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape(),ariaLabel:c.default.string},bt.defaultProps={size:24,className:"",style:{},ariaLabel:void 0},Ct.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Ct.defaultProps={size:24,className:"",style:{}},Et.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Et.defaultProps={size:24,className:"",style:{}},_t.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},_t.defaultProps={size:24,className:"",style:{}},Tt.propTypes={className:c.default.string,style:c.default.shape()},Tt.defaultProps={className:void 0,style:void 0},xt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},xt.defaultProps={size:24,className:"",style:{}},St.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},St.defaultProps={size:24,className:void 0,style:void 0},Ot.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Ot.defaultProps={size:26,className:"",style:{}},wt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},wt.defaultProps={size:26,className:"",style:{}},At.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},At.defaultProps={size:24,className:"",style:{}},Nt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Nt.defaultProps={size:24,className:"",style:{}},Pt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Pt.defaultProps={size:16,className:"",style:{}},It.propTypes={className:c.default.string,size:c.default.number,style:c.default.shape()},It.defaultProps={className:"",size:24,style:{}},Rt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Rt.defaultProps={size:24,className:"",style:{}},Lt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape(),ariaLabel:c.default.string},Lt.defaultProps={size:24,className:"",style:{},ariaLabel:void 0},kt.propTypes={className:c.default.string,style:c.default.shape()},kt.defaultProps={className:void 0,style:void 0},Mt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Mt.defaultProps={size:24,className:"",style:{}},Dt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Dt.defaultProps={size:24,className:"",style:{}},Ut.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Ut.defaultProps={size:24,className:"",style:{}},jt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},jt.defaultProps={size:24,className:"",style:{}},Ft.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Ft.defaultProps={size:24,className:"",style:{}},Bt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Bt.defaultProps={size:24,className:"",style:{}},zt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},zt.defaultProps={size:24,className:"",style:{}},Ht.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Ht.defaultProps={size:24,className:"",style:{}},qt.propTypes={className:c.default.string,style:c.default.shape()},qt.defaultProps={className:"",style:{}},Vt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Vt.defaultProps={size:24,className:"",style:{}},Gt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Gt.defaultProps={size:24,className:"",style:{}},Wt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Wt.defaultProps={size:24,className:"",style:{}},$t.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},$t.defaultProps={size:16,className:"",style:{}},Yt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Yt.defaultProps={size:24,className:"",style:{}},Kt.propTypes={ariaLabel:c.default.string,className:c.default.string,size:c.default.number,style:c.default.shape()},Kt.defaultProps={ariaLabel:void 0,className:void 0,size:120,style:void 0},Zt.propTypes={size:c.default.number,className:c.default.string,style:c.default.shape()},Zt.defaultProps={size:16,className:"",style:{}};var Xt={"arrow-down":ft,"arrow-left":ht,"arrow-up":mt,check:gt,camera:Ct,"camera-bold":bt,"camera-issue":Tt,"camera-muted":Et,"camera-presence":_t,cancel:xt,"chat-filled":St,"content-share":Wt,"control-down":Ot,"control-up":wt,"dnd-presence":At,error:qt,"external-user":Nt,"hide-password":Pt,indeterminate:It,"meetings-presence":Rt,"microphone-issue":kt,"microphone-muted":vt,microphone:yt,"microphone-bold":Lt,more:Mt,"more-adr":Dt,"participant-list":Ut,"participant-list-filled":jt,"pto-presence":Ft,"quiet-hours-presence":Bt,"recents-presence":zt,refresh:Ht,settings:Vt,"share-screen-presence-stroke":Wt,"share-screen-filled":Gt,"show-password":$t,unread:Yt,warning:Zt,"waiting-for-host":Kt};function Qt(e){var t=e.name,r=e.size,n=e.className,i=e.style,o=e.ariaLabel,a=Y(t.split("_"),2),s=a[0],l=a[1],c=Xt[s];return c||(console.error("".concat(s,' icon is not defined. Available icons are "').concat(Object.keys(Xt).join(", "),'".')),c="span"),u.default.createElement(c,{size:r||l&&Number(l),className:n,style:i,ariaLabel:o})}function Jt(e){var t=e.className,r=e.style,n=Y(Pe("loader",t),2),i=n[0],o=n[1];return u.default.createElement("div",{className:i,style:r},u.default.createElement("div",{className:o("bullet")}))}Qt.propTypes={name:c.default.string.isRequired,size:c.default.number,className:c.default.string,style:c.default.shape(),ariaLabel:c.default.string},Qt.defaultProps={size:void 0,className:"",style:{},ariaLabel:void 0},Jt.propTypes={className:c.default.string,style:c.default.shape()},Jt.defaultProps={className:void 0,style:void 0};var er=u.default.createContext(),tr=u.default.createContext();function rr(e){var t=Y(i.useState({cards:[]}),2),r=t[0],n=t[1],o=i.useContext(er),a=o&&o.activitiesAdapter;return i.useEffect((function(){var t;if(a&&e){var r=a.getActivity(e).subscribe(n,(function(e){throw e}));t=function(){r.unsubscribe()}}else n({cards:[]}),t=void 0;return t}),[a,e]),r}var nr="prepend_activities",ir="append_activities";function or(e,t){var r=[];switch(t.type){case nr:r=t.payload.reverse().concat(e);break;case ir:r=e.concat(t.payload);break;default:r=e}return r}function ar(e,t){var r=e.current;i.useEffect((function(){t&&r&&r.focus()}),[r,t])}var sr,lr=[],ur="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(sr||(sr={}));var cr,dr=function(e){return Object.freeze(e)},pr=function(e,t){this.inlineSize=e,this.blockSize=t,dr(this)},fr=function(){function e(e,t,r,n){return this.x=e,this.y=t,this.width=r,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,dr(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),hr=function(e){return e instanceof SVGElement&&"getBBox"in e},mr=function(e){if(hr(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var i=e,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||e.getClientRects().length)},yr=function(e){var t;if(e instanceof Element)return!0;var r=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},vr="undefined"!=typeof window?window:{},gr=new WeakMap,br=/auto|scroll/,Cr=/^tb|vertical/,Er=/msie|trident/i.test(vr.navigator&&vr.navigator.userAgent),_r=function(e){return parseFloat(e||"0")},Tr=function(e,t,r){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=!1),new pr((r?t:e)||0,(r?e:t)||0)},xr=dr({devicePixelContentBoxSize:Tr(),borderBoxSize:Tr(),contentBoxSize:Tr(),contentRect:new fr(0,0,0,0)}),Sr=function(e,t){if(void 0===t&&(t=!1),gr.has(e)&&!t)return gr.get(e);if(mr(e))return gr.set(e,xr),xr;var r=getComputedStyle(e),n=hr(e)&&e.ownerSVGElement&&e.getBBox(),i=!Er&&"border-box"===r.boxSizing,o=Cr.test(r.writingMode||""),a=!n&&br.test(r.overflowY||""),s=!n&&br.test(r.overflowX||""),l=n?0:_r(r.paddingTop),u=n?0:_r(r.paddingRight),c=n?0:_r(r.paddingBottom),d=n?0:_r(r.paddingLeft),p=n?0:_r(r.borderTopWidth),f=n?0:_r(r.borderRightWidth),h=n?0:_r(r.borderBottomWidth),m=d+u,y=l+c,v=(n?0:_r(r.borderLeftWidth))+f,g=p+h,b=s?e.offsetHeight-g-e.clientHeight:0,C=a?e.offsetWidth-v-e.clientWidth:0,E=i?m+v:0,_=i?y+g:0,T=n?n.width:_r(r.width)-E-C,x=n?n.height:_r(r.height)-_-b,S=T+m+C+v,O=x+y+b+g,w=dr({devicePixelContentBoxSize:Tr(Math.round(T*devicePixelRatio),Math.round(x*devicePixelRatio),o),borderBoxSize:Tr(S,O,o),contentBoxSize:Tr(T,x,o),contentRect:new fr(d,l,T,x)});return gr.set(e,w),w},Or=function(e,t,r){var n=Sr(e,r),i=n.borderBoxSize,o=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case sr.DEVICE_PIXEL_CONTENT_BOX:return a;case sr.BORDER_BOX:return i;default:return o}},wr=function(e){var t=Sr(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=dr([t.borderBoxSize]),this.contentBoxSize=dr([t.contentBoxSize]),this.devicePixelContentBoxSize=dr([t.devicePixelContentBoxSize])},Ar=function(e){if(mr(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},Nr=function(){var e=1/0,t=[];lr.forEach((function(r){if(0!==r.activeTargets.length){var n=[];r.activeTargets.forEach((function(t){var r=new wr(t.target),i=Ar(t.target);n.push(r),t.lastReportedSize=Or(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){r.callback.call(r.observer,n,r.observer)})),r.activeTargets.splice(0,r.activeTargets.length)}}));for(var r=0,n=t;r<n.length;r++)(0,n[r])();return e},Pr=function(e){lr.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(r){r.isActive()&&(Ar(r.target)>e?t.activeTargets.push(r):t.skippedTargets.push(r))}))}))},Ir=[],Rr=0,Lr={attributes:!0,characterData:!0,childList:!0,subtree:!0},kr=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Mr=function(e){return void 0===e&&(e=0),Date.now()+e},Dr=!1,Ur=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Dr){Dr=!0;var r,n=Mr(e);r=function(){var r=!1;try{r=function(){var e,t=0;for(Pr(t);lr.some((function(e){return e.activeTargets.length>0}));)t=Nr(),Pr(t);return lr.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:ur}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=ur),window.dispatchEvent(e)),t>0}()}finally{if(Dr=!1,e=n-Mr(),!Rr)return;r?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!cr){var t=0,r=document.createTextNode("");new MutationObserver((function(){return Ir.splice(0).forEach((function(e){return e()}))})).observe(r,{characterData:!0}),cr=function(){r.textContent="".concat(t?t--:t++)}}Ir.push(e),cr()}((function(){requestAnimationFrame(r)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,Lr)};document.body?t():vr.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),kr.forEach((function(t){return vr.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),kr.forEach((function(t){return vr.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),jr=function(e){!Rr&&e>0&&Ur.start(),!(Rr+=e)&&Ur.stop()},Fr=function(){function e(e,t){this.target=e,this.observedBox=t||sr.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e=Or(this.target,this.observedBox,!0);return function(e){return!hr(e)&&!function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)&&"inline"===getComputedStyle(e).display}(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},e}(),Br=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},zr=new WeakMap,Hr=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},qr=function(){function e(){}return e.connect=function(e,t){var r=new Br(e,t);zr.set(e,r)},e.observe=function(e,t,r){var n=zr.get(e),i=0===n.observationTargets.length;Hr(n.observationTargets,t)<0&&(i&&lr.push(n),n.observationTargets.push(new Fr(t,r&&r.box)),jr(1),Ur.schedule())},e.unobserve=function(e,t){var r=zr.get(e),n=Hr(r.observationTargets,t),i=1===r.observationTargets.length;n>=0&&(i&&lr.splice(lr.indexOf(r),1),r.observationTargets.splice(n,1),jr(-1))},e.disconnect=function(e){var t=this,r=zr.get(e);r.observationTargets.slice().forEach((function(r){return t.unobserve(e,r.target)})),r.activeTargets.splice(0,r.activeTargets.length)},e}(),Vr=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");qr.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!yr(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");qr.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!yr(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");qr.unobserve(this,e)},e.prototype.disconnect=function(){qr.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();function Gr(e){var t=Y(i.useState(0),2),r=t[0],n=t[1],o=Y(i.useState(0),2),a=o[0],s=o[1];return i.useEffect((function(){var t;if(e.current){var i=new(window.ResizeObserver||Vr)((function(e){var t=Y(e,1)[0].contentRect;r!==t.height&&n(t.height),a!==t.width&&s(t.width)}));i.observe(e.current),t=function(){i.disconnect()}}return t}),[e.current]),{height:r,width:a}}function Wr(e){var t=Y(i.useState(null),2),r=t[0],n=t[1],o=e.current;return i.useEffect((function(){if(o){var e=o.getBoundingClientRect();r&&e.top===r.top&&e.right===r.right&&e.bottom===r.bottom&&e.left===r.left&&e.x===r.x&&e.y===r.y&&e.height===r.height&&e.width===r.width||n(e)}}),[o,r,n]),i.useEffect((function(){var e;if(o){var t=function(){return n(o.getBoundingClientRect())};window.addEventListener("resize",t),window.addEventListener("scroll",t,!0),e=function(){window.removeEventListener("resize",t),window.removeEventListener("scroll",t,!0)}}return e}),[o]),r}function $r(){var e=Y(i.useState({}),2),t=e[0],r=e[1],n=i.useContext(er).peopleAdapter;return i.useEffect((function(){var e=n.getMe().subscribe(r,(function(e){console.error(e.message)}));return function(){e.unsubscribe()}}),[]),t}function Yr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Kr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yr(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Zr={ID:null,title:null,localAudio:{stream:null},localVideo:{stream:null},remoteAudio:null,remoteVideo:null,remoteShare:null,state:null,showRoster:null,settings:{visible:!1,preview:{microphone:{},video:{}}},error:null};function Xr(e){var t=Y(i.useState(Zr),2),r=t[0],n=t[1],o=i.useContext(er),a=o&&o.meetingsAdapter;return i.useEffect((function(){var t;if(e&&a){var r=a.getMeeting(e).subscribe((function(e){n(Kr({},e))}),(function(e){n(Kr(Kr({},Zr),{},{error:e})),console.log(e)}));t=function(){r.unsubscribe()}}else n(Kr({},Zr)),t=void 0;return t}),[a,e]),r}function Qr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qr(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var en={title:null,localShare:{stream:null},localAudio:{stream:null},localVideo:{stream:null},remoteAudio:null,remoteVideo:null,state:null};function tn(e){var r=Y(i.useState(en),2),n=r[0],o=r[1],a=i.useContext(er),s=a&&a.meetingsAdapter;return i.useEffect((function(){var r,n,i;if(e&&s){var a=s.createMeeting(e).pipe((i=function(e){var t=e.ID;return s.getMeeting(t)},function(e){return new t.Observable((function(t){var r,n;return n=e.subscribe((function(e){t.next(e),r=e}),(function(e){return t.error(e)}),(function(){n=i(r).subscribe((function(e){return t.next(e)}),(function(e){return t.error(e)}),(function(){return t.complete()}))})),function(){n&&n.unsubscribe()}}))})).subscribe((function(e){o(Jr({},e)),n=e}),(function(e){o(Jr(Jr({},en),{},{error:e})),console.log(e)})),l=function(){var e=U(V.mark((function e(){var t;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=n)||void 0===t||!t.ID||n.state!==O){e.next=3;break}return e.next=3,s.leavemeeting(n.ID);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();window.addEventListener("beforeunload",l),r=function(){var e=U(V.mark((function e(){var t;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(t=n)||void 0===t||!t.ID||n.state!==O){e.next=3;break}return e.next=3,s.leaveMeeting(n.ID);case 3:l&&(window.removeEventListener("beforeunload",l),l=void 0),a.unsubscribe();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}else o(Jr({},en)),r=void 0;return r}),[s,e]),n}function rn(e,t){var r=Y(i.useState([]),2),n=r[0],o=r[1],a=i.useContext(er).membershipsAdapter;return i.useEffect((function(){var r=a.getMembersFromDestination(e,t).subscribe((function(e){Array.isArray(e)?o($(e)):o([])}),(function(e){o([]),console.error(e.message)}));return function(){r.unsubscribe()}}),[a,e,t]),n}function nn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function on(e){var t=Y(i.useState({}),2),r=t[0],n=t[1],o=i.useContext(er).organizationsAdapter;return i.useEffect((function(){var t;if(e){var r=o.getOrg(e).subscribe((function(e){n(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e))}),(function(e){console.error(e.message)}));t=function(){r.unsubscribe()}}else t=void 0,n({});return t}),[e]),r}function an(){var e=Y(i.useState(),2)[1],t=i.useCallback((function(r){t.current=r,e(r)}),[]);return t}function sn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ln(e){var t=Y(i.useState({}),2),r=t[0],n=t[1],o=i.useContext(er).peopleAdapter;return i.useEffect((function(){var t=o.getPerson(e).subscribe((function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sn(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);Object.keys(N).includes(t.status)&&(t.status=N[t.status]),n(t)}),(function(e){n({displayName:" "}),console.error(e.message)}));return function(){t.unsubscribe()}}),[o,e]),r}function un(e,t){var r=e.current;i.useEffect((function(){r&&(t instanceof MediaStream?r.srcObject=t:t&&console.error("useStream: invalid media stream received",t))}),[r,t])}function cn(){var e=i.useContext(er).metricsAdapter;return[function(t,r){return e.submitMetrics(t,r)}]}var dn={active:"unread",call:"camera-presence",dnd:"dnd-presence",inactive:"recents-presence",meeting:"meetings-presence",ooo:"pto-presence",presenting:"share-screen-filled"};function pn(e){var t=e.className,r=e.displayStatus,n=e.personID,o=e.style,a=ln(n),s=a.avatar,l=a.displayName,c=a.status,d=Y(i.useState((function(){return Math.floor(11*Math.random())+1})),1)[0],p=Y(i.useState(!1),2),f=p[0],h=p[1],m=null==l?void 0:l.split(" ").map((function(e){return e.charAt(0)})).slice(0,2).join(""),y=dn[c],v=c===N.SELF,g=c===N.BOT,b=c===N.TYPING,C=!v,E=s&&!v,_=r&&!g&&!v&&y,T=Y(Pe("avatar",t,{"avatar-self":v}),2),x=T[0],S=T[1],O="".concat(S("placeholder")," ").concat(S("placeholder"),"-").concat(d),w=S("status-".concat(c));return u.default.createElement("div",{className:x,style:o},u.default.createElement("div",{className:S("content")},b&&r&&u.default.createElement(Jt,null),C&&u.default.createElement("svg",{viewBox:"0 0 40 40",className:O},u.default.createElement("text",{x:"50%",y:"50%"}," "===l?"??":m)),E&&u.default.createElement("img",{className:S(f?"image-error":"image"),src:s,alt:"avatar",onError:function(){return h(!0)}}),_&&u.default.createElement("div",{className:S("status-icon-container")},u.default.createElement(Qt,{name:y,className:"".concat(S("status-icon")," ").concat(w)})),g&&r&&u.default.createElement("svg",{viewBox:"0 0 26 26",className:S("bot-badge")},u.default.createElement("text",{x:"50%",y:"57%"},"Bot")),v&&r&&u.default.createElement(Qt,{name:"chat-filled",className:S("self-icon")})))}function hn(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function mn(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function yn(e){mn(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===f(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}pn.propTypes={className:c.default.string,displayStatus:c.default.bool,personID:c.default.string.isRequired,style:c.default.shape()},pn.defaultProps={className:"",displayStatus:!0,style:void 0};var vn={};function gn(){return vn}function bn(e,t){var r,n,i,o,a,s,l,u;mn(1,arguments);var c=gn(),d=hn(null!==(r=null!==(n=null!==(i=null!==(o=null==t?void 0:t.weekStartsOn)&&void 0!==o?o:null==t||null===(a=t.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==i?i:c.weekStartsOn)&&void 0!==n?n:null===(l=c.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==r?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=yn(e),f=p.getDay(),h=(f<d?7:0)+f-d;return p.setDate(p.getDate()-h),p.setHours(0,0,0,0),p}function Cn(e){mn(1,arguments);var t=yn(e);return t.setHours(0,0,0,0),t}function En(e,t){mn(2,arguments);var r=Cn(e),n=Cn(t);return r.getTime()===n.getTime()}function _n(e){if(mn(1,arguments),!function(e){return mn(1,arguments),e instanceof Date||"object"===f(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=yn(e);return!isNaN(Number(t))}function Tn(e){mn(1,arguments);var t=yn(e),r=t.getUTCDay(),n=(r<1?7:0)+r-1;return t.setUTCDate(t.getUTCDate()-n),t.setUTCHours(0,0,0,0),t}function xn(e){mn(1,arguments);var t=yn(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Tn(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var a=Tn(o);return t.getTime()>=i.getTime()?r+1:t.getTime()>=a.getTime()?r:r-1}function Sn(e,t){var r,n,i,o,a,s,l,u;mn(1,arguments);var c=gn(),d=hn(null!==(r=null!==(n=null!==(i=null!==(o=null==t?void 0:t.weekStartsOn)&&void 0!==o?o:null==t||null===(a=t.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==i?i:c.weekStartsOn)&&void 0!==n?n:null===(l=c.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==r?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=yn(e),f=p.getUTCDay(),h=(f<d?7:0)+f-d;return p.setUTCDate(p.getUTCDate()-h),p.setUTCHours(0,0,0,0),p}function On(e,t){var r,n,i,o,a,s,l,u;mn(1,arguments);var c=yn(e),d=c.getUTCFullYear(),p=gn(),f=hn(null!==(r=null!==(n=null!==(i=null!==(o=null==t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null==t||null===(a=t.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==i?i:p.firstWeekContainsDate)&&void 0!==n?n:null===(l=p.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==r?r:1);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(d+1,0,f),h.setUTCHours(0,0,0,0);var m=Sn(h,t),y=new Date(0);y.setUTCFullYear(d,0,f),y.setUTCHours(0,0,0,0);var v=Sn(y,t);return c.getTime()>=m.getTime()?d+1:c.getTime()>=v.getTime()?d:d-1}function wn(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var An={y:function(e,t){var r=e.getUTCFullYear(),n=r>0?r:1-r;return wn("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):wn(r+1,2)},d:function(e,t){return wn(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:function(e,t){return wn(e.getUTCHours()%12||12,t.length)},H:function(e,t){return wn(e.getUTCHours(),t.length)},m:function(e,t){return wn(e.getUTCMinutes(),t.length)},s:function(e,t){return wn(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=e.getUTCMilliseconds();return wn(Math.floor(n*Math.pow(10,r-3)),t.length)}},Nn=An,Pn={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return Nn.y(e,t)},Y:function(e,t,r,n){var i=On(e,n),o=i>0?i:1-i;return"YY"===t?wn(o%100,2):"Yo"===t?r.ordinalNumber(o,{unit:"year"}):wn(o,t.length)},R:function(e,t){return wn(xn(e),t.length)},u:function(e,t){return wn(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return wn(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return wn(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return Nn.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return wn(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){var i=function(e,t){mn(1,arguments);var r=yn(e),n=Sn(r,t).getTime()-function(e,t){var r,n,i,o,a,s,l,u;mn(1,arguments);var c=gn(),d=hn(null!==(r=null!==(n=null!==(i=null!==(o=null==t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null==t||null===(a=t.locale)||void 0===a||null===(s=a.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==i?i:c.firstWeekContainsDate)&&void 0!==n?n:null===(l=c.locale)||void 0===l||null===(u=l.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==r?r:1),p=On(e,t),f=new Date(0);return f.setUTCFullYear(p,0,d),f.setUTCHours(0,0,0,0),Sn(f,t)}(r,t).getTime();return Math.round(n/6048e5)+1}(e,n);return"wo"===t?r.ordinalNumber(i,{unit:"week"}):wn(i,t.length)},I:function(e,t,r){var n=function(e){mn(1,arguments);var t=yn(e),r=Tn(t).getTime()-function(e){mn(1,arguments);var t=xn(e),r=new Date(0);return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),Tn(r)}(t).getTime();return Math.round(r/6048e5)+1}(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):wn(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):Nn.d(e,t)},D:function(e,t,r){var n=function(e){mn(1,arguments);var t=yn(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=r-t.getTime();return Math.floor(n/864e5)+1}(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):wn(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return wn(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){var i=e.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return wn(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){var n=e.getUTCDay(),i=0===n?7:n;switch(t){case"i":return String(i);case"ii":return wn(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){var n,i=e.getUTCHours();switch(n=12===i?"noon":0===i?"midnight":i/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){var n,i=e.getUTCHours();switch(n=i>=17?"evening":i>=12?"afternoon":i>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Nn.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Nn.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):wn(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):wn(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Nn.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Nn.s(e,t)},S:function(e,t){return Nn.S(e,t)},X:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return Rn(i);case"XXXX":case"XX":return Ln(i);default:return Ln(i,":")}},x:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return Rn(i);case"xxxx":case"xx":return Ln(i);default:return Ln(i,":")}},O:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+In(i,":");default:return"GMT"+Ln(i,":")}},z:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+In(i,":");default:return"GMT"+Ln(i,":")}},t:function(e,t,r,n){var i=n._originalDate||e;return wn(Math.floor(i.getTime()/1e3),t.length)},T:function(e,t,r,n){return wn((n._originalDate||e).getTime(),t.length)}};function In(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),o=n%60;if(0===o)return r+String(i);var a=t||"";return r+String(i)+a+wn(o,2)}function Rn(e,t){return e%60==0?(e>0?"-":"+")+wn(Math.abs(e)/60,2):Ln(e,t)}function Ln(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e);return n+wn(Math.floor(i/60),2)+r+wn(i%60,2)}var kn=Pn,Mn=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Dn=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Un={p:Dn,P:function(e,t){var r,n=e.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return Mn(e,t);switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",Mn(i,t)).replace("{{time}}",Dn(o,t))}},jn=Un,Fn=["D","DD"],Bn=["YY","YYYY"];function zn(e,t,r){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Hn={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function qn(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}var Vn={date:qn({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:qn({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:qn({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Gn={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Wn(e){return function(t,r){var n;if("formatting"===(null!=r&&r.context?String(r.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=null!=r&&r.width?String(r.width):i;n=e.formattingValues[o]||e.formattingValues[i]}else{var a=e.defaultWidth,s=null!=r&&r.width?String(r.width):e.defaultWidth;n=e.values[s]||e.values[a]}return n[e.argumentCallback?e.argumentCallback(t):t]}}var $n={ordinalNumber:function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:Wn({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Wn({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Wn({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Wn({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Wn({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function Yn(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a,s=o[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}(l,(function(e){return e.test(s)})):function(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}(l,(function(e){return e.test(s)}));return a=e.valueCallback?e.valueCallback(u):u,{value:a=r.valueCallback?r.valueCallback(a):a,rest:t.slice(s.length)}}}var Kn,Zn={ordinalNumber:(Kn={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(Kn.matchPattern);if(!r)return null;var n=r[0],i=e.match(Kn.parsePattern);if(!i)return null;var o=Kn.valueCallback?Kn.valueCallback(i[0]):i[0];return{value:o=t.valueCallback?t.valueCallback(o):o,rest:e.slice(n.length)}}),era:Yn({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Yn({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Yn({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Yn({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Yn({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},Xn={code:"en-US",formatDistance:function(e,t,r){var n,i=Hn[e];return n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},formatLong:Vn,formatRelative:function(e,t,r,n){return Gn[e]},localize:$n,match:Zn,options:{weekStartsOn:0,firstWeekContainsDate:1}},Qn=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Jn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ei=/^'([^]*?)'?$/,ti=/''/g,ri=/[a-zA-Z]/;function ni(e,t,r){var n,i,o,a,s,l,u,c,d,p,f,h,m,y,v,g,b,C;mn(2,arguments);var E=String(t),_=gn(),T=null!==(n=null!==(i=null==r?void 0:r.locale)&&void 0!==i?i:_.locale)&&void 0!==n?n:Xn,x=hn(null!==(o=null!==(a=null!==(s=null!==(l=null==r?void 0:r.firstWeekContainsDate)&&void 0!==l?l:null==r||null===(u=r.locale)||void 0===u||null===(c=u.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==s?s:_.firstWeekContainsDate)&&void 0!==a?a:null===(d=_.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==o?o:1);if(!(x>=1&&x<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=hn(null!==(f=null!==(h=null!==(m=null!==(y=null==r?void 0:r.weekStartsOn)&&void 0!==y?y:null==r||null===(v=r.locale)||void 0===v||null===(g=v.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==m?m:_.weekStartsOn)&&void 0!==h?h:null===(b=_.locale)||void 0===b||null===(C=b.options)||void 0===C?void 0:C.weekStartsOn)&&void 0!==f?f:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!T.localize)throw new RangeError("locale must contain localize property");if(!T.formatLong)throw new RangeError("locale must contain formatLong property");var O=yn(e);if(!_n(O))throw new RangeError("Invalid time value");var w=function(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}(O),A=function(e,t){return mn(2,arguments),function(e,t){mn(2,arguments);var r=yn(e).getTime(),n=hn(t);return new Date(r+n)}(e,-hn(t))}(O,w),N={firstWeekContainsDate:x,weekStartsOn:S,locale:T,_originalDate:O},P=E.match(Jn).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,jn[t])(e,T.formatLong):e})).join("").match(Qn).map((function(n){if("''"===n)return"'";var i=n[0];if("'"===i)return function(e){var t=e.match(ei);return t?t[1].replace(ti,"'"):e}(n);var o=kn[i];if(o)return null!=r&&r.useAdditionalWeekYearTokens||!function(e){return-1!==Bn.indexOf(e)}(n)||zn(n,t,String(e)),null!=r&&r.useAdditionalDayOfYearTokens||!function(e){return-1!==Fn.indexOf(e)}(n)||zn(n,t,String(e)),o(A,n,T.localize,N);if(i.match(ri))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return n})).join("");return P}function ii(e,t,r){mn(2,arguments);var n=bn(e,r),i=bn(t,r);return n.getTime()===i.getTime()}function oi(e){return mn(1,arguments),En(e,Date.now())}function ai(e){return mn(1,arguments),En(e,function(e,t){return mn(2,arguments),function(e,t){mn(2,arguments);var r=yn(e),n=hn(t);return isNaN(n)?new Date(NaN):n?(r.setDate(r.getDate()+n),r):r}(e,-hn(t))}(Date.now(),1))}function si(e){var t=e.className,r=e.personID,n=e.style,i=e.timestamp,o=ln(r).displayName,a=Y(Pe("activity-header",t),2),s=a[0],l=a[1];return u.default.createElement("div",{className:s,style:n},u.default.createElement(pn,{personID:r,className:l("avatar")}),u.default.createElement("div",{className:l("author")},u.default.createElement("span",null,o),u.default.createElement("span",{className:l("timestamp")},function(e){return oi(e)?ni(e,"p"):ai(e)?"Yesterday, ".concat(ni(e,"p")):ii(e,new Date)?ni(e,"iiii, p"):ni(e,"P, p")}(new Date(i)))))}function li(){return li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},li.apply(null,arguments)}si.propTypes={className:c.default.string,personID:c.default.string.isRequired,style:c.default.shape(),timestamp:c.default.string.isRequired},si.defaultProps={className:"",style:void 0};var ui=F((function(e,t){e.exports=function e(t,r,n){function i(a,s){if(!r[a]){if(!t[a]){if(!s&&B)return B();if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=r[a]={exports:{}};t[a][0].call(u.exports,(function(e){return i(t[a][1][e]||e)}),u,u.exports,e,t,r,n)}return r[a].exports}for(var o=B,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(181)),n(e(167)),n(e(179)),n(e(180)),n(e(192)),n(e(193)),n(e(214)),n(e(199)),n(e(166)),n(e(204)),n(e(209)),n(e(201)),n(e(212)),n(e(178)),n(e(194)),n(e(172)),n(e(186));var i=e(68);r.NumberTransformEvaluator=i.NumberTransformEvaluator,r.NumericEvaluator=i.NumericEvaluator,r.StringTransformEvaluator=i.StringTransformEvaluator,r.ComparisonEvaluator=i.ComparisonEvaluator,r.MultivariateNumericEvaluator=i.MultivariateNumericEvaluator,r.TimeTransformEvaluator=i.TimeTransformEvaluator,n(e(196)),n(e(213)),n(e(200)),n(e(216))},{166:166,167:167,172:172,178:178,179:179,180:180,181:181,186:186,192:192,193:193,194:194,196:196,199:199,200:200,201:201,204:204,209:209,212:212,213:213,214:214,216:216,68:68}],193:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Extensions=class{static isMemoryInterface(e){return void 0!==e&&"object"==typeof e&&"getValue"in e&&"setValue"in e&&"version"in e&&"function"==typeof e.getValue&&"function"==typeof e.setValue&&"function"==typeof e.version}static randomNext(e,t,r){const n=e.getValue("Conversation.TestOptions.randomValue");return void 0!==n?t+n%(r-t):Math.floor(t+Math.random()*(r-t))}}},{}],214:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});class n{static ianaToWindows(e){return this.loadData(),this.ianaToWindowsMap.has(e)?this.ianaToWindowsMap.get(e):e}static windowsToIana(e){return this.loadData(),this.windowsToIanaMap.has("001|"+e)?this.windowsToIanaMap.get("001|"+e):e}static verifyTimeZoneStr(e){return this.loadData(),this.validTimezonStr.includes(e)}static loadData(){const e=this.mappingString.split(this.seperator);for(const t of e){const e=t.split(","),r=e[0],n=e[1],i=e[2].split(" ");for(const e of i)this.ianaToWindowsMap.has(e)||this.ianaToWindowsMap.set(e,r),this.validTimezonStr.includes(e)||this.validTimezonStr.push(e);this.windowsToIanaMap.has(`${n}|${r}`)||this.windowsToIanaMap.set(`${n}|${r}`,i[0]),this.validTimezonStr.includes(r)||this.validTimezonStr.push(r)}}}n.ianaToWindowsMap=new Map,n.windowsToIanaMap=new Map,n.validTimezonStr=[],n.seperator=" ",n.mappingString="AUS Central Standard Time,001,Australia/Darwin AUS Central Standard Time,AU,Australia/Darwin AUS Eastern Standard Time,001,Australia/Sydney AUS Eastern Standard Time,AU,Australia/Sydney Australia/Melbourne Afghanistan Standard Time,001,Asia/Kabul Afghanistan Standard Time,AF,Asia/Kabul Alaskan Standard Time,001,America/Anchorage Alaskan Standard Time,US,America/Anchorage America/Juneau America/Metlakatla America/Nome America/Sitka America/Yakutat Aleutian Standard Time,001,America/Adak Aleutian Standard Time,US,America/Adak Altai Standard Time,001,Asia/Barnaul Altai Standard Time,RU,Asia/Barnaul Arab Standard Time,001,Asia/Riyadh Arab Standard Time,BH,Asia/Qatar Arab Standard Time,KW,Asia/Riyadh Arab Standard Time,QA,Asia/Qatar Arab Standard Time,SA,Asia/Riyadh Arab Standard Time,YE,Asia/Riyadh Arabian Standard Time,001,Asia/Dubai Arabian Standard Time,AE,Asia/Dubai Arabian Standard Time,OM,Asia/Dubai Arabian Standard Time,ZZ,Etc/GMT-4 Arabic Standard Time,001,Asia/Baghdad Arabic Standard Time,IQ,Asia/Baghdad Argentina Standard Time,001,America/Argentina/Buenos_Aires Argentina Standard Time,AR,America/Argentina/Buenos_Aires America/Argentina/La_Rioja America/Argentina/Rio_Gallegos America/Argentina/Salta America/Argentina/San_Juan America/Argentina/San_Luis America/Argentina/Tucuman America/Argentina/Ushuaia America/Argentina/Catamarca America/Argentina/Cordoba America/Argentina/Jujuy America/Argentina/Mendoza Astrakhan Standard Time,001,Europe/Astrakhan Astrakhan Standard Time,RU,Europe/Astrakhan Europe/Ulyanovsk Atlantic Standard Time,001,America/Halifax Atlantic Standard Time,BM,Atlantic/Bermuda Atlantic Standard Time,CA,America/Halifax America/Glace_Bay America/Goose_Bay America/Moncton Atlantic Standard Time,GL,America/Thule Aus Central W. Standard Time,001,Australia/Eucla Aus Central W. Standard Time,AU,Australia/Eucla Azerbaijan Standard Time,001,Asia/Baku Azerbaijan Standard Time,AZ,Asia/Baku Azores Standard Time,001,Atlantic/Azores Azores Standard Time,GL,America/Scoresbysund Azores Standard Time,PT,Atlantic/Azores Bahia Standard Time,001,America/Bahia Bahia Standard Time,BR,America/Bahia Bangladesh Standard Time,001,Asia/Dhaka Bangladesh Standard Time,BD,Asia/Dhaka Bangladesh Standard Time,BT,Asia/Thimphu Belarus Standard Time,001,Europe/Minsk Belarus Standard Time,BY,Europe/Minsk Bougainville Standard Time,001,Pacific/Bougainville Bougainville Standard Time,PG,Pacific/Bougainville Canada Central Standard Time,001,America/Regina Canada Central Standard Time,CA,America/Regina America/Swift_Current Cape Verde Standard Time,001,Atlantic/Cape_Verde Cape Verde Standard Time,CV,Atlantic/Cape_Verde Cape Verde Standard Time,ZZ,Etc/GMT+1 Caucasus Standard Time,001,Asia/Yerevan Caucasus Standard Time,AM,Asia/Yerevan Cen. Australia Standard Time,001,Australia/Adelaide Cen. Australia Standard Time,AU,Australia/Adelaide Australia/Broken_Hill Central America Standard Time,001,America/Guatemala Central America Standard Time,BZ,America/Belize Central America Standard Time,CR,America/Costa_Rica Central America Standard Time,EC,Pacific/Galapagos Central America Standard Time,GT,America/Guatemala Central America Standard Time,HN,America/Tegucigalpa Central America Standard Time,NI,America/Managua Central America Standard Time,SV,America/El_Salvador Central America Standard Time,ZZ,Etc/GMT+6 Central Asia Standard Time,001,Asia/Almaty Central Asia Standard Time,AQ,Antarctica/Vostok Central Asia Standard Time,CN,Asia/Urumqi Central Asia Standard Time,DG,Indian/Chagos Central Asia Standard Time,IO,Indian/Chagos Central Asia Standard Time,KG,Asia/Bishkek Central Asia Standard Time,KZ,Asia/Almaty Asia/Qyzylorda Central Asia Standard Time,ZZ,Etc/GMT-6 Central Brazilian Standard Time,001,America/Cuiaba Central Brazilian Standard Time,BR,America/Cuiaba America/Campo_Grande Central Europe Standard Time,001,Europe/Budapest Central Europe Standard Time,AL,Europe/Tirane Central Europe Standard Time,CZ,Europe/Prague Central Europe Standard Time,HU,Europe/Budapest Central Europe Standard Time,ME,Europe/Belgrade Central Europe Standard Time,RS,Europe/Belgrade Central Europe Standard Time,SI,Europe/Belgrade Central Europe Standard Time,SK,Europe/Prague Central Europe Standard Time,XK,Europe/Belgrade Central European Standard Time,001,Europe/Warsaw Central European Standard Time,BA,Europe/Belgrade Central European Standard Time,HR,Europe/Belgrade Central European Standard Time,MK,Europe/Belgrade Central European Standard Time,PL,Europe/Warsaw Central Pacific Standard Time,001,Pacific/Guadalcanal Central Pacific Standard Time,AU,Antarctica/Macquarie Central Pacific Standard Time,FM,Pacific/Pohnpei Pacific/Kosrae Central Pacific Standard Time,NC,Pacific/Noumea Central Pacific Standard Time,SB,Pacific/Guadalcanal Central Pacific Standard Time,VU,Pacific/Efate Central Pacific Standard Time,ZZ,Etc/GMT-11 Central Standard Time (Mexico),001,America/Mexico_City Central Standard Time (Mexico),MX,America/Mexico_City America/Bahia_Banderas America/Merida America/Monterrey Central Standard Time,001,America/Chicago Central Standard Time,CA,America/Winnipeg America/Rainy_River America/Rankin_Inlet America/Resolute Central Standard Time,MX,America/Matamoros Central Standard Time,US,America/Chicago America/Indiana/Knox America/Indiana/Tell_City America/Menominee America/North_Dakota/Beulah America/North_Dakota/Center America/North_Dakota/New_Salem Central Standard Time,ZZ,CST6CDT Chatham Islands Standard Time,001,Pacific/Chatham Chatham Islands Standard Time,NZ,Pacific/Chatham China Standard Time,001,Asia/Shanghai China Standard Time,CN,Asia/Shanghai China Standard Time,HK,Asia/Hong_Kong China Standard Time,MO,Asia/Macau Cuba Standard Time,001,America/Havana Cuba Standard Time,CU,America/Havana Dateline Standard Time,001,Etc/GMT+12 Dateline Standard Time,ZZ,Etc/GMT+12 E. Africa Standard Time,001,Africa/Nairobi E. Africa Standard Time,AQ,Antarctica/Syowa E. Africa Standard Time,DJ,Africa/Nairobi E. Africa Standard Time,ER,Africa/Nairobi E. Africa Standard Time,ET,Africa/Nairobi E. Africa Standard Time,KE,Africa/Nairobi E. Africa Standard Time,KM,Africa/Nairobi E. Africa Standard Time,MG,Africa/Nairobi E. Africa Standard Time,SO,Africa/Nairobi E. Africa Standard Time,SS,Africa/Juba E. Africa Standard Time,TZ,Africa/Nairobi E. Africa Standard Time,UG,Africa/Nairobi E. Africa Standard Time,YT,Africa/Nairobi E. Africa Standard Time,ZZ,Etc/GMT-3 E. Australia Standard Time,001,Australia/Brisbane E. Australia Standard Time,AU,Australia/Brisbane Australia/Lindeman E. Europe Standard Time,001,Europe/Chisinau E. Europe Standard Time,MD,Europe/Chisinau E. South America Standard Time,001,America/Sao_Paulo E. South America Standard Time,BR,America/Sao_Paulo Easter Island Standard Time,001,Pacific/Easter Easter Island Standard Time,CL,Pacific/Easter Eastern Standard Time (Mexico),001,America/Cancun Eastern Standard Time (Mexico),MX,America/Cancun Eastern Standard Time,001,America/New_York Eastern Standard Time,BS,America/Nassau Eastern Standard Time,CA,America/Toronto America/Iqaluit America/Nipigon America/Pangnirtung America/Thunder_Bay Eastern Standard Time,US,America/New_York America/Detroit America/Indiana/Petersburg America/Indiana/Vincennes America/Indiana/Winamac America/Kentucky/Monticello America/Kentucky/Louisville Eastern Standard Time,ZZ,EST5EDT Egypt Standard Time,001,Africa/Cairo Egypt Standard Time,EG,Africa/Cairo Ekaterinburg Standard Time,001,Asia/Yekaterinburg Ekaterinburg Standard Time,RU,Asia/Yekaterinburg FLE Standard Time,001,Europe/Kiev FLE Standard Time,AX,Europe/Helsinki FLE Standard Time,BG,Europe/Sofia FLE Standard Time,EE,Europe/Tallinn FLE Standard Time,FI,Europe/Helsinki FLE Standard Time,LT,Europe/Vilnius FLE Standard Time,LV,Europe/Riga FLE Standard Time,UA,Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye Fiji Standard Time,001,Pacific/Fiji Fiji Standard Time,FJ,Pacific/Fiji GMT Standard Time,001,Europe/London GMT Standard Time,ES,Atlantic/Canary GMT Standard Time,FO,Atlantic/Faroe GMT Standard Time,GB,Europe/London GMT Standard Time,GG,Europe/London GMT Standard Time,IC,Atlantic/Canary GMT Standard Time,IE,Europe/Dublin GMT Standard Time,IM,Europe/London GMT Standard Time,JE,Europe/London GMT Standard Time,PT,Europe/Lisbon Atlantic/Madeira GTB Standard Time,001,Europe/Bucharest GTB Standard Time,CY,Asia/Nicosia Asia/Famagusta GTB Standard Time,GR,Europe/Athens GTB Standard Time,RO,Europe/Bucharest Georgian Standard Time,001,Asia/Tbilisi Georgian Standard Time,GE,Asia/Tbilisi Greenland Standard Time,001,America/Godthab Greenland Standard Time,GL,America/Godthab Greenwich Standard Time,001,Atlantic/Reykjavik Greenwich Standard Time,AC,Atlantic/St_Helena Greenwich Standard Time,BF,Africa/Abidjan Greenwich Standard Time,CI,Africa/Abidjan Greenwich Standard Time,GH,Africa/Accra Greenwich Standard Time,GM,Africa/Abidjan Greenwich Standard Time,GN,Africa/Abidjan Greenwich Standard Time,GW,Africa/Bissau Greenwich Standard Time,IS,Atlantic/Reykjavik Greenwich Standard Time,LR,Africa/Monrovia Greenwich Standard Time,ML,Africa/Abidjan Greenwich Standard Time,MR,Africa/Abidjan Greenwich Standard Time,SH,Africa/Abidjan Greenwich Standard Time,SL,Africa/Abidjan Greenwich Standard Time,SN,Africa/Abidjan Greenwich Standard Time,TA,Atlantic/St_Helena Greenwich Standard Time,TG,Africa/Abidjan Haiti Standard Time,001,America/Port-au-Prince Haiti Standard Time,HT,America/Port-au-Prince Hawaiian Standard Time,001,Pacific/Honolulu Hawaiian Standard Time,CK,Pacific/Rarotonga Hawaiian Standard Time,PF,Pacific/Tahiti Hawaiian Standard Time,UM,Pacific/Honolulu Hawaiian Standard Time,US,Pacific/Honolulu Hawaiian Standard Time,ZZ,Etc/GMT+10 India Standard Time,001,Asia/Kolkata India Standard Time,IN,Asia/Kolkata Iran Standard Time,001,Asia/Tehran Iran Standard Time,IR,Asia/Tehran Israel Standard Time,001,Asia/Jerusalem Israel Standard Time,IL,Asia/Jerusalem Jordan Standard Time,001,Asia/Amman Jordan Standard Time,JO,Asia/Amman Kaliningrad Standard Time,001,Europe/Kaliningrad Kaliningrad Standard Time,RU,Europe/Kaliningrad Kamchatka Standard Time,001,Asia/Kamchatka Korea Standard Time,001,Asia/Seoul Korea Standard Time,KR,Asia/Seoul Libya Standard Time,001,Africa/Tripoli Libya Standard Time,LY,Africa/Tripoli Line Islands Standard Time,001,Pacific/Kiritimati Line Islands Standard Time,KI,Pacific/Kiritimati Line Islands Standard Time,ZZ,Etc/GMT-14 Lord Howe Standard Time,001,Australia/Lord_Howe Lord Howe Standard Time,AU,Australia/Lord_Howe Magadan Standard Time,001,Asia/Magadan Magadan Standard Time,RU,Asia/Magadan Magallanes Standard Time,001,America/Punta_Arenas Magallanes Standard Time,AQ,Antarctica/Palmer Magallanes Standard Time,CL,America/Punta_Arenas Marquesas Standard Time,001,Pacific/Marquesas Marquesas Standard Time,PF,Pacific/Marquesas Mauritius Standard Time,001,Indian/Mauritius Mauritius Standard Time,MU,Indian/Mauritius Mauritius Standard Time,RE,Indian/Reunion Mauritius Standard Time,SC,Indian/Mahe Mid-Atlantic Standard Time,001,Etc/GMT+2 Middle East Standard Time,001,Asia/Beirut Middle East Standard Time,LB,Asia/Beirut Montevideo Standard Time,001,America/Montevideo Montevideo Standard Time,UY,America/Montevideo Morocco Standard Time,001,Africa/Casablanca Morocco Standard Time,EH,Africa/El_Aaiun Morocco Standard Time,MA,Africa/Casablanca Mountain Standard Time (Mexico),001,America/Chihuahua Mountain Standard Time (Mexico),MX,America/Chihuahua America/Mazatlan Mountain Standard Time,001,America/Denver Mountain Standard Time,CA,America/Edmonton America/Cambridge_Bay America/Inuvik America/Yellowknife Mountain Standard Time,MX,America/Ojinaga Mountain Standard Time,US,America/Denver America/Boise Mountain Standard Time,ZZ,MST7MDT Myanmar Standard Time,001,Asia/Yangon Myanmar Standard Time,CC,Indian/Cocos Myanmar Standard Time,MM,Asia/Yangon N. Central Asia Standard Time,001,Asia/Novosibirsk N. Central Asia Standard Time,RU,Asia/Novosibirsk Namibia Standard Time,001,Africa/Windhoek Namibia Standard Time,NA,Africa/Windhoek Nepal Standard Time,001,Asia/Kathmandu Nepal Standard Time,NP,Asia/Kathmandu New Zealand Standard Time,001,Pacific/Auckland New Zealand Standard Time,AQ,Pacific/Auckland New Zealand Standard Time,NZ,Pacific/Auckland Newfoundland Standard Time,001,America/St_Johns Newfoundland Standard Time,CA,America/St_Johns Norfolk Standard Time,001,Pacific/Norfolk Norfolk Standard Time,NF,Pacific/Norfolk North Asia East Standard Time,001,Asia/Irkutsk North Asia East Standard Time,RU,Asia/Irkutsk North Asia Standard Time,001,Asia/Krasnoyarsk North Asia Standard Time,RU,Asia/Krasnoyarsk Asia/Novokuznetsk North Korea Standard Time,001,Asia/Pyongyang North Korea Standard Time,KP,Asia/Pyongyang Omsk Standard Time,001,Asia/Omsk Omsk Standard Time,RU,Asia/Omsk Pacific SA Standard Time,001,America/Santiago Pacific SA Standard Time,CL,America/Santiago Pacific Standard Time (Mexico),001,America/Tijuana Pacific Standard Time (Mexico),MX,America/Tijuana Pacific Standard Time,001,America/Los_Angeles Pacific Standard Time,CA,America/Vancouver America/Dawson America/Whitehorse Pacific Standard Time,US,America/Los_Angeles Pacific Standard Time,ZZ,PST8PDT Pakistan Standard Time,001,Asia/Karachi Pakistan Standard Time,PK,Asia/Karachi Paraguay Standard Time,001,America/Asuncion Paraguay Standard Time,PY,America/Asuncion Romance Standard Time,001,Europe/Paris Romance Standard Time,BE,Europe/Brussels Romance Standard Time,DK,Europe/Copenhagen Romance Standard Time,EA,Africa/Ceuta Romance Standard Time,ES,Europe/Madrid Africa/Ceuta Romance Standard Time,FR,Europe/Paris Russia Time Zone 10,001,Asia/Srednekolymsk Russia Time Zone 10,RU,Asia/Srednekolymsk Russia Time Zone 11,001,Asia/Kamchatka Russia Time Zone 11,RU,Asia/Kamchatka Asia/Anadyr Russia Time Zone 3,001,Europe/Samara Russia Time Zone 3,RU,Europe/Samara Russian Standard Time,001,Europe/Moscow Russian Standard Time,RU,Europe/Moscow Europe/Kirov Europe/Volgograd Russian Standard Time,UA,Europe/Simferopol SA Eastern Standard Time,001,America/Cayenne SA Eastern Standard Time,AQ,Antarctica/Rothera SA Eastern Standard Time,BR,America/Fortaleza America/Belem America/Maceio America/Recife America/Santarem SA Eastern Standard Time,FK,Atlantic/Stanley SA Eastern Standard Time,GF,America/Cayenne SA Eastern Standard Time,SR,America/Paramaribo SA Eastern Standard Time,ZZ,Etc/GMT+3 SA Pacific Standard Time,001,America/Bogota SA Pacific Standard Time,BR,America/Rio_Branco America/Eirunepe SA Pacific Standard Time,CA,America/Atikokan SA Pacific Standard Time,CO,America/Bogota SA Pacific Standard Time,EC,America/Guayaquil SA Pacific Standard Time,JM,America/Jamaica SA Pacific Standard Time,KY,America/Panama SA Pacific Standard Time,PA,America/Panama SA Pacific Standard Time,PE,America/Lima SA Pacific Standard Time,ZZ,Etc/GMT+5 SA Western Standard Time,001,America/La_Paz SA Western Standard Time,AG,America/Port_of_Spain SA Western Standard Time,AI,America/Port_of_Spain SA Western Standard Time,AW,America/Curacao SA Western Standard Time,BB,America/Barbados SA Western Standard Time,BL,America/Port_of_Spain SA Western Standard Time,BO,America/La_Paz SA Western Standard Time,BQ,America/Curacao SA Western Standard Time,BR,America/Manaus America/Boa_Vista America/Porto_Velho SA Western Standard Time,CA,America/Blanc-Sablon SA Western Standard Time,CW,America/Curacao SA Western Standard Time,DM,America/Port_of_Spain SA Western Standard Time,DO,America/Santo_Domingo SA Western Standard Time,GD,America/Port_of_Spain SA Western Standard Time,GP,America/Port_of_Spain SA Western Standard Time,GY,America/Guyana SA Western Standard Time,KN,America/Port_of_Spain SA Western Standard Time,LC,America/Port_of_Spain SA Western Standard Time,MF,America/Port_of_Spain SA Western Standard Time,MQ,America/Martinique SA Western Standard Time,MS,America/Port_of_Spain SA Western Standard Time,PR,America/Puerto_Rico SA Western Standard Time,SX,America/Curacao SA Western Standard Time,TT,America/Port_of_Spain SA Western Standard Time,VC,America/Port_of_Spain SA Western Standard Time,VG,America/Port_of_Spain SA Western Standard Time,VI,America/Port_of_Spain SA Western Standard Time,ZZ,Etc/GMT+4 SE Asia Standard Time,001,Asia/Bangkok SE Asia Standard Time,AQ,Antarctica/Davis SE Asia Standard Time,CX,Indian/Christmas SE Asia Standard Time,ID,Asia/Jakarta Asia/Pontianak SE Asia Standard Time,KH,Asia/Bangkok SE Asia Standard Time,LA,Asia/Bangkok SE Asia Standard Time,TH,Asia/Bangkok SE Asia Standard Time,VN,Asia/Ho_Chi_Minh SE Asia Standard Time,ZZ,Etc/GMT-7 Saint Pierre Standard Time,001,America/Miquelon Saint Pierre Standard Time,PM,America/Miquelon Sakhalin Standard Time,001,Asia/Sakhalin Sakhalin Standard Time,RU,Asia/Sakhalin Samoa Standard Time,001,Pacific/Apia Samoa Standard Time,WS,Pacific/Apia Sao Tome Standard Time,001,Africa/Sao_Tome Sao Tome Standard Time,ST,Africa/Sao_Tome Saratov Standard Time,001,Europe/Saratov Saratov Standard Time,RU,Europe/Saratov Singapore Standard Time,001,Asia/Singapore Singapore Standard Time,BN,Asia/Brunei Singapore Standard Time,ID,Asia/Makassar Singapore Standard Time,MY,Asia/Kuala_Lumpur Asia/Kuching Singapore Standard Time,PH,Asia/Manila Singapore Standard Time,SG,Asia/Singapore Singapore Standard Time,ZZ,Etc/GMT-8 South Africa Standard Time,001,Africa/Johannesburg South Africa Standard Time,BI,Africa/Maputo South Africa Standard Time,BW,Africa/Maputo South Africa Standard Time,CD,Africa/Maputo South Africa Standard Time,LS,Africa/Johannesburg South Africa Standard Time,MW,Africa/Maputo South Africa Standard Time,MZ,Africa/Maputo South Africa Standard Time,RW,Africa/Maputo South Africa Standard Time,SZ,Africa/Johannesburg South Africa Standard Time,ZA,Africa/Johannesburg South Africa Standard Time,ZM,Africa/Maputo South Africa Standard Time,ZW,Africa/Maputo South Africa Standard Time,ZZ,Etc/GMT-2 Sri Lanka Standard Time,001,Asia/Colombo Sri Lanka Standard Time,LK,Asia/Colombo Sudan Standard Time,001,Africa/Khartoum Sudan Standard Time,SD,Africa/Khartoum Syria Standard Time,001,Asia/Damascus Syria Standard Time,SY,Asia/Damascus Taipei Standard Time,001,Asia/Taipei Taipei Standard Time,TW,Asia/Taipei Tasmania Standard Time,001,Australia/Hobart Tasmania Standard Time,AU,Australia/Hobart Australia/Currie Tocantins Standard Time,001,America/Araguaina Tocantins Standard Time,BR,America/Araguaina Tokyo Standard Time,001,Asia/Tokyo Tokyo Standard Time,ID,Asia/Jayapura Tokyo Standard Time,JP,Asia/Tokyo Tokyo Standard Time,PW,Pacific/Palau Tokyo Standard Time,TL,Asia/Dili Tokyo Standard Time,ZZ,Etc/GMT-9 Tomsk Standard Time,001,Asia/Tomsk Tomsk Standard Time,RU,Asia/Tomsk Tonga Standard Time,001,Pacific/Tongatapu Tonga Standard Time,TO,Pacific/Tongatapu Transbaikal Standard Time,001,Asia/Chita Transbaikal Standard Time,RU,Asia/Chita Turkey Standard Time,001,Europe/Istanbul Turkey Standard Time,TR,Europe/Istanbul Turks And Caicos Standard Time,001,America/Grand_Turk Turks And Caicos Standard Time,TC,America/Grand_Turk US Eastern Standard Time,001,America/Indiana/Indianapolis US Eastern Standard Time,US,America/Indiana/Indianapolis America/Indiana/Marengo America/Indiana/Vevay US Mountain Standard Time,001,America/Phoenix US Mountain Standard Time,CA,America/Dawson_Creek America/Creston America/Fort_Nelson US Mountain Standard Time,MX,America/Hermosillo US Mountain Standard Time,US,America/Phoenix US Mountain Standard Time,ZZ,Etc/GMT+7 UTC+12,001,Etc/GMT-12 UTC+12,KI,Pacific/Tarawa UTC+12,MH,Pacific/Majuro Pacific/Kwajalein UTC+12,NR,Pacific/Nauru UTC+12,TV,Pacific/Funafuti UTC+12,UM,Pacific/Wake UTC+12,WF,Pacific/Wallis UTC+12,ZZ,Etc/GMT-12 UTC+13,001,Etc/GMT-13 UTC+13,KI,Pacific/Enderbury UTC+13,TK,Pacific/Fakaofo UTC+13,ZZ,Etc/GMT-13 UTC,001,Etc/UTC UTC,GL,America/Danmarkshavn UTC,ZZ,Etc/UTC UTC-02,001,Etc/GMT+2 UTC-02,BR,America/Noronha UTC-02,GS,Atlantic/South_Georgia UTC-02,ZZ,Etc/GMT+2 UTC-08,001,Etc/GMT+8 UTC-08,PN,Pacific/Pitcairn UTC-08,ZZ,Etc/GMT+8 UTC-09,001,Etc/GMT+9 UTC-09,PF,Pacific/Gambier UTC-09,ZZ,Etc/GMT+9 UTC-11,001,Etc/GMT+11 UTC-11,AS,Pacific/Pago_Pago UTC-11,NU,Pacific/Niue UTC-11,UM,Pacific/Pago_Pago UTC-11,ZZ,Etc/GMT+11 Ulaanbaatar Standard Time,001,Asia/Ulaanbaatar Ulaanbaatar Standard Time,MN,Asia/Ulaanbaatar Asia/Choibalsan Venezuela Standard Time,001,America/Caracas Venezuela Standard Time,VE,America/Caracas Vladivostok Standard Time,001,Asia/Vladivostok Vladivostok Standard Time,RU,Asia/Vladivostok Asia/Ust-Nera W. Australia Standard Time,001,Australia/Perth W. Australia Standard Time,AQ,Antarctica/Casey W. Australia Standard Time,AU,Australia/Perth W. Central Africa Standard Time,001,Africa/Lagos W. Central Africa Standard Time,AO,Africa/Lagos W. Central Africa Standard Time,BJ,Africa/Lagos W. Central Africa Standard Time,CD,Africa/Lagos W. Central Africa Standard Time,CF,Africa/Lagos W. Central Africa Standard Time,CG,Africa/Lagos W. Central Africa Standard Time,CM,Africa/Lagos W. Central Africa Standard Time,DZ,Africa/Algiers W. Central Africa Standard Time,GA,Africa/Lagos W. Central Africa Standard Time,GQ,Africa/Lagos W. Central Africa Standard Time,NE,Africa/Lagos W. Central Africa Standard Time,NG,Africa/Lagos W. Central Africa Standard Time,TD,Africa/Ndjamena W. Central Africa Standard Time,TN,Africa/Tunis W. Central Africa Standard Time,ZZ,Etc/GMT-1 W. Europe Standard Time,001,Europe/Berlin W. Europe Standard Time,AD,Europe/Andorra W. Europe Standard Time,AT,Europe/Vienna W. Europe Standard Time,CH,Europe/Zurich W. Europe Standard Time,DE,Europe/Berlin Europe/Zurich W. Europe Standard Time,GI,Europe/Gibraltar W. Europe Standard Time,IT,Europe/Rome W. Europe Standard Time,LI,Europe/Zurich W. Europe Standard Time,LU,Europe/Luxembourg W. Europe Standard Time,MC,Europe/Monaco W. Europe Standard Time,MT,Europe/Malta W. Europe Standard Time,NL,Europe/Amsterdam W. Europe Standard Time,NO,Europe/Oslo W. Europe Standard Time,SE,Europe/Stockholm W. Europe Standard Time,SJ,Europe/Oslo W. Europe Standard Time,SM,Europe/Rome W. Europe Standard Time,VA,Europe/Rome W. Mongolia Standard Time,001,Asia/Hovd W. Mongolia Standard Time,MN,Asia/Hovd West Asia Standard Time,001,Asia/Tashkent West Asia Standard Time,AQ,Antarctica/Mawson West Asia Standard Time,KZ,Asia/Oral Asia/Aqtau Asia/Aqtobe Asia/Atyrau West Asia Standard Time,MV,Indian/Maldives West Asia Standard Time,TF,Indian/Kerguelen West Asia Standard Time,TJ,Asia/Dushanbe West Asia Standard Time,TM,Asia/Ashgabat West Asia Standard Time,UZ,Asia/Tashkent Asia/Samarkand West Asia Standard Time,ZZ,Etc/GMT-5 West Bank Standard Time,001,Asia/Hebron West Bank Standard Time,PS,Asia/Hebron Asia/Gaza West Pacific Standard Time,001,Pacific/Port_Moresby West Pacific Standard Time,AQ,Antarctica/DumontDUrville West Pacific Standard Time,FM,Pacific/Chuuk West Pacific Standard Time,GU,Pacific/Guam West Pacific Standard Time,MP,Pacific/Guam West Pacific Standard Time,PG,Pacific/Port_Moresby West Pacific Standard Time,ZZ,Etc/GMT-10 Yakutsk Standard Time,001,Asia/Yakutsk Yakutsk Standard Time,RU,Asia/Yakutsk Asia/Khandyga",r.TimeZoneConverter=n},{}],192:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});class n{}n.Add="+",n.Subtract="-",n.Multiply="*",n.Divide="/",n.Min="min",n.Max="max",n.Power="^",n.Mod="%",n.Average="average",n.Sum="sum",n.Count="count",n.Range="range",n.Floor="floor",n.Ceiling="ceiling",n.Round="round",n.Abs="abs",n.Sqrt="sqrt",n.LessThan="<",n.LessThanOrEqual="<=",n.Equal="==",n.NotEqual="!=",n.GreaterThan=">",n.GreaterThanOrEqual=">=",n.Exists="exists",n.Contains="contains",n.Empty="empty",n.And="&&",n.Or="||",n.Not="!",n.Concat="concat",n.Length="length",n.Replace="replace",n.ReplaceIgnoreCase="replaceIgnoreCase",n.Split="split",n.Substring="substring",n.ToLower="toLower",n.ToUpper="toUpper",n.Trim="trim",n.Join="join",n.EndsWith="endsWith",n.StartsWith="startsWith",n.CountWord="countWord",n.AddOrdinal="addOrdinal",n.NewGuid="newGuid",n.IndexOf="indexOf",n.LastIndexOf="lastIndexOf",n.EOL="EOL",n.SentenceCase="sentenceCase",n.TitleCase="titleCase",n.AddDays="addDays",n.AddHours="addHours",n.AddMinutes="addMinutes",n.AddSeconds="addSeconds",n.DayOfMonth="dayOfMonth",n.DayOfWeek="dayOfWeek",n.DayOfYear="dayOfYear",n.Month="month",n.Date="date",n.Year="year",n.UtcNow="utcNow",n.FormatDateTime="formatDateTime",n.FormatEpoch="formatEpoch",n.FormatTicks="formatTicks",n.SubtractFromTime="subtractFromTime",n.DateReadBack="dateReadBack",n.GetTimeOfDay="getTimeOfDay",n.GetFutureTime="getFutureTime",n.GetPastTime="getPastTime",n.ConvertFromUTC="convertFromUTC",n.ConvertToUTC="convertToUTC",n.AddToTime="addToTime",n.StartOfDay="startOfDay",n.StartOfHour="startOfHour",n.StartOfMonth="startOfMonth",n.Ticks="ticks",n.TicksToDays="ticksToDays",n.TicksToHours="ticksToHours",n.TicksToMinutes="ticksToMinutes",n.DateTimeDiff="dateTimeDiff",n.IsDefinite="isDefinite",n.IsTime="isTime",n.IsDuration="isDuration",n.IsDate="isDate",n.IsTimeRange="isTimeRange",n.IsDateRange="isDateRange",n.IsPresent="isPresent",n.GetNextViableDate="getNextViableDate",n.GetPreviousViableDate="getPreviousViableDate",n.GetNextViableTime="getNextViableTime",n.GetPreviousViableTime="getPreviousViableTime",n.TimexResolve="resolve",n.Float="float",n.Int="int",n.String="string",n.Bool="bool",n.Binary="binary",n.Base64="base64",n.Base64ToBinary="base64ToBinary",n.Base64ToString="base64ToString",n.DataUri="dataUri",n.DataUriToBinary="dataUriToBinary",n.DataUriToString="dataUriToString",n.UriComponent="uriComponent",n.UriComponentToString="uriComponentToString",n.FormatNumber="formatNumber",n.JsonStringify="jsonStringify",n.Accessor="Accessor",n.Element="Element",n.CreateArray="createArray",n.First="first",n.Last="last",n.Foreach="foreach",n.Select="select",n.Where="where",n.Union="union",n.Intersection="intersection",n.Skip="skip",n.Take="take",n.FilterNotEqual="filterNotEqual",n.SubArray="subArray",n.SortBy="sortBy",n.SortByDescending="sortByDescending",n.IndicesAndValues="indicesAndValues",n.Flatten="flatten",n.Unique="unique",n.Reverse="reverse",n.Any="any",n.All="all",n.Constant="Constant",n.Lambda="Lambda",n.If="if",n.Rand="rand",n.Json="json",n.AddProperty="addProperty",n.RemoveProperty="removeProperty",n.SetProperty="setProperty",n.GetProperty="getProperty",n.Coalesce="coalesce",n.JPath="jPath",n.SetPathToValue="setPathToValue",n.Merge="merge",n.XML="xml",n.XPath="xPath",n.UriHost="uriHost",n.UriPath="uriPath",n.UriPathAndQuery="uriPathAndQuery",n.UriPort="uriPort",n.UriQuery="uriQuery",n.UriScheme="uriScheme",n.IsMatch="isMatch",n.IsString="isString",n.IsInteger="isInteger",n.IsArray="isArray",n.IsObject="isObject",n.IsFloat="isFloat",n.IsDateTime="isDateTime",n.IsBoolean="isBoolean",n.StringOrValue="stringOrValue",n.Ignore="ignore",n.Optional="optional",r.ExpressionType=n},{}],204:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Options=class{constructor(e){this.nullSubstitution=e?e.nullSubstitution:void 0,this.locale=e?e.locale:void 0}}},{}],212:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});class n{syntaxError(e,t,r,n,i,o){throw Error("Regular expression is invalid.")}}n.Instance=new n,r.RegexErrorListener=n},{}],178:[function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),function(e){e[e.None=0]="None",e[e.LowerD1=1]="LowerD1",e[e.LowerD2=2]="LowerD2",e[e.LowerD3=3]="LowerD3",e[e.LowerD4=4]="LowerD4",e[e.LowerF1=5]="LowerF1",e[e.LowerF2=6]="LowerF2",e[e.LowerF3=7]="LowerF3",e[e.CapitalF1=8]="CapitalF1",e[e.CapitalF2=9]="CapitalF2",e[e.CapitalF3=10]="CapitalF3",e[e.LowerG=11]="LowerG",e[e.LowerH1=12]="LowerH1",e[e.LowerH2=13]="LowerH2",e[e.CapitalH1=14]="CapitalH1",e[e.CapitalH2=15]="CapitalH2",e[e.CapitalK=16]="CapitalK",e[e.LowerM1=17]="LowerM1",e[e.LowerM2=18]="LowerM2",e[e.CapitalM1=19]="CapitalM1",e[e.CapitalM2=20]="CapitalM2",e[e.CapitalM3=21]="CapitalM3",e[e.CapitalM4=22]="CapitalM4",e[e.LowerS1=23]="LowerS1",e[e.LowerS2=24]="LowerS2",e[e.LowerT1=25]="LowerT1",e[e.LowerT2=26]="LowerT2",e[e.LowerY1=27]="LowerY1",e[e.LowerY2=28]="LowerY2",e[e.LowerY3=29]="LowerY3",e[e.LowerY4=30]="LowerY4",e[e.LowerZ1=31]="LowerZ1",e[e.LowerZ2=32]="LowerZ2",e[e.LowerZ3=33]="LowerZ3",e[e.InSingleQuoteLiteral=34]="InSingleQuoteLiteral",e[e.InDoubleQuoteLiteral=35]="InDoubleQuoteLiteral",e[e.EscapeSequence=36]="EscapeSequence"}(n||(n={})),r.convertCSharpDateTimeToDayjs=function(e){let t="",r=n.None,i="";if(0===e.length)return t;if(1===e.length)switch(e){case"R":case"r":throw Error("RFC 1123 not supported in Day.js");case"O":case"o":e="YYYY-MM-DDTHH:mm:ss.SSS0000Z";break;case"U":throw new Error("Universal Fulll Format not supported in Day.js");case"u":throw new Error("Universal Sortable Format not supported in Day.js")}const o=e=>{switch(r){case n.LowerD1:t+="D";break;case n.LowerD2:t+="DD";break;case n.LowerD3:t+="ddd";break;case n.LowerD4:t+="dddd";break;case n.LowerF1:case n.CapitalF1:throw Error("S not supported in Day.js");case n.LowerF2:case n.CapitalF2:throw Error("SS not supported in Day.js");case n.LowerF3:case n.CapitalF3:t+="SSS";break;case n.LowerG:throw Error("Era not supported in Day.js");case n.LowerH1:t+="h";break;case n.LowerH2:t+="hh";break;case n.CapitalH1:t+="H";break;case n.CapitalH2:t+="HH";break;case n.LowerM1:t+="m";break;case n.LowerM2:t+="mm";break;case n.CapitalM1:t+="M";break;case n.CapitalM2:t+="MM";break;case n.CapitalM3:t+="MMM";break;case n.CapitalM4:t+="MMMM";break;case n.LowerS1:t+="s";break;case n.LowerS2:t+="ss";break;case n.LowerT1:case n.LowerT2:t+="A";break;case n.LowerY1:case n.LowerY2:t+="YY";break;case n.LowerY3:case n.LowerY4:t+="YYYY";break;case n.LowerZ1:case n.LowerZ2:t+="ZZ";break;case n.LowerZ3:t+="Z";break;case n.InSingleQuoteLiteral:case n.InDoubleQuoteLiteral:case n.EscapeSequence:for(const e of i)t+=e}i="",r=e};for(const a of e)if(r===n.EscapeSequence)i+=a,o(n.None);else if(r===n.InDoubleQuoteLiteral)"`"===a?o(n.None):i+=a;else if(r===n.InSingleQuoteLiteral)"'"===a?o(n.None):i+=a;else switch(a){case"d":switch(r){case n.LowerD1:r=n.LowerD2;break;case n.LowerD2:r=n.LowerD3;break;case n.LowerD3:r=n.LowerD4;break;case n.LowerD4:break;default:o(n.LowerD1)}break;case"f":switch(r){case n.LowerF1:r=n.LowerF2;break;case n.LowerF2:r=n.LowerF3;break;case n.LowerF3:break;default:o(n.LowerF1)}break;case"F":switch(r){case n.CapitalF1:r=n.CapitalF2;break;case n.CapitalF2:r=n.CapitalF3;break;case n.CapitalF3:break;default:o(n.CapitalF1)}break;case"g":r===n.LowerG||o(n.LowerG);break;case"h":switch(r){case n.LowerH1:r=n.LowerH2;break;case n.LowerH2:break;default:o(n.LowerH1)}break;case"H":switch(r){case n.CapitalH1:r=n.CapitalH2;break;case n.CapitalH2:break;default:o(n.CapitalH1)}break;case"K":o(n.None),t+="Z";break;case"m":switch(r){case n.LowerM1:r=n.LowerM2;break;case n.LowerM2:break;default:o(n.LowerM1)}break;case"M":switch(r){case n.CapitalM1:r=n.CapitalM2;break;case n.CapitalM2:r=n.CapitalM3;break;case n.CapitalM3:r=n.CapitalM4;break;case n.CapitalM4:break;default:o(n.CapitalM1)}break;case"s":switch(r){case n.LowerS1:r=n.LowerS2;break;case n.LowerS2:break;default:o(n.LowerS1)}break;case"t":switch(r){case n.LowerT1:r=n.LowerT2;break;case n.LowerT2:break;default:o(n.LowerT1)}break;case"y":switch(r){case n.LowerY1:r=n.LowerY2;break;case n.LowerY2:r=n.LowerY3;break;case n.LowerY3:r=n.LowerY4;break;case n.LowerY4:break;default:o(n.LowerY1)}break;case"z":switch(r){case n.LowerZ1:r=n.LowerZ2;break;case n.LowerZ2:r=n.LowerZ3;break;case n.LowerZ3:break;default:o(n.LowerZ1)}break;case":":o(n.None),t+=":";break;case"/":o(n.None),t+="/";break;case"`":o(n.InDoubleQuoteLiteral);break;case"'":o(n.InSingleQuoteLiteral);break;case"%":o(n.None);break;case"\\":o(n.EscapeSequence);break;default:o(n.None),t+=a}if(r===n.EscapeSequence||r===n.InDoubleQuoteLiteral||r===n.InSingleQuoteLiteral)throw Error("Invalid Format String");return o(n.None),t}},{}],200:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.localeInfo={"ar-MA":{currency:["د.م. ",""],decimal:",",thousands:".",grouping:[3]},"en-IN":{currency:["₹",""],decimal:".",thousands:",",grouping:[3,2,2,2,2,2,2,2,2,2]},"ar-BH":{currency:[""," د.ب."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-PS":{currency:["₪ ",""],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"en-IE":{currency:["€",""],decimal:".",thousands:",",grouping:[3]},"it-IT":{currency:["€",""],decimal:",",thousands:".",grouping:[3]},"ar-EG":{currency:[""," ج.م."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-IQ":{currency:[""," د.ع."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-EH":{currency:["د.م. ",""],decimal:".",thousands:",",grouping:[3]},"ar-AE":{currency:[""," د.إ."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-MR":{currency:[""," أ.م."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"uk-UA":{currency:[""," ₴."],decimal:",",thousands:" ",grouping:[3]},"ca-ES":{currency:[""," €"],decimal:",",thousands:".",grouping:[3]},"sv-SE":{currency:[""," kr"],decimal:",",thousands:" ",grouping:[3]},"ja-JP":{currency:["","円"],decimal:".",thousands:",",grouping:[3]},"es-ES":{currency:[""," €"],decimal:",",thousands:".",grouping:[3]},"fi-FI":{currency:[""," €"],decimal:",",thousands:" ",grouping:[3]},"ar-DZ":{currency:["د.ج. ",""],decimal:",",thousands:".",grouping:[3]},"en-GB":{currency:["£",""],decimal:".",thousands:",",grouping:[3]},"cs-CZ":{currency:[""," Kč"],decimal:",",thousands:" ",grouping:[3]},"ar-TD":{currency:["‏FCFA ",""],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"de-CH":{currency:[""," CHF"],decimal:",",thousands:"'",grouping:[3]},"nl-NL":{currency:["€ ",""],decimal:",",thousands:".",grouping:[3]},"es-BO":{currency:["Bs ",""],decimal:",",percent:" %",thousands:".",grouping:[3]},"ar-SY":{currency:[""," ل.س."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-JO":{currency:[""," د.أ."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"en-CA":{currency:["$",""],decimal:".",thousands:",",grouping:[3]},"ar-ER":{currency:["Nfk ",""],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-LB":{currency:[""," ل.ل."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"fr-CA":{currency:["","$"],decimal:",",thousands:" ",grouping:[3]},"ar-TN":{currency:["د.ت. ",""],decimal:",",thousands:".",grouping:[3]},"ar-YE":{currency:[""," ر.ى."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ru-RU":{currency:[""," руб."],decimal:",",thousands:" ",grouping:[3]},"en-US":{currency:["$",""],decimal:".",thousands:",",grouping:[3]},"ar-SS":{currency:["£ ",""],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-SO":{currency:["‏S ",""],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"hu-HU":{currency:[""," Ft"],decimal:",",thousands:" ",grouping:[3]},"pt-BR":{currency:["R$",""],decimal:",",thousands:".",grouping:[3]},"ar-DJ":{currency:["‏Fdj ",""],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-SD":{currency:[""," ج.س."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-001":{currency:["",""],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-LY":{currency:["د.ل. ",""],decimal:",",thousands:".",grouping:[3]},"ar-SA":{currency:[""," ر.س."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"ar-KW":{currency:[""," د.ك."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"pl-PL":{currency:["","zł"],decimal:",",thousands:".",grouping:[3]},"ar-QA":{currency:[""," ر.ق."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"mk-MK":{currency:[""," ден."],decimal:",",thousands:".",grouping:[3]},"ko-KR":{currency:["₩",""],decimal:".",thousands:",",grouping:[3]},"es-MX":{currency:["$",""],decimal:".",thousands:",",grouping:[3]},"ar-IL":{currency:["₪ ",""],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"zh-CN":{currency:["¥",""],decimal:".",thousands:",",grouping:[3]},"de-DE":{currency:[""," €"],decimal:",",thousands:".",grouping:[3]},"ar-OM":{currency:[""," ر.ع."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"fr-FR":{currency:[""," €"],decimal:",",percent:" %",thousands:" ",grouping:[3]},"ar-KM":{currency:[""," ف.ج.ق."],decimal:"٫",thousands:"٬",numerals:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],grouping:[3]},"he-IL":{currency:["₪",""],decimal:".",thousands:",",grouping:[3]}}},{}],213:[function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),(n=r.ReturnType||(r.ReturnType={}))[n.Boolean=1]="Boolean",n[n.Number=2]="Number",n[n.Object=4]="Object",n[n.String=8]="String",n[n.Array=16]="Array"},{}],180:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(213);r.ExpressionEvaluator=class{constructor(e,t,r=n.ReturnType.Object,i){this.tryEvaluate=(e,t,r)=>this._evaluator(e,t,r),this.validateExpression=e=>this._validator(e),this.type=e,this._evaluator=t,this.returnType=r,this._validator=i||(e=>{})}get negation(){return this._negation}set negation(e){e._negation=this,this._negation=e}}},{213:213}],167:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(179),i=e(213),o=e(180),a=e(192),s=e(196);r.Constant=class extends n.Expression{constructor(e){super(a.ExpressionType.Constant,new o.ExpressionEvaluator(a.ExpressionType.Constant,(e=>({value:e.value,error:void 0})))),this.singleQuotRegex=new RegExp(/'(?!\\)/g),this.value=e}get value(){return this._value}set value(e){this.evaluator.returnType="string"==typeof e?i.ReturnType.String:"boolean"==typeof e?i.ReturnType.Boolean:s.FunctionUtils.isNumber(e)?i.ReturnType.Number:Array.isArray(e)?i.ReturnType.Array:i.ReturnType.Object,this._value=e}deepEquals(e){let t;if(e&&e.type===this.type){const r=e.value;t=this.value===r}else t=!1;return t}toString(){if(void 0===this.value)return"undefined";if(null===this.value)return"null";if("string"==typeof this.value){let e=this.value;return e=e.replace(/\\/g,"\\\\"),`'${e=this.reverseString(this.reverseString(e).replace(this.singleQuotRegex,(()=>"'\\")))}'`}return s.FunctionUtils.isNumber(this.value)?this.value.toString():"object"==typeof this.value?JSON.stringify(this.value):this.value.toString()}reverseString(e){return e?e.split("").reverse().join(""):e}}},{179:179,180:180,192:192,196:196,213:213}],194:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(181),o=e(196);r.FunctionTable=class{constructor(){this.customFunctions=new Map}keys(){return Array.from(i.ExpressionFunctions.standardFunctions.keys()).concat(Array.from(this.customFunctions.keys()))[Symbol.iterator]()}values(){return Array.from(i.ExpressionFunctions.standardFunctions.values()).concat(Array.from(this.customFunctions.values()))[Symbol.iterator]()}get size(){return i.ExpressionFunctions.standardFunctions.size+this.customFunctions.size}get isReadOnly(){return!1}get(e){return i.ExpressionFunctions.standardFunctions.get(e)?i.ExpressionFunctions.standardFunctions.get(e):this.customFunctions.get(e)?this.customFunctions.get(e):void 0}set(e,t){if(i.ExpressionFunctions.standardFunctions.get(e))throw Error("You can't overwrite a built in function.");return this.customFunctions.set(e,t),this}add(e,t){1===arguments.length?e instanceof Object&&this.set(e.key,e.value):"string"==typeof e&&(t instanceof n.ExpressionEvaluator?this.set(e,t):this.set(e,new n.ExpressionEvaluator(e,o.FunctionUtils.apply(t))))}clear(){this.customFunctions.clear()}has(e){return i.ExpressionFunctions.standardFunctions.has(e)||this.customFunctions.has(e)}delete(e){return this.customFunctions.delete(e)}forEach(e,t){throw Error("forEach function not implemented")}entries(){throw Error("entries function not implemented")}get[Symbol.iterator](){throw Error("Symbol.iterator function not implemented")}get[Symbol.toStringTag](){throw Error("Symbol.toStringTag function not implemented")}}},{180:180,181:181,196:196}],181:[function(e,t,r){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(68)),o=e(192);class a{static getStandardFunctions(){const e=[new i.Abs,new i.Accessor,new i.Add,new i.AddDays,new i.AddHours,new i.AddMinutes,new i.AddOrdinal,new i.AddProperty,new i.AddSeconds,new i.AddToTime,new i.All,new i.And,new i.Any,new i.Average,new i.Base64,new i.Base64ToBinary,new i.Base64ToString,new i.Binary,new i.Bool,new i.Ceiling,new i.Coalesce,new i.Concat,new i.Contains,new i.ConvertFromUTC,new i.ConvertToUTC,new i.Count,new i.CountWord,new i.CreateArray,new i.DataUri,new i.DataUriToBinary,new i.DataUriToString,new i.DateFunc,new i.DateReadBack,new i.DateTimeDiff,new i.DayOfMonth,new i.DayOfWeek,new i.DayOfYear,new i.Divide,new i.Element,new i.Empty,new i.EndsWith,new i.EOL,new i.Equal,new i.Exists,new i.Flatten,new i.First,new i.Float,new i.Floor,new i.Foreach,new i.FormatDateTime,new i.FormatEpoch,new i.FormatNumber,new i.FormatTicks,new i.GetFutureTime,new i.GetNextViableDate,new i.GetNextViableTime,new i.GetPastTime,new i.GetPreviousViableDate,new i.GetPreviousViableTime,new i.GetPastTime,new i.GetProperty,new i.GetTimeOfDay,new i.GreaterThan,new i.GreaterThanOrEqual,new i.If,new i.Ignore,new i.IndexOf,new i.IndicesAndValues,new i.Int,new i.Intersection,new i.IsArray,new i.IsBoolean,new i.IsDate,new i.IsDateRange,new i.IsDateTime,new i.IsDefinite,new i.IsDuration,new i.IsFloat,new i.IsInteger,new i.IsMatch,new i.IsObject,new i.IsPresent,new i.IsString,new i.IsTime,new i.IsTimeRange,new i.Join,new i.JPath,new i.Json,new i.JsonStringify,new i.Last,new i.LastIndexOf,new i.Length,new i.LessThan,new i.LessThanOrEqual,new i.Max,new i.Merge,new i.Min,new i.Mod,new i.Month,new i.Multiply,new i.NewGuid,new i.Not,new i.NotEqual,new i.Optional,new i.Or,new i.Power,new i.Rand,new i.Range,new i.RemoveProperty,new i.Replace,new i.ReplaceIgnoreCase,new i.Reverse,new i.Round,new i.Select,new i.SentenceCase,new i.SetPathToValue,new i.SetProperty,new i.Skip,new i.SortBy,new i.SortByDescending,new i.Split,new i.Sqrt,new i.StartOfDay,new i.StartOfHour,new i.StartOfMonth,new i.StartsWith,new i.String,new i.StringOrValue,new i.SubArray,new i.Substring,new i.Subtract,new i.SubtractFromTime,new i.Sum,new i.Take,new i.Ticks,new i.TicksToDays,new i.TicksToHours,new i.TicksToMinutes,new i.TimexResolve,new i.TitleCase,new i.ToLower,new i.ToUpper,new i.Trim,new i.Union,new i.Unique,new i.UriComponent,new i.UriComponentToString,new i.UriHost,new i.UriPath,new i.UriPathAndQuery,new i.UriPort,new i.UriQuery,new i.UriScheme,new i.UtcNow,new i.Where,new i.XML,new i.XPath,new i.Year],t=new Map;return e.forEach((e=>{t.set(e.type,e)})),t.get(o.ExpressionType.LessThan).negation=t.get(o.ExpressionType.GreaterThanOrEqual),t.get(o.ExpressionType.LessThanOrEqual).negation=t.get(o.ExpressionType.GreaterThan),t.get(o.ExpressionType.Equal).negation=t.get(o.ExpressionType.NotEqual),t.set("add",t.get(o.ExpressionType.Add)),t.set("mul",t.get(o.ExpressionType.Multiply)),t.set("div",t.get(o.ExpressionType.Divide)),t.set("sub",t.get(o.ExpressionType.Subtract)),t.set("exp",t.get(o.ExpressionType.Power)),t.set("mod",t.get(o.ExpressionType.Mod)),t.set("and",t.get(o.ExpressionType.And)),t.set("equals",t.get(o.ExpressionType.Equal)),t.set("greater",t.get(o.ExpressionType.GreaterThan)),t.set("greaterOrEquals",t.get(o.ExpressionType.GreaterThanOrEqual)),t.set("less",t.get(o.ExpressionType.LessThan)),t.set("lessOrEquals",t.get(o.ExpressionType.LessThanOrEqual)),t.set("not",t.get(o.ExpressionType.Not)),t.set("or",t.get(o.ExpressionType.Or)),t.set("&",t.get(o.ExpressionType.Concat)),t.set("??",t.get(o.ExpressionType.Coalesce)),t}}a.standardFunctions=a.getStandardFunctions(),r.ExpressionFunctions=a},{192:192,68:68}],179:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(167),i=e(180),o=e(192),a=e(193),s=e(194),l=e(201),u=e(204),c=e(209),d=e(213);class p{constructor(e,t,...r){if(this.validate=()=>this.evaluator.validateExpression(this),t)this.evaluator=t,this.children=r;else if(void 0!==e){if(!p.functions.get(e))throw Error(e+" does not have an evaluator, it's not a built-in function or a custom function.");this.evaluator=p.functions.get(e),this.children=r}}get returnType(){return this.evaluator.returnType}get type(){return this.evaluator.type}deepEquals(e){let t=!1;if(e&&(t=this.type===e.type))if(t=this.children.length===e.children.length,this.type===o.ExpressionType.And||this.type===o.ExpressionType.Or)for(let r=0;t&&r<this.children.length;r++){const r=this.children[0];let n=!1;for(let t=0;t<this.children.length;t++)if(r.deepEquals(e.children[t])){n=!0;break}t=n}else for(let r=0;t&&r<this.children.length;r++)t=this.children[r].deepEquals(e.children[r]);return t}references(){const{path:e,refs:t}=this.referenceWalk(this);return void 0!==e&&t.add(e),Array.from(t)}referenceWalk(e,t){let r,i=new Set;if(void 0===t||!t(e)){const a=e.children;if(e.type===o.ExpressionType.Accessor){const e=a[0].value;1===a.length&&(r=e),2===a.length&&(({path:r,refs:i}=this.referenceWalk(a[1],t)),void 0!==r&&(r=r.concat(".",e)))}else if(e.type===o.ExpressionType.Element){if(({path:r,refs:i}=this.referenceWalk(a[0],t)),void 0!==r)if(a[1]instanceof n.Constant){const e=a[1];e.returnType===d.ReturnType.String?r+="."+e.value:r+=`[${e.value}]`}else i.add(r);const e=this.referenceWalk(a[1],t),o=e.path,s=e.refs;i=new Set([...i,...s]),void 0!==o&&i.add(o)}else if(e.type===o.ExpressionType.Foreach||e.type===o.ExpressionType.Where||e.type===o.ExpressionType.Select){let e=this.referenceWalk(a[0],t);const r=e.path,n=e.refs;void 0!==r&&n.add(r);const o=(e=this.referenceWalk(a[2],t)).path,s=e.refs;void 0!==o&&s.add(o);const l=a[1].children[0].value,u=Array.from(s).filter((e=>!(e===l||e.startsWith(l+".")||e.startsWith(l+"["))));i=new Set([...i,...n,...u])}else for(const r of e.children){const e=this.referenceWalk(r,t),n=e.path,o=e.refs;i=new Set([...i,...o]),void 0!==n&&i.add(n)}}return{path:r,refs:i}}static parse(e,t){return new c.ExpressionParser(t||p.lookup).parse(e.replace(/^=/,""))}static lookup(e){const t=p.functions.get(e);if(t)return t}static makeExpression(e,t,...r){const n=new p(e,t,...r);return n.validate(),n}static lambaExpression(e){return new p(o.ExpressionType.Lambda,new i.ExpressionEvaluator(o.ExpressionType.Lambda,e))}static lambda(e){return new p(o.ExpressionType.Lambda,new i.ExpressionEvaluator(o.ExpressionType.Lambda,((t,r,n)=>{let i,o;try{i=e(r)}catch(e){o=e}return{value:i,error:o}})))}static setPathToValue(e,t){return t instanceof p?p.makeExpression(o.ExpressionType.SetPathToValue,void 0,e,t):p.makeExpression(o.ExpressionType.SetPathToValue,void 0,e,new n.Constant(t))}static equalsExpression(...e){return p.makeExpression(o.ExpressionType.Equal,void 0,...e)}static andExpression(...e){return e.length>1?p.makeExpression(o.ExpressionType.And,void 0,...e):e[0]}static orExpression(...e){return e.length>1?p.makeExpression(o.ExpressionType.Or,void 0,...e):e[0]}static notExpression(e){return p.makeExpression(o.ExpressionType.Not,void 0,e)}validateTree(){this.validate();for(const e of this.children)e.validateTree()}tryEvaluate(e,t){return a.Extensions.isMemoryInterface(e)||(e=l.SimpleObjectMemory.wrap(e)),t=t||new u.Options,this.evaluator.tryEvaluate(this,e,t)}toString(){let e="",t=!1;if(this.type===o.ExpressionType.Accessor&&this.children.length>=1){if(this.children[0]instanceof n.Constant){const r=this.children[0].value;"string"==typeof r&&(1===this.children.length?(t=!0,e=e.concat(r)):2===this.children.length&&(t=!0,e=e.concat(this.children[1].toString(),".",r)))}}else this.type===o.ExpressionType.Element&&2===this.children.length&&(t=!0,e=e.concat(this.children[0].toString(),"[",this.children[1].toString(),"]"));if(!t){const t=this.type.length>0&&!new RegExp(/[a-z]/i).test(this.type[0])&&this.children.length>=2;t||(e=e.concat(this.type)),e=e.concat("(");let r=!0;for(const n of this.children)r?r=!1:e=t?e.concat(" ",this.type," "):e.concat(", "),e=e.concat(n.toString());e=e.concat(")")}return e}}p.functions=new s.FunctionTable,r.Expression=p},{167:167,180:180,192:192,193:193,194:194,201:201,204:204,209:209,213:213}],196:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(178),o=e(192),a=e(213),s=n(e(420));class l{static validateArityAndAnyType(e,t,r,n=a.ReturnType.Object){if(e.children.length<t)throw new Error(`${e} should have at least ${t} children.`);if(e.children.length>r)throw new Error(`${e} can't have more than ${r} children.`);if(!(n&a.ReturnType.Object))for(const t of e.children)if(!(t.returnType&a.ReturnType.Object||n&t.returnType))throw new Error(l.buildTypeValidatorError(n,t,e))}static validateOrder(e,t,...r){if(void 0===t&&(t=[]),e.children.length<r.length||e.children.length>r.length+t.length)throw new Error(0===t.length?`${e} should have ${r.length} children.`:`${e} should have between ${r.length} and ${r.length+t.length} children.`);for(let t=0;t<r.length;t++){const n=e.children[t],i=r[t];if(!(i&a.ReturnType.Object||n.returnType&a.ReturnType.Object||i&n.returnType))throw new Error(l.buildTypeValidatorError(i,n,e))}for(let n=0;n<t.length;n++){const i=n+r.length;if(i>=e.children.length)break;const o=e.children[i],s=t[n];if(!(s&a.ReturnType.Object||o.returnType&a.ReturnType.Object||s&o.returnType))throw new Error(l.buildTypeValidatorError(s,o,e))}}static validateAtLeastOne(e){l.validateArityAndAnyType(e,1,Number.MAX_SAFE_INTEGER)}static validateNumber(e){l.validateArityAndAnyType(e,1,Number.MAX_SAFE_INTEGER,a.ReturnType.Number)}static validateString(e){l.validateArityAndAnyType(e,1,Number.MAX_SAFE_INTEGER,a.ReturnType.String)}static validateBinary(e){l.validateArityAndAnyType(e,2,2)}static validateBinaryNumber(e){l.validateArityAndAnyType(e,2,2,a.ReturnType.Number)}static validateUnaryOrBinaryNumber(e){l.validateArityAndAnyType(e,1,2,a.ReturnType.Number)}static validateTwoOrMoreThanTwoNumbers(e){l.validateArityAndAnyType(e,2,Number.MAX_VALUE,a.ReturnType.Number)}static validateBinaryNumberOrString(e){l.validateArityAndAnyType(e,2,2,a.ReturnType.Number|a.ReturnType.String)}static validateUnary(e){l.validateArityAndAnyType(e,1,1)}static validateUnaryNumber(e){l.validateArityAndAnyType(e,1,1,a.ReturnType.Number)}static validateUnaryString(e){l.validateArityAndAnyType(e,1,1,a.ReturnType.String)}static validateUnaryOrBinaryString(e){l.validateArityAndAnyType(e,1,2,a.ReturnType.String)}static validateUnaryBoolean(e){l.validateOrder(e,void 0,a.ReturnType.Boolean)}static verifyNumber(e,t,r){let n;return l.isNumber(e)||(n=t+" is not a number."),n}static verifyNumberOrNumericList(e,t,r){let n;if(l.isNumber(e))return n;if(Array.isArray(e)){for(const r of e)if(!l.isNumber(r)){n=`${r} is not a number in ${t}.`;break}}else n=t+" is neither a list nor a number.";return n}static verifyNumericList(e,t,r){let n;if(Array.isArray(e)){for(const r of e)if(!l.isNumber(r)){n=`${r} is not a number in ${t}.`;break}}else n=t+" is not a list.";return n}static verifyContainer(e,t,r){let n;return"string"==typeof e||Array.isArray(e)||e instanceof Map||"object"==typeof e||(n=t+" must be a string, list, map or object."),n}static verifyContainerOrNull(e,t,r){let n;return null==e||"string"==typeof e||Array.isArray(e)||e instanceof Map||"object"==typeof e||(n=t+" must be a string, list, map or object."),n}static verifyNotNull(e,t,r){let n;return null==e&&(n=t+" is null."),n}static verifyInteger(e,t,r){let n;return Number.isInteger(e)||(n=t+" is not a integer."),n}static verifyList(e,t){let r;return Array.isArray(e)||(r=t+" is not a list or array."),r}static verifyString(e,t,r){let n;return"string"!=typeof e&&(n=t+" is not a string."),n}static verifyStringOrNull(e,t,r){let n;return"string"!=typeof e&&void 0!==e&&(n=t+" is neither a string nor a null object."),n}static verifyNumberOrStringOrNull(e,t,r){let n;return"string"==typeof e||void 0===e||l.isNumber(e)||(n=t+" is neither a number nor string"),n}static verifyNumberOrString(e,t,r){let n;return(void 0===e||!l.isNumber(e)&&"string"!=typeof e)&&(n=t+" is not string or number."),n}static verifyBoolean(e,t,r){let n;return"boolean"!=typeof e&&(n=t+" is not a boolean."),n}static evaluateChildren(e,t,r,n){const i=[];let o,a,s=0;for(const l of e.children){if(({value:o,error:a}=l.tryEvaluate(t,r)),a)break;if(void 0!==n&&(a=n(o,l,s)),a)break;i.push(o),++s}return{args:i,error:a}}static apply(e,t){return(r,n,i)=>{let o;const{args:a,error:s}=l.evaluateChildren(r,n,i,t);let u=s;if(!u)try{o=e(a)}catch(e){u=e.message}return{value:o,error:u}}}static applyWithError(e,t){return(r,n,i)=>{let o;const{args:a,error:s}=l.evaluateChildren(r,n,i,t);let u=s;if(!u)try{({value:o,error:u}=e(a))}catch(e){u=e.message}return{value:o,error:u}}}static applyWithOptionsAndError(e,t){return(r,n,i)=>{let o;const{args:a,error:s}=l.evaluateChildren(r,n,i,t);let u=s;if(!u)try{({value:o,error:u}=e(a,i))}catch(e){u=e.message}return{value:o,error:u}}}static applyWithOptions(e,t){return(r,n,i)=>{let o;const{args:a,error:s}=l.evaluateChildren(r,n,i,t);let u=s;if(!u)try{o=e(a,i)}catch(e){u=e.message}return{value:o,error:u}}}static applySequence(e,t){return l.apply((t=>{const r=[void 0,void 0];let n=t[0];for(let i=1;i<t.length;i++)r[0]=n,r[1]=t[i],n=e(r);return n}),t)}static applySequenceWithError(e,t){return l.applyWithError((t=>{const r=[void 0,void 0];let n,i,o=t[0];for(let a=1;a<t.length;a++){if(r[0]=o,r[1]=t[a],({value:n,error:i}=e(r)),i)return{value:n,error:i};o=n}return{value:o,error:void 0}}),t)}static determineLocale(e,t,r="en-us"){if(e.length===t){const n=e[t-1];"string"==typeof n&&(r=n)}return r}static determineFormatAndLocale(e,t,r,n="en-us"){if(t>=2)if(e.length===t){const i=e[t-1],o=e[t-2];"string"==typeof i&&"string"==typeof o&&(r=""!==o?l.timestampFormatter(o):l.DefaultDateTimeFormat,n=i.substr(0,2))}else if(e.length===t-1){const n=e[t-2];"string"==typeof n&&(r=l.timestampFormatter(n))}return{format:r,locale:n}}static timestampFormatter(e){if(!e)return l.DefaultDateTimeFormat;let t=e;try{t=i.convertCSharpDateTimeToDayjs(e)}catch(e){}return t}static tryAccumulatePath(e,t,r){let n="",i=e;for(;void 0!==i;)if(i.type===o.ExpressionType.Accessor)n=i.children[0].value+"."+n,i=2===i.children.length?i.children[1]:void 0;else{if(i.type!==o.ExpressionType.Element)break;{const{value:e,error:o}=i.children[1].tryEvaluate(t,r);if(void 0!==o)return{path:void 0,left:void 0,error:o};if(l.isNumber(parseInt(e)))n=`[${e}].${n}`;else{if("string"!=typeof e)return{path:void 0,left:void 0,error:i.children[1].toString()+" doesn't return an int or string"};n=`['${e}'].${n}`}i=i.children[0]}}return""===(n=n.replace(/(\.*$)/g,"").replace(/(\.\[)/g,"["))&&(n=void 0),{path:n,left:i,error:void 0}}static isNumber(e){return null!=e&&"number"==typeof e&&!Number.isNaN(e)}static commonEquals(e,t){if(null==e||null==t)return null==e&&null==t;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,r)=>l.commonEquals(e,t[r])));const r=l.getPropertyCount(e),n=l.getPropertyCount(t);if(r>=0&&n>=0){if(r!==n)return!1;const i=l.convertToObj(e),o=l.convertToObj(t);return s.default(i,o)}if(l.isNumber(e)&&l.isNumber(t)&&Math.abs(e-t)<Number.EPSILON)return!0;try{return e===t}catch(e){return!1}}static buildTypeValidatorError(e,t,r){const n=Object.keys(a.ReturnType).filter((e=>!(parseInt(e)>=0))),i=[];for(const t of n)e&a.ReturnType[t]&&i.push(t);return 1===i.length?`${t} is not a ${i[0]} expression in ${r}.`:`${t} in ${r} is not any of [${i.join(", ")}].`}static getPropertyCount(e){let t=-1;return null==e||Array.isArray(e)||(e instanceof Map?t=e.size:"object"!=typeof e||e instanceof Date||(t=Object.keys(e).length)),t}static convertToObj(e){return l.getPropertyCount(e)>=0?(e instanceof Map?Array.from(e.entries()):Object.entries(e)).reduce(((e,[t,r])=>Object.assign({},e,{[t]:l.convertToObj(r)})),{}):Array.isArray(e)?e.map((e=>l.convertToObj(e))):e}}l.DefaultDateTimeFormat="YYYY-MM-DDTHH:mm:ss.SSS[Z]",r.FunctionUtils=l},{178:178,192:192,213:213,420:420}],186:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(182)),n(e(183)),n(e(184)),n(e(185)),n(e(187)),n(e(188)),n(e(189)),n(e(190)),n(e(191))},{182:182,183:183,184:184,185:185,187:187,188:188,189:189,190:190,191:191}],216:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(215)),n(e(217)),n(e(218)),n(e(219)),n(e(220)),n(e(221))},{215:215,217:217,218:218,219:219,220:220,221:221}],172:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(168)),n(e(169)),n(e(170)),n(e(171)),n(e(173)),n(e(174)),n(e(175)),n(e(176)),n(e(177))},{168:168,169:169,170:170,171:171,173:173,174:174,175:175,176:176,177:177}],209:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(210)),n(e(205)),n(e(211)),n(e(208))},{205:205,208:208,210:210,211:211}],199:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(197)),n(e(198))},{197:197,198:198}],68:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(2)),n(e(3)),n(e(4)),n(e(5)),n(e(6)),n(e(7)),n(e(8)),n(e(9)),n(e(10)),n(e(11)),n(e(12)),n(e(13)),n(e(14)),n(e(15)),n(e(16)),n(e(17)),n(e(18)),n(e(19)),n(e(20)),n(e(21)),n(e(22)),n(e(23)),n(e(24)),n(e(25)),n(e(26)),n(e(27)),n(e(28)),n(e(29)),n(e(30)),n(e(31)),n(e(32)),n(e(33)),n(e(34)),n(e(35)),n(e(36)),n(e(37)),n(e(38)),n(e(39)),n(e(40)),n(e(41)),n(e(42)),n(e(43)),n(e(44)),n(e(45)),n(e(46)),n(e(48)),n(e(47)),n(e(49)),n(e(50)),n(e(51)),n(e(52)),n(e(53)),n(e(54)),n(e(55)),n(e(56)),n(e(57)),n(e(58)),n(e(59)),n(e(60)),n(e(61)),n(e(59)),n(e(62)),n(e(63)),n(e(64)),n(e(65)),n(e(66)),n(e(67)),n(e(69)),n(e(70)),n(e(71)),n(e(72)),n(e(73)),n(e(74)),n(e(75)),n(e(76)),n(e(77)),n(e(78)),n(e(79)),n(e(80)),n(e(81)),n(e(82)),n(e(83)),n(e(84)),n(e(85)),n(e(86)),n(e(87)),n(e(89)),n(e(88)),n(e(90)),n(e(91)),n(e(92)),n(e(93)),n(e(94)),n(e(95)),n(e(96)),n(e(97)),n(e(98)),n(e(99)),n(e(100)),n(e(101)),n(e(102)),n(e(103)),n(e(104)),n(e(105)),n(e(106)),n(e(107)),n(e(108)),n(e(109)),n(e(110)),n(e(111)),n(e(112)),n(e(113)),n(e(114)),n(e(115)),n(e(116)),n(e(117)),n(e(118)),n(e(119)),n(e(120)),n(e(121)),n(e(122)),n(e(123)),n(e(124)),n(e(125)),n(e(126)),n(e(127)),n(e(128)),n(e(129)),n(e(130)),n(e(131)),n(e(132)),n(e(133)),n(e(134)),n(e(135)),n(e(136)),n(e(137)),n(e(138)),n(e(139)),n(e(140)),n(e(141)),n(e(142)),n(e(143)),n(e(144)),n(e(145)),n(e(146)),n(e(147)),n(e(148)),n(e(149)),n(e(150)),n(e(151)),n(e(152)),n(e(153)),n(e(154)),n(e(155)),n(e(156)),n(e(157)),n(e(158)),n(e(159)),n(e(160)),n(e(161)),n(e(162)),n(e(163)),n(e(164)),n(e(165))},{10:10,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,11:11,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,12:12,120:120,121:121,122:122,123:123,124:124,125:125,126:126,127:127,128:128,129:129,13:13,130:130,131:131,132:132,133:133,134:134,135:135,136:136,137:137,138:138,139:139,14:14,140:140,141:141,142:142,143:143,144:144,145:145,146:146,147:147,148:148,149:149,15:15,150:150,151:151,152:152,153:153,154:154,155:155,156:156,157:157,158:158,159:159,16:16,160:160,161:161,162:162,163:163,164:164,165:165,17:17,18:18,19:19,2:2,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,3:3,30:30,31:31,32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,4:4,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,5:5,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,6:6,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,69:69,7:7,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,8:8,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,9:9,90:90,91:91,92:92,93:93,94:94,95:95,96:96,97:97,98:98,99:99}],166:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(338),o=n(e(223)),a=e(199),s=e(212);class l{static CreateRegex(e){let t;if(e&&this.regexCache.has(e))t=this.regexCache.get(e);else{if(!e||!this.isCommonRegex(e))throw new Error(`'${e}' is not a valid regex.`);t=this.getRegExpFromString(e),this.regexCache.set(e,t)}return t}static getRegExpFromString(e){let t="";return["(?i)","(?m)","(?s)"].forEach((r=>{e.includes(r)&&(t+=r.substr(2,1),e=e.replace(r,""))})),t?new RegExp(""+e,t):new RegExp(""+e)}static isCommonRegex(e){try{this.antlrParse(e)}catch(e){return!1}return!0}static antlrParse(e){const t=new i.ANTLRInputStream(e),r=new a.CommonRegexLexer(t);r.removeErrorListeners();const n=new i.CommonTokenStream(r),o=new a.CommonRegexParser(n);return o.removeErrorListeners(),o.addErrorListener(s.RegexErrorListener.Instance),o.buildParseTree=!0,o.parse()}}l.regexCache=new o.default(15),r.CommonRegex=l},{199:199,212:212,223:223,338:338}],201:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(202)),n(e(203))},{202:202,203:203}],2:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(107);class o extends i.NumberTransformEvaluator{constructor(){super(n.ExpressionType.Abs,o.func)}static func(e){return Math.abs(e[0])}}r.Abs=o},{107:107,192:192}],107:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(196),o=e(213);class a extends n.ExpressionEvaluator{constructor(e,t){super(e,a.evaluator(t),o.ReturnType.Number,i.FunctionUtils.validateUnaryNumber)}static evaluator(e){return i.FunctionUtils.apply(e,i.FunctionUtils.verifyNumber)}}r.NumberTransformEvaluator=a},{180:180,196:196,213:213}],3:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(202),l=e(213);class u extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Accessor,u.evaluator,l.ReturnType.Object,u.validator)}static evaluator(e,t,r){const{path:n,left:i,error:l}=o.FunctionUtils.tryAccumulatePath(e,t,r);if(l)return{value:void 0,error:l};if(null==i)return{value:a.InternalFunctionUtils.wrapGetValue(t,n,r),error:void 0};{const{value:e,error:o}=i.tryEvaluate(t,r);return o?{value:void 0,error:o}:{value:a.InternalFunctionUtils.wrapGetValue(new s.SimpleObjectMemory(e),n,r),error:void 0}}}static validator(e){const t=e.children;if(0===t.length||t[0].type!==i.ExpressionType.Constant||t[0].returnType!==l.ReturnType.String)throw new Error(e+" must have a string as first argument.");if(t.length>2)throw new Error(e+" has more than 2 children.");if(2===t.length&&!(t[1].returnType&l.ReturnType.Object))throw new Error(e+" must have an object as its second argument.")}}r.Accessor=u},{180:180,192:192,195:195,196:196,202:202,213:213}],195:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(167),o=n(e(388)),a=n(e(391));o.default.extend(a.default);const s=e(192),l=e(201),u=e(222),c=e(385),d=e(426);class p{static parseTimexProperty(e){let t;if(e instanceof u.TimexProperty)t=e;else if("string"==typeof e)t=new u.TimexProperty(e);else if(void 0===(t=new u.TimexProperty(e))||0===Object.keys(t).length)return{timexProperty:t,error:e+" requires a TimexProperty or a string as a argument"};return{timexProperty:t,error:void 0}}static sortBy(e){return(t,r,n)=>{let i;const{value:o,error:a}=t.children[0].tryEvaluate(r,n);let s=a;if(!s)if(Array.isArray(o)){const a=o.slice(0);if(1===t.children.length)i=e?a.sort().reverse():a.sort();else{let o;({value:o,error:s}=t.children[1].tryEvaluate(r,n)),s||(o=o||""),i=e?a.sort(p.sortByKey(o)).reverse():a.sort(p.sortByKey(o))}}else s=t.children[0]+" is not an array";return{value:i,error:s}}}static accessIndex(e,t){if(null==e)return{value:void 0,error:void 0};let r,n;return Array.isArray(e)?t>=0&&t<e.length?r=e[t]:n=`${t} is out of range for ${e}`:n=e+" is not a collection.",{value:r,error:n}}static verifyTimestamp(e){let t;try{const r=new Date(e);Number.isNaN(r.getTime())&&(t=e+" is not a valid datetime string.")}catch(r){t=e+" is not a valid datetime string."}return t}static verifyISOTimestamp(e){let t;try{const r=new Date(e);Number.isNaN(r.getTime())?t=e+" is not a valid datetime string.":r.toISOString()!==e&&(t=e+" is not a ISO format datetime string.")}catch(r){t=e+" is not a valid datetime string."}return t}static ticks(e){let t;const r=this.verifyISOTimestamp(e);if(!r){const r=o.default(e).utc().valueOf();t=this.UnixMilliSecondToTicksConstant.add(c(r).times(this.MillisecondToTickConstant))}return{value:t,error:r}}static accessProperty(e,t){if(!e)return{value:void 0,error:void 0};let r;if(e instanceof Map&&void 0!==e){const n=e;if(void 0===(r=n.get(t))){const e=Array.from(n.keys()).find((e=>e.toLowerCase()===t.toLowerCase()));void 0!==e&&(r=n.get(e))}}else{const n=Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase()));void 0!==n&&(r=e[n])}return{value:r,error:void 0}}static wrapGetValue(e,t,r){const n=e.getValue(t);return void 0!==n?n:void 0!==r.nullSubstitution?r.nullSubstitution(t):void 0}static parseStringOrUndefined(e){return"string"==typeof e?e:""}static isLogicTrue(e){let t=!0;return"boolean"==typeof e?t=e:null==e&&(t=!1),t}static foreach(e,t,r){let n;const{value:i,error:o}=e.children[0].tryEvaluate(t,r);let a=o;if(i||(a=`'${e.children[0]}' evaluated to null.`),!a){const o=p.convertToList(i);o?(n=[],p.lambdaEvaluator(e,t,r,o,((e,t,r)=>r?(a=r,!0):(n.push(t),!1)))):a=e.children[0]+" is not a collection or structure object to run Foreach"}return{value:n,error:a}}static lambdaEvaluator(e,t,r,n,o){const a=e.children[1].children[0];if(!(a instanceof i.Constant)||"string"!=typeof a.value)return;const s=a.value,u=l.StackedMemory.wrap(t);for(const t of n){const n=t,i=new Map([[s,t]]);u.push(l.SimpleObjectMemory.wrap(i));const{value:a,error:c}=e.children[2].tryEvaluate(u,r);if(u.pop(),o(n,a,c))break}}static convertToList(e){let t;return Array.isArray(e)?t=e:"object"==typeof e&&(t=[],Object.keys(e).forEach((r=>t.push({key:r,value:e[r]})))),t}static ValidateLambdaExpression(e){if(3!==e.children.length)throw new Error("Lambda expression expect 3 parameters, found "+e.children.length);const t=e.children[1];if(t.type!==s.ExpressionType.Accessor||1!==t.children.length)throw new Error("Second parameter is not an identifier : "+t)}static parseUri(e){let t,r;try{t=new URL(e)}catch(t){r="Invalid URI: "+e}return{value:t,error:r}}static timeUnitTransformer(e,t){switch(t){case"Day":return{duration:e,tsStr:"day"};case"Week":return{duration:7*e,tsStr:"day"};case"Second":return{duration:e,tsStr:"second"};case"Minute":return{duration:e,tsStr:"minute"};case"Hour":return{duration:e,tsStr:"hour"};case"Month":return{duration:e,tsStr:"month"};case"Year":return{duration:e,tsStr:"year"};default:return{duration:e,tsStr:void 0}}}static getTextEncoder(){return"undefined"!=typeof window||"undefined"!=typeof self?new TextEncoder:new d.TextEncoder}static getTextDecoder(e="utf-8"){return"undefined"!=typeof window||"undefined"!=typeof self?new TextDecoder(e):new d.TextDecoder(e)}static commonStringify(e){return null==e?"":"object"==typeof e?JSON.stringify(e).replace(/(^['"]*)/g,"").replace(/(['"]*$)/g,""):e.toString()}static sortByKey(e){return(t,r)=>t[e]>r[e]?1:r[e]>t[e]?-1:0}}p.UnixMilliSecondToTicksConstant=c("621355968000000000"),p.MillisecondToTickConstant=c("10000"),r.InternalFunctionUtils=p},{167:167,192:192,201:201,222:222,385:385,388:388,391:391,426:426}],202:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(193),i=e(195);class o{constructor(e){this.memory=void 0,this.memory=e}static wrap(e){return n.Extensions.isMemoryInterface(e)?e:new o(e)}getValue(e){if(void 0===this.memory||0===e.length)return;const t=e.split(/[.[\]]+/).filter((e=>void 0!==e&&""!==e)).map((e=>e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'")?e.substr(1,e.length-2):e));let r,n=this.memory;for(const e of t){let t;const o=parseInt(e);if(!isNaN(o)&&Array.isArray(n)?({value:r,error:t}=i.InternalFunctionUtils.accessIndex(n,o)):({value:r,error:t}=i.InternalFunctionUtils.accessProperty(n,e)),t)return;n=r}return r}setValue(e,t){if(void 0===this.memory)return;const r=e.split(/[.[\]]+/).filter((e=>void 0!==e&&""!==e)).map((e=>e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'")?e.substr(1,e.length-2):e));let n,o=this.memory,a="";for(let e=0;e<r.length-1;e++){const t=parseInt(r[e]);if(!isNaN(t)&&Array.isArray(o)?(a=`[${r[e]}]`,({value:o,error:n}=i.InternalFunctionUtils.accessIndex(o,t))):(a="."+r[e],({value:o,error:n}=i.InternalFunctionUtils.accessProperty(o,r[e]))),n)return;if(void 0===o)return void(a=a.replace(/(^\.*)/g,""))}const s=parseInt(r[r.length-1]);if(isNaN(s)){if(n=this.setProperty(o,r[r.length-1],t).error)return}else if(Array.isArray(o)?s>o.length?n=s+" index out of range":s===o.length?o.push(t):o[s]=t:n="set value for an index to a non-list object",n)return}version(){return this.toString()}toString(){return JSON.stringify(this.memory,this.getCircularReplacer())}getCircularReplacer(){const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&r){if(e.has(r))return;e.add(r)}return r}}setProperty(e,t,r){const n=r;return e instanceof Map?e.set(t,r):e[t]=r,{value:n,error:void 0}}}r.SimpleObjectMemory=o},{193:193,195:195}],4:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Add,s.evaluator(),a.ReturnType.String|a.ReturnType.Number,s.validator)}static evaluator(){return o.FunctionUtils.applySequenceWithError((e=>{let t,r;const n=!o.FunctionUtils.isNumber(e[0])||!o.FunctionUtils.isNumber(e[1]);return null==e[0]&&o.FunctionUtils.isNumber(e[1])||null==e[1]&&o.FunctionUtils.isNumber(e[0])?r="Operator '+' or add cannot be applied to operands of type 'number' and null object.":t=n?null==e[0]&&null==e[1]?"":null==e[0]?e[1].toString():null==e[1]?e[0].toString():e[0].toString()+e[1].toString():e[0]+e[1],{value:t,error:r}}),o.FunctionUtils.verifyNumberOrStringOrNull)}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,2,Number.MAX_SAFE_INTEGER,a.ReturnType.String|a.ReturnType.Number)}}r.Add=s},{180:180,192:192,196:196,213:213}],5:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(145);r.AddDays=class extends i.TimeTransformEvaluator{constructor(){super(n.ExpressionType.AddDays,((e,t)=>{const r=new Date(e);return r.setDate(e.getDate()+t),r}))}}},{145:145,192:192}],145:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(196),l=e(195),u=e(213);class c extends a.ExpressionEvaluator{constructor(e,t){super(e,c.evaluator(t),u.ReturnType.String,c.validator)}static evaluator(e){return(t,r,n)=>{let o,a=n.locale?n.locale:Intl.DateTimeFormat().resolvedOptions().locale,u=s.FunctionUtils.DefaultDateTimeFormat;const{args:c,error:d}=s.FunctionUtils.evaluateChildren(t,r,n);let p=d;return p||(({format:u,locale:a}=s.FunctionUtils.determineFormatAndLocale(c,4,u,a)),"string"==typeof c[0]&&s.FunctionUtils.isNumber(c[1])?(p=l.InternalFunctionUtils.verifyISOTimestamp(c[0]))||(o=i.default(e(new Date(c[0]),c[1])).locale(a).utc().format(u)):p=t+" should contain an ISO format timestamp and a time interval integer."),{value:o,error:p}}}static validator(e){s.FunctionUtils.validateOrder(e,[u.ReturnType.String,u.ReturnType.String],u.ReturnType.String,u.ReturnType.Number)}}r.TimeTransformEvaluator=c},{180:180,195:195,196:196,213:213,388:388,391:391}],6:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(145);r.AddHours=class extends i.TimeTransformEvaluator{constructor(){super(n.ExpressionType.AddHours,((e,t)=>{const r=new Date(e);return r.setHours(e.getHours()+t),r}))}}},{145:145,192:192}],7:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(145);r.AddMinutes=class extends i.TimeTransformEvaluator{constructor(){super(n.ExpressionType.AddMinutes,((e,t)=>{const r=new Date(e);return r.setMinutes(e.getMinutes()+t),r}))}}},{145:145,192:192}],8:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.AddOrdinal,s.evaluator(),a.ReturnType.String,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>s.evalAddOrdinal(e[0])),o.FunctionUtils.verifyInteger)}static evalAddOrdinal(e){let t=!1,r=e.toString();if(e>0){switch(e%100){case 11:case 12:case 13:r+="th",t=!0}if(!t)switch(e%10){case 1:r+="st";break;case 2:r+="nd";break;case 3:r+="rd";break;default:r+="th"}}return r}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,1,1,a.ReturnType.Number)}}r.AddOrdinal=s},{180:180,192:192,196:196,213:213}],9:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.AddProperty,s.evaluator(),a.ReturnType.Object,s.validator)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{let t;const r=e[0],n=String(e[1]);return n in r?t=n+" already exists":r[String(e[1])]=e[2],{value:r,error:t}}))}static validator(e){o.FunctionUtils.validateOrder(e,void 0,a.ReturnType.Object,a.ReturnType.String,a.ReturnType.Object)}}r.AddProperty=s},{180:180,192:192,196:196,213:213}],10:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(145);r.AddSeconds=class extends i.TimeTransformEvaluator{constructor(){super(n.ExpressionType.AddSeconds,((e,t)=>{const r=new Date(e);return r.setSeconds(e.getSeconds()+t),r}))}}},{145:145,192:192}],11:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.AddToTime,d.evaluator,c.ReturnType.String,d.validator)}static evaluator(e,t,r){let n,i=r.locale?r.locale:Intl.DateTimeFormat().resolvedOptions().locale,o=l.FunctionUtils.DefaultDateTimeFormat;const{args:a,error:s}=l.FunctionUtils.evaluateChildren(e,t,r);let u=s;return u||(({format:o,locale:i}=l.FunctionUtils.determineFormatAndLocale(a,5,o,i)),"string"==typeof a[0]&&Number.isInteger(a[1])&&"string"==typeof a[2]?({value:n,error:u}=d.evalAddToTime(a[0],a[1],a[2],o,i)):u=e+" should contain an ISO format timestamp, a time interval integer, a string unit of time and an optional output format string."),{value:n,error:u}}static evalAddToTime(e,t,r,n,o){let a;const s=u.InternalFunctionUtils.verifyISOTimestamp(e);if(!s){const{duration:s,tsStr:l}=u.InternalFunctionUtils.timeUnitTransformer(t,r);a=i.default(e).locale(o).utc().add(s,l).format(n)}return{value:a,error:s}}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.String,c.ReturnType.Number,c.ReturnType.String)}}r.AddToTime=d},{180:180,192:192,195:195,196:196,213:213,388:388,391:391}],391:[function(e,t,r){var n;n=function(){return function(e,t,r){var n=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},n.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),"minute"):t},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var i=n.parse;n.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),i.call(this,e)};var o=n.init;n.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else o.call(this)};var a=n.utcOffset;n.utcOffset=function(e,t){var r=this.$utils().u;if(r(e))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;var n=Math.abs(e)<=16?60*e:e,i=this;if(t)return i.$offset=n,i.$u=0===e,i;if(0!==e){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(n+o,"minute")).$offset=n,i.$x.$localOffset=o}else i=this.utc();return i};var s=n.format;n.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return s.call(this,t)},n.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*e},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var l=n.toDate;n.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var u=n.diff;n.diff=function(e,t,n){if(e&&this.$u===e.$u)return u.call(this,e,t,n);var i=this.local(),o=r(e).local();return u.call(i,o,t,n)}}},"object"==typeof r&&void 0!==t?t.exports=n():this.dayjs_plugin_utc=n()},{}],388:[function(e,t,r){var n;n=function(){var e="millisecond",t="second",r="minute",n="hour",i="day",o="week",a="month",s="quarter",l="year",u="date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+f(n,2,"0")+":"+f(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,a),o=r-i<0,s=t.clone().add(n+(o?-1:1),a);return+(-(n+(r-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return{M:a,y:l,w:o,d:i,D:u,h:n,m:r,s:t,ms:e,Q:s}[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},m="en",y={};y[m]=p;var v=function(e){return e instanceof E},g=function(e,t,r){var n;if(!e)return m;if("string"==typeof e)y[e]&&(n=e),t&&(y[e]=t,n=e);else{var i=e.name;y[i]=e,n=i}return!r&&n&&(m=n),n||!r&&m},b=function(e,t){if(v(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new E(r)},C=h;C.l=g,C.i=v,C.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function p(e){this.$L=g(e.locale,null,!0),this.parse(e)}var f=p.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(C.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(c);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return C},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.isSame=function(e,t){var r=b(e);return this.startOf(t)<=r&&r<=this.endOf(t)},f.isAfter=function(e,t){return b(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<b(e)},f.$g=function(e,t,r){return C.u(e)?this[t]:this.set(r,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,s){var c=this,d=!!C.u(s)||s,p=C.p(e),f=function(e,t){var r=C.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return d?r:r.endOf(i)},h=function(e,t){return C.w(c.toDate()[e].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},m=this.$W,y=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(p){case l:return d?f(1,0):f(31,11);case a:return d?f(1,y):f(0,y+1);case o:var b=this.$locale().weekStart||0,E=(m<b?m+7:m)-b;return f(d?v-E:v+(6-E),y);case i:case u:return h(g+"Hours",0);case n:return h(g+"Minutes",1);case r:return h(g+"Seconds",2);case t:return h(g+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(o,s){var c,d=C.p(o),p="set"+(this.$u?"UTC":""),f=(c={},c[i]=p+"Date",c[u]=p+"Date",c[a]=p+"Month",c[l]=p+"FullYear",c[n]=p+"Hours",c[r]=p+"Minutes",c[t]=p+"Seconds",c[e]=p+"Milliseconds",c)[d],h=d===i?this.$D+(s-this.$W):s;if(d===a||d===l){var m=this.clone().set(u,1);m.$d[f](h),m.init(),this.$d=m.set(u,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[C.p(e)]()},f.add=function(e,s){var u,c=this;e=Number(e);var d=C.p(s),p=function(t){var r=b(c);return C.w(r.date(r.date()+Math.round(t*e)),c)};if(d===a)return this.set(a,this.$M+e);if(d===l)return this.set(l,this.$y+e);if(d===i)return p(1);if(d===o)return p(7);var f=(u={},u[r]=6e4,u[n]=36e5,u[t]=1e3,u)[d]||1,h=this.$d.getTime()+e*f;return C.w(h,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var r=e||"YYYY-MM-DDTHH:mm:ssZ",n=C.z(this),i=this.$locale(),o=this.$H,a=this.$m,s=this.$M,l=i.weekdays,u=i.months,c=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].substr(0,o)},p=function(e){return C.s(o%12||12,e,"0")},f=i.meridiem||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:C.s(s+1,2,"0"),MMM:c(i.monthsShort,s,u,3),MMMM:c(u,s),D:this.$D,DD:C.s(this.$D,2,"0"),d:String(this.$W),dd:c(i.weekdaysMin,this.$W,l,2),ddd:c(i.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(o),HH:C.s(o,2,"0"),h:p(1),hh:p(2),a:f(o,a,!0),A:f(o,a,!1),m:String(a),mm:C.s(a,2,"0"),s:String(this.$s),ss:C.s(this.$s,2,"0"),SSS:C.s(this.$ms,3,"0"),Z:n};return r.replace(d,(function(e,t){return t||h[e]||n.replace(":","")}))},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(e,u,c){var d,p=C.p(u),f=b(e),h=6e4*(f.utcOffset()-this.utcOffset()),m=this-f,y=C.m(this,f);return y=(d={},d[l]=y/12,d[a]=y,d[s]=y/3,d[o]=(m-h)/6048e5,d[i]=(m-h)/864e5,d[n]=m/36e5,d[r]=m/6e4,d[t]=m/1e3,d)[p]||m,c?y:C.a(y)},f.daysInMonth=function(){return this.endOf(a).$D},f.$locale=function(){return y[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=g(e,t,!0);return n&&(r.$L=n),r},f.clone=function(){return C.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},p}(),_=E.prototype;return b.prototype=_,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W",i],["$M",a],["$y",l],["$D",u]].forEach((function(e){_[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),b.extend=function(e,t){return e.$i||(e(t,E,b),e.$i=!0),b},b.locale=g,b.isDayjs=v,b.unix=function(e){return b(1e3*e)},b.en=y[m],b.Ls=y,b.p={},b},"object"==typeof r&&void 0!==t?t.exports=n():this.dayjs=n()},{}],12:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(195),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.All,s.evaluator,a.ReturnType.Boolean,o.InternalFunctionUtils.ValidateLambdaExpression)}static evaluator(e,t,r){let n=!0;const{value:i,error:a}=e.children[0].tryEvaluate(t,r);let s=a;if(!s){const a=o.InternalFunctionUtils.convertToList(i);a?o.InternalFunctionUtils.lambdaEvaluator(e,t,r,a,((e,t,r)=>!(!r&&o.InternalFunctionUtils.isLogicTrue(t)||(n=!1,0)))):s=e.children[0]+" is not a collection or structure object to run Any"}return{value:n,error:s}}}r.All=s},{180:180,192:192,195:195,213:213}],13:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(204),l=e(213);class u extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.And,u.evaluator,l.ReturnType.Boolean,o.FunctionUtils.validateAtLeastOne)}static evaluator(e,t,r){let n,i=!0;for(const o of e.children){const e=new s.Options(r);if(e.nullSubstitution=void 0,({value:i,error:n}=o.tryEvaluate(t,e)),n){i=!1,n=void 0;break}if(!a.InternalFunctionUtils.isLogicTrue(i)){i=!1;break}i=!0}return{value:i,error:n}}}r.And=u},{180:180,192:192,195:195,196:196,204:204,213:213}],14:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(195),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Any,s.evaluator,a.ReturnType.Boolean,o.InternalFunctionUtils.ValidateLambdaExpression)}static evaluator(e,t,r){let n=!1;const{value:i,error:a}=e.children[0].tryEvaluate(t,r);let s=a;if(!s){const a=o.InternalFunctionUtils.convertToList(i);a?o.InternalFunctionUtils.lambdaEvaluator(e,t,r,a,((e,t,r)=>!(r||!o.InternalFunctionUtils.isLogicTrue(t)||(n=!0,0)))):s=e.children[0]+" is not a collection or structure object to run Any"}return{value:n,error:s}}}r.Any=s},{180:180,192:192,195:195,213:213}],15:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Average,s.evaluator(),a.ReturnType.Number,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>e[0].reduce(((e,t)=>e+t))/e[0].length),o.FunctionUtils.verifyNumericList)}}r.Average=s},{180:180,192:192,196:196,213:213}],16:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=e(213),l=n(e(386)),u=e(195);class c extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.Base64,c.evaluator(),s.ReturnType.String,a.FunctionUtils.validateUnary)}static evaluator(){return a.FunctionUtils.apply((e=>{let t;const r=e[0];if("string"==typeof r&&(t=l.default(r)),r instanceof Uint8Array){const e=u.InternalFunctionUtils.getTextDecoder().decode(r);t=l.default(e)}return t}))}}r.Base64=c},{180:180,192:192,195:195,196:196,213:213,386:386}],386:[function(e,t,r){t.exports=function(e){return btoa(e)}},{}],17:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=e(195),l=e(213),u=n(e(383));class c extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.Base64ToBinary,c.evaluator(),l.ReturnType.Object,a.FunctionUtils.validateUnary)}static evaluator(){return a.FunctionUtils.apply((e=>{const t=u.default(e[0].toString());return s.InternalFunctionUtils.getTextEncoder().encode(t)}),a.FunctionUtils.verifyString)}}r.Base64ToBinary=c},{180:180,192:192,195:195,196:196,213:213,383:383}],383:[function(e,t,r){t.exports=function(e){return atob(e)}},{}],18:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=e(213),l=n(e(383));class u extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.Base64ToString,u.evaluator(),s.ReturnType.String,a.FunctionUtils.validateUnary)}static evaluator(){return a.FunctionUtils.apply((e=>l.default(e[0])),a.FunctionUtils.verifyString)}}r.Base64ToString=u},{180:180,192:192,196:196,213:213,383:383}],19:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Binary,l.evaluator(),s.ReturnType.Object,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>a.InternalFunctionUtils.getTextEncoder().encode(e[0])),o.FunctionUtils.verifyString)}}r.Binary=l},{180:180,192:192,195:195,196:196,213:213}],20:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(195),a=e(23);class s extends a.ComparisonEvaluator{constructor(){super(n.ExpressionType.Bool,s.func,i.FunctionUtils.validateUnary)}static func(e){return i.FunctionUtils.isNumber(e[0])?0!==e[0]:!/false/i.test(e[0])&&o.InternalFunctionUtils.isLogicTrue(e[0])}}r.Bool=s},{192:192,195:195,196:196,23:23}],23:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(1),i=e(180),o=e(196),a=e(213);class s extends i.ExpressionEvaluator{constructor(e,t,r,n){super(e,s.evaluator(t,n),a.ReturnType.Boolean,r)}static evaluator(e,t){return(r,i,a)=>{let s=!1;const l=new n.Options(a);l.nullSubstitution=void 0;const{args:u,error:c}=o.FunctionUtils.evaluateChildren(r,i,l,t);let d=c;if(d)d=void 0;else try{s=e(u)}catch(e){d=e.message}return{value:s,error:d}}}}r.ComparisonEvaluator=s},{1:1,180:180,196:196,213:213}],21:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(107);class o extends i.NumberTransformEvaluator{constructor(){super(n.ExpressionType.Ceiling,o.func)}static func(e){return Math.ceil(e[0])}}r.Ceiling=o},{107:107,192:192}],22:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Coalesce,s.evaluator(),a.ReturnType.Object,o.FunctionUtils.validateAtLeastOne)}static evaluator(){return o.FunctionUtils.apply((e=>s.evalCoalesce(e)))}static evalCoalesce(e){for(const t of e)if(null!=t)return t}}r.Coalesce=s},{180:180,192:192,196:196,213:213}],24:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213),s=e(195);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Concat,l.evaluator(),a.ReturnType.String|a.ReturnType.Array,o.FunctionUtils.validateAtLeastOne)}static evaluator(){return o.FunctionUtils.applySequence((e=>{const t=e[0],r=e[1],n=Array.isArray(t),i=Array.isArray(r);return null==t&&null==r?void 0:null==t&&i?r:null==r&&n?t:n&&i?t.concat(r):s.InternalFunctionUtils.commonStringify(t)+s.InternalFunctionUtils.commonStringify(r)}))}}r.Concat=l},{180:180,192:192,195:195,196:196,213:213}],25:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Contains,l.evaluator,s.ReturnType.Boolean,o.FunctionUtils.validateBinary)}static evaluator(e,t,r){let n=!1;const{args:i,error:s}=o.FunctionUtils.evaluateChildren(e,t,r);let l=s;if(!l)if("string"==typeof i[0]&&"string"==typeof i[1])n=i[0].includes(i[1]);else if(Array.isArray(i[0])){for(const e of i[0])if(o.FunctionUtils.commonEquals(e,i[1])){n=!0;break}}else if("string"==typeof i[1]){let e;({value:e,error:l}=a.InternalFunctionUtils.accessProperty(i[0],i[1])),n=!l&&void 0!==e}return{value:n,error:void 0}}}r.Contains=l},{180:180,192:192,195:195,196:196,213:213}],26:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(390));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213),d=e(214);class p extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.ConvertFromUTC,p.evaluator,c.ReturnType.String,p.validator)}static evaluator(e,t,r){let n,i=r.locale?r.locale:Intl.DateTimeFormat().resolvedOptions().locale,o=p.NoneUtcDefaultDateTimeFormat;const{args:a,error:s}=l.FunctionUtils.evaluateChildren(e,t,r);let u=s;return u||(({format:o,locale:i}=l.FunctionUtils.determineFormatAndLocale(a,4,o,i)),"string"==typeof a[0]&&"string"==typeof a[1]?({value:n,error:u}=p.evalConvertFromUTC(a[0],a[1],o,i)):u=e+" should contain an ISO format timestamp, an origin time zone string and an optional output format string."),{value:n,error:u}}static evalConvertFromUTC(e,t,r,n){let o,a;a=u.InternalFunctionUtils.verifyISOTimestamp(e);const s=d.TimeZoneConverter.windowsToIana(t);if(d.TimeZoneConverter.verifyTimeZoneStr(s)||(a=t+" is not a valid timezone"),!a)try{o=i.default(e).locale(n).tz(s).format(r)}catch(e){a=r+" is not a valid timestamp format"}return{value:o,error:a}}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.String,c.ReturnType.String)}}p.NoneUtcDefaultDateTimeFormat="YYYY-MM-DDTHH:mm:ss.SSS0000",r.ConvertFromUTC=p},{180:180,192:192,195:195,196:196,213:213,214:214,388:388,390:390}],390:[function(e,t,r){var n;n=function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(r,n,i){var o,a=i().utcOffset(),s=function(e,r,n){void 0===n&&(n={});var i=new Date(e);return function(e,r){void 0===r&&(r={});var n=r.timeZoneName||"short",i=e+"|"+n,o=t[i];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),t[i]=o),o}(r,n).formatToParts(i)},l=function(t,r){for(var n=s(t,r),o=[],a=0;a<n.length;a+=1){var l=n[a],u=l.type,c=l.value,d=e[u];d>=0&&(o[d]=parseInt(c,10))}var p=o[3],f=24===p?0:p,h=o[0]+"-"+o[1]+"-"+o[2]+" "+f+":"+o[4]+":"+o[5]+":000",m=+t;return(i.utc(h).valueOf()-(m-=m%1e3))/6e4},u=n.prototype;u.tz=function(e,t){void 0===e&&(e=o);var r=this.utcOffset(),n=this.toDate().toLocaleString("en-US",{timeZone:e}),s=Math.round((this.toDate()-new Date(n))/1e3/60),l=i(n).$set("millisecond",this.$ms).utcOffset(a-s,!0);if(t){var u=l.utcOffset();l=l.add(r-u,"minute")}return l.$x.$timezone=e,l},u.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),r=s(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return r&&r.value};var c=u.startOf;u.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var r=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return c.call(r,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,r){var n=r&&t,a=r||t||o,s=l(+i(),a);if("string"!=typeof e)return i(e).tz(a);var u=function(e,t,r){var n=e-60*t*1e3,i=l(n,r);if(t===i)return[n,t];var o=l(n-=60*(i-t)*1e3,r);return i===o?[n,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,n).valueOf(),s,a),c=u[0],d=u[1],p=i(c).utcOffset(d);return p.$x.$timezone=a,p},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}},"object"==typeof r&&void 0!==t?t.exports=n():this.dayjs_plugin_timezone=n()},{}],27:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(390));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(213),c=e(214);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.ConvertToUTC,d.evaluator,u.ReturnType.String,d.validator)}static evaluator(e,t,r){let n,i=r.locale?r.locale:Intl.DateTimeFormat().resolvedOptions().locale,o=l.FunctionUtils.DefaultDateTimeFormat;const{args:a,error:s}=l.FunctionUtils.evaluateChildren(e,t,r);let u=s;return u||(({format:o,locale:i}=l.FunctionUtils.determineFormatAndLocale(a,4,o,i)),"string"==typeof a[0]&&"string"==typeof a[1]?({value:n,error:u}=d.evalConvertToUTC(a[0],a[1],o,i)):u=e+" should contain an ISO format timestamp, a destination time zone string and an optional output format string."),{value:n,error:u}}static verifyTimeStamp(e){if("Invalid Date"===i.default(e).toString())return e+" is a invalid datetime"}static evalConvertToUTC(e,t,r,n){let o,a,s;const l=c.TimeZoneConverter.windowsToIana(t);if(c.TimeZoneConverter.verifyTimeZoneStr(l)||(a=t+" is not a valid timezone"),!a&&!(a=this.verifyTimeStamp(e))){try{s=i.default.tz(e,l).format()}catch(t){a=`${e} with ${l} is not a valid timestamp with specified timeZone:`}if(!a)try{o=i.default(s).locale(n).tz("Etc/UTC").format(r)}catch(e){a=r+" is not a valid timestamp format"}}return{value:o,error:a}}static validator(e){l.FunctionUtils.validateOrder(e,[u.ReturnType.String,u.ReturnType.String],u.ReturnType.String,u.ReturnType.String)}}r.ConvertToUTC=d},{180:180,192:192,196:196,213:213,214:214,388:388,390:390}],28:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Count,s.evaluator(),a.ReturnType.Number,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>{let t;return"string"==typeof e[0]||Array.isArray(e[0])?t=e[0].length:e[0]instanceof Map?t=e[0].size:"object"==typeof e[0]&&(t=Object.keys(e[0]).length),t}),o.FunctionUtils.verifyContainer)}static validator(e){o.FunctionUtils.validateOrder(e,[],a.ReturnType.String|a.ReturnType.Array)}}r.Count=s},{180:180,192:192,196:196,213:213}],29:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.CountWord,l.evaluator(),s.ReturnType.Number,o.FunctionUtils.validateUnaryString)}static evaluator(){return o.FunctionUtils.apply((e=>a.InternalFunctionUtils.parseStringOrUndefined(e[0]).trim().split(/\s+/).length),o.FunctionUtils.verifyStringOrNull)}}r.CountWord=l},{180:180,192:192,195:195,196:196,213:213}],30:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.CreateArray,s.evaluator(),a.ReturnType.Array)}static evaluator(){return o.FunctionUtils.apply((e=>Array.from(e)))}}r.CreateArray=s},{180:180,192:192,196:196,213:213}],31:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=e(213),l=n(e(386));class u extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.DataUri,u.evaluator(),s.ReturnType.String,a.FunctionUtils.validateUnary)}static evaluator(){return a.FunctionUtils.apply((e=>"data:text/plain;charset=utf-8;base64,".concat(l.default(e[0]))),a.FunctionUtils.verifyString)}}r.DataUri=u},{180:180,192:192,196:196,213:213,386:386}],32:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.DataUriToBinary,l.evaluator(),s.ReturnType.Object,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>a.InternalFunctionUtils.getTextEncoder().encode(e[0])),o.FunctionUtils.verifyString)}}r.DataUriToBinary=l},{180:180,192:192,195:195,196:196,213:213}],33:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=e(213),l=n(e(383));class u extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.DataUriToString,u.evaluator(),s.ReturnType.String,a.FunctionUtils.validateUnary)}static evaluator(){return a.FunctionUtils.apply((e=>l.default(e[0].slice(e[0].indexOf(",")+1))),a.FunctionUtils.verifyString)}}r.DataUriToString=u},{180:180,192:192,196:196,213:213,383:383}],34:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.Date,d.evaluator(),c.ReturnType.String,l.FunctionUtils.validateUnaryString)}static evaluator(){return l.FunctionUtils.applyWithError((e=>{const t=u.InternalFunctionUtils.verifyISOTimestamp(e[0]);return t?{value:void 0,error:t}:{value:i.default(e[0]).utc().format("M/DD/YYYY"),error:t}}),l.FunctionUtils.verifyString)}}r.DateFunc=d},{180:180,192:192,195:195,196:196,213:213,388:388,391:391}],35:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(222),o=n(e(388)),a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.DateReadBack,d.evaluator(),c.ReturnType.String,d.validator)}static evaluator(){return l.FunctionUtils.applyWithError((e=>{let t=u.InternalFunctionUtils.verifyISOTimestamp(e[0]);if(!t){const r=o.default(e[0]).toDate();if(!(t=u.InternalFunctionUtils.verifyISOTimestamp(e[1]))){const n=o.default(e[1]).format("YYYY-MM-DD");return{value:new i.TimexProperty(n).toNaturalLanguage(r),error:t}}}return{value:void 0,error:t}}),l.FunctionUtils.verifyString)}static validator(e){l.FunctionUtils.validateOrder(e,void 0,c.ReturnType.String,c.ReturnType.String)}}r.DateReadBack=d},{180:180,192:192,195:195,196:196,213:213,222:222,388:388}],222:[function(e,t,r){!function(e){var t=class{constructor(e,t,r){1===arguments.length?(this.hour=Math.floor(e/36e5),this.minute=Math.floor((e-36e5*this.hour)/6e4),this.second=(e-36e5*this.hour-6e4*this.minute)/1e3):(this.hour=e,this.minute=t,this.second=r)}getTime(){return 1e3*this.second+6e4*this.minute+36e5*this.hour}};const r=function(e){return e},n=function(){return 0},i={date:[{regex:/^(\d\d\d\d)-(\d\d)-(\d\d)$/,props:{year:Number,month:Number,dayOfMonth:Number}},{regex:/^XXXX-WXX-(\d)$/,props:{dayOfWeek:Number}},{regex:/^XXXX-(\d\d)-(\d\d)$/,props:{month:Number,dayOfMonth:Number}},{regex:/^(\d\d\d\d)$/,props:{year:Number}},{regex:/^(\d\d\d\d)-(\d\d)$/,props:{year:Number,month:Number}},{regex:/^(SP|SU|FA|WI)$/,props:{season:r}},{regex:/^(\d\d\d\d)-(SP|SU|FA|WI)$/,props:{year:Number,season:r}},{regex:/^(\d\d\d\d)-W(\d\d)$/,props:{year:Number,weekOfYear:Number}},{regex:/^(\d\d\d\d)-W(\d\d)-WE$/,props:{year:Number,weekOfYear:Number,weekend:function(){return!0}}},{regex:/^XXXX-(\d\d)$/,props:{month:Number}},{regex:/^XXXX-(\d\d)-W(\d\d)$/,props:{month:Number,weekOfMonth:Number}},{regex:/^XXXX-(\d\d)-WXX-(\d)-(\d)$/,props:{month:Number,weekOfMonth:Number,dayOfWeek:Number}}],time:[{regex:/^T(\d\d)$/,props:{hour:Number,minute:n,second:n}},{regex:/^T(\d\d):(\d\d)$/,props:{hour:Number,minute:Number,second:n}},{regex:/^T(\d\d):(\d\d):(\d\d)$/,props:{hour:Number,minute:Number,second:Number}},{regex:/^T(DT|NI|MO|AF|EV)$/,props:{partOfDay:r}}],period:[{regex:/^P(\d*\.?\d+)(Y|M|W|D)$/,props:{amount:Number,dateUnit:r}},{regex:/^PT(\d*\.?\d+)(H|M|S)$/,props:{amount:Number,timeUnit:r}}]},o=function(e,t,r){const n=t.match(e.regex);if(!n)return!1;let i=1;for(const t in e.props){const o=n[i++];r[t]=e.props[t](o)}return!0};var a=function(e,t,r){for(const n of i[e])if(o(n,t,r))return!0;return!1};const s=function(e,t){const r={};a("period",e,r),r.dateUnit?t[{Y:"years",M:"months",W:"weeks",D:"days"}[r.dateUnit]]=r.amount:r.timeUnit&&(t[{H:"hours",M:"minutes",S:"seconds"}[r.timeUnit]]=r.amount)},l=function(e,t){const r=e.indexOf("T");-1===r?a("date",e,t):(a("date",e.substr(0,r),t),a("time",e.substr(r),t))};var u=function(e){const t=new Set;return function(e){return!0===e.now}(e)&&t.add("present"),function(e){return"year"in e&&"month"in e&&"dayOfMonth"in e}(e)&&t.add("definite"),function(e){return"month"in e&&"dayOfMonth"in e||"dayOfWeek"in e}(e)&&t.add("date"),function(e){return"year"in e&&!("dayOfMonth"in e)||"year"in e&&"month"in e&&!("dayOfMonth"in e)||"month"in e&&!("dayOfMonth"in e)||"season"in e||"weekOfYear"in e||"weekOfMonth"in e}(e)&&t.add("daterange"),function(e){return"years"in e||"months"in e||"weeks"in e||"days"in e||"hours"in e||"minutes"in e||"seconds"in e}(e)&&t.add("duration"),function(e){return"hour"in e&&"minute"in e&&"second"in e}(e)&&t.add("time"),function(e){return"partOfDay"in e}(e)&&t.add("timerange"),t.has("present")&&(t.add("date"),t.add("time")),t.has("time")&&t.has("duration")&&t.add("timerange"),t.has("date")&&t.has("time")&&t.add("datetime"),t.has("date")&&t.has("duration")&&t.add("daterange"),t.has("datetime")&&t.has("duration")&&t.add("datetimerange"),t.has("date")&&t.has("timerange")&&t.add("datetimerange"),t};const c=function(e){const t=new Date;return t.setTime(e.getTime()),t},d=function(e){const t=c(e);return t.setDate(t.getDate()+1),t},p=function(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()},f=function(e,t){let r=c(t);for(let t=0;t<7;t++){if(p(e,r))return!0;r=d(r)}return!1};var h=d,m=function(e){const t=c(e);return t.setDate(t.getDate()-1),t},y=p,v=function(e,t){const r=c(t);return r.setDate(r.getDate()+(7-r.getDay())),f(e,r)},g=function(e,t){const r=c(t);return r.setDate(r.getDate()-(7+r.getDay())),f(e,r)},b=function(e,t){const r=e.toString();let n="";const i=t-r.length;for(let e=0;e<i;e++)n+="0";return`${n}${r}`},C=function(e,t){const r=c(t);for(r.setDate(r.getDate()-1);r.getDay()!==e;)r.setDate(r.getDate()-1);return r},E=function(e,t){const r=c(t);do{r.setDate(r.getDate()+1)}while(r.getDay()!==e);return r};const _=t,T=function(e){const t=Object.assign({},e);return delete t.year,delete t.month,delete t.dayOfMonth,delete t.dayOfWeek,delete t.weekOfYear,delete t.weekOfMonth,delete t.season,delete t.hour,delete t.minute,delete t.second,delete t.weekend,delete t.partOfDay,t},x=function(e,t){if("hours"in t){const r=Object.assign({},e);if(r.hour+=t.hours,r.hour>23){const e=Math.floor(r.hour/24),t=r.hour%24;if(r.hour=t,"year"in r&&"month"in r&&"dayOfMonth"in r){const t=new Date(r.year,r.month-1,r.dayOfMonth,0,0,0);for(let r=0;r<e;r++)t.setDate(t.getDate()+1);return r.year=t.getFullYear(),r.month=t.getMonth()+1,r.dayOfMonth=t.getDate(),r}if("dayOfWeek"in r)return r.dayOfWeek+=e,r}return r}if("minutes"in t){const r=Object.assign({},e);return r.minute+=t.minutes,r.minute>59&&(r.hour++,r.minute=0),r}return e},S=function(e,t){return x(function(e,t){if("dayOfWeek"in e){const r=Object.assign({},e);return"days"in t&&(r.dayOfWeek+=t.days),r}if("month"in e&&"dayOfMonth"in e){var r=t.days;if(void 0===r&&void 0!==t.weeks&&(r=7*t.weeks),void 0!==r){if("year"in e){const t=new Date(e.year,e.month-1,e.dayOfMonth,0,0,0);for(let e=0;e<r;e++)t.setDate(t.getDate()+1);return{year:t.getFullYear(),month:t.getMonth()+1,dayOfMonth:t.getDate()}}{const t=new Date(2001,e.month-1,e.dayOfMonth,0,0,0);for(let e=0;e<r;e++)t.setDate(t.getDate()+1);return{month:t.getMonth()+1,dayOfMonth:t.getDate()}}}if("years"in t&&"year"in e)return{year:e.year+t.years,month:e.month,dayOfMonth:e.dayOfMonth};if("months"in t&&"month"in e)return{year:e.year,month:e.month+t.months,dayOfMonth:e.dayOfMonth}}return e}(e,t),t)},O=function(e){if(("types"in e?e.types:u(e)).has("duration")){const t=function(e){const t=Object.assign({},e);return delete t.years,delete t.months,delete t.weeks,delete t.days,delete t.hours,delete t.minutes,delete t.seconds,t}(e),r=T(e);return{start:t,end:S(t,r),duration:r}}if("year"in e){const t={start:{year:e.year},end:{}};return"month"in e?(t.start.month=e.month,t.start.dayOfMonth=1,t.end.year=e.year,t.end.month=e.month+1,t.end.dayOfMonth=1):(t.start.month=1,t.start.dayOfMonth=1,t.end.year=e.year+1,t.end.month=1,t.end.dayOfMonth=1),t}return{start:{},end:{}}},w=function(e,t){const r=t.hours||0,n=t.minutes||0,i=t.seconds||0;return{hour:e.hour+r,minute:e.minute+n,second:e.second+i}},A=function(e){if(!e.types.has("timerange"))throw new exception("argument must be a timerange");if(void 0!==e.partOfDay)switch(e.partOfDay){case"DT":e={hour:8,minute:0,second:0,hours:10,minutes:0,seconds:0};break;case"MO":e={hour:8,minute:0,second:0,hours:4,minutes:0,seconds:0};break;case"AF":e={hour:12,minute:0,second:0,hours:4,minutes:0,seconds:0};break;case"EV":e={hour:16,minute:0,second:0,hours:4,minutes:0,seconds:0};break;case"NI":e={hour:20,minute:0,second:0,hours:4,minutes:0,seconds:0};break;default:throw new exception("unrecognized part of day timerange")}const t={hour:e.hour,minute:e.minute,second:e.second},r=T(e);return{start:t,end:w(t,r),duration:r}},N=function(e){const t="year"in e?e.year:2001,r="month"in e?e.month-1:0,n="dayOfMonth"in e?e.dayOfMonth:1,i="hour"in e?e.hour:0,o="minute"in e?e.minute:0,a="second"in e?e.second:0;return new Date(t,r,n,i,o,a)},P=function(e){const t=e.hour||0,r=e.minute||0,n=e.second||0;return new _(t,r,n)};var I=O,R=A,L=N,k=P,M=function(e){const t=A(e);return{start:P(t.start),end:P(t.end)}},D=x,U=S;const j=b,F=function(e){return 0===e.minute&&0===e.second?"T"+j(e.hour,2):0===e.second?`T${j(e.hour,2)}:${j(e.minute,2)}`:`T${j(e.hour,2)}:${j(e.minute,2)}:${j(e.second,2)}`},B=function(e){return"year"in e&&"month"in e&&"dayOfMonth"in e?`${j(e.year,4)}-${j(e.month,2)}-${j(e.dayOfMonth,2)}`:"month"in e&&"dayOfMonth"in e?`XXXX-${j(e.month,2)}-${j(e.dayOfMonth,2)}`:"dayOfWeek"in e?"XXXX-WXX-"+e.dayOfWeek:""},z=function(e){return"partOfDay"in e?"T"+e.partOfDay:""},H=function(e){const t="types"in e?e.types:u(e);if(t.has("present"))return"PRESENT_REF";if((t.has("datetimerange")||t.has("daterange")||t.has("timerange"))&&t.has("duration")){const t=I(e);return`(${H(t.start)},${H(t.end)},${H(t.duration)})`}return t.has("datetimerange")?`${B(e)}${z(e)}`:t.has("daterange")?""+function(e){return"year"in e&&"weekOfYear"in e&&"weekend"in e?`${j(e.year,4)}-W${j(e.weekOfYear,2)}-WE`:"year"in e&&"weekOfYear"in e?`${j(e.year,4)}-W${j(e.weekOfYear,2)}`:"year"in e&&"season"in e?`${j(e.year,4)}-${e.season}`:"season"in e?""+e.season:"year"in e&&"month"in e?`${j(e.year,4)}-${j(e.month,2)}`:"year"in e?""+j(e.year,4):"month"in e&&"weekOfMonth"in e&&"dayOfWeek"in e?`XXXX-${j(e.month,2)}-WXX-${e.weekOfMonth}-${e.dayOfWeek}`:"month"in e&&"weekOfMonth"in e?`XXXX-${j(e.month,2)}-WXX-${e.weekOfMonth}`:"month"in e?"XXXX-"+j(e.month,2):""}(e):t.has("timerange")?""+z(e):t.has("datetime")?`${B(e)}${F(e)}`:t.has("duration")?""+function(e){return"years"in e?`P${e.years}Y`:"months"in e?`P${e.months}M`:"weeks"in e?`P${e.weeks}W`:"days"in e?`P${e.days}D`:"hours"in e?`PT${e.hours}H`:"minutes"in e?`PT${e.minutes}M`:"seconds"in e?`PT${e.seconds}S`:""}(e):t.has("date")?""+B(e):t.has("time")?""+F(e):""};var q={format:H},V={days:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],months:["January","Februrary","March","April","May","June","July","August","September","October","November","December"],dateAbbreviation:{0:"th",1:"st",2:"nd",3:"rd",4:"th",5:"th",6:"th",7:"th",8:"th",9:"th"},hours:["midnight","1AM","2AM","3AM","4AM","5AM","6AM","7AM","8AM","9AM","10AM","11AM","midday","1PM","2PM","3PM","4PM","5PM","6PM","7PM","8PM","9PM","10PM","11PM"],seasons:{SP:"spring",SU:"summer",FA:"fall",WI:"winter"},weeks:["first","second","third","forth"],dayParts:{DT:"daytime",NI:"night",MO:"morning",AF:"afternoon",EV:"evening"}};const G=function(e){if("dayOfWeek"in e)return V.days[e.dayOfWeek-1];const t=V.months[e.month-1],r=e.dayOfMonth.toString(),n=V.dateAbbreviation[r.slice(-1)];return"year"in e?`${r}${n} ${t} ${e.year}`.trim():`${r}${n} ${t}`},W=function(e){if(0===e.hour&&0===e.minute&&0===e.second)return"midnight";if(12===e.hour&&0===e.minute&&0===e.second)return"midday";const t=function(e){return 1===e.length?"0"+e:e};return`${0===e.hour?"12":e.hour>12?(e.hour-12).toString():e.hour.toString()}${0===e.minute&&0===e.second?"":":"+t(e.minute.toString())}${0===e.second?"":":"+t(e.second.toString())}${e.hour<12?"AM":"PM"}`},$=function(e,t,r){const n=e[t+"s"];return void 0!==n&&(1===n?r?"1 "+t:t:`${n} ${t}s`)},Y=function(e,t){return $(e,"year",t)||$(e,"month",t)||$(e,"week",t)||$(e,"day",t)||$(e,"hour",t)||$(e,"minute",t)||$(e,"second",t)},K=function(e){return V.dayParts[e.partOfDay]},Z=function(e){const t="types"in e?e.types:u(e);return t.has("present")?"now":t.has("datetimerange")?function(e){return e.types.has("timerange")?`${G(e)} ${K(e)}`:""}(e):t.has("daterange")?function(e){const t="season"in e?V.seasons[e.season]:"",r="year"in e?e.year.toString():"";if("weekOfYear"in e)return e.weekend,"";if("month"in e){const t=""+V.months[e.month-1];return"weekOfMonth"in e?`${V.weeks[e.weekOfMonth-1]} week of ${t}`:`${t} ${r}`.trim()}return`${t} ${r}`.trim()}(e):t.has("duration")?function(e){return Y(e,!0)}(e):t.has("timerange")?K(e):t.has("datetime")?function(e){return`${W(e)} ${G(e)}`}(e):t.has("date")?G(e):t.has("time")?W(e):""};var X={convertDate:G,convertTime:W,convertTimexToString:Z,convertTimexSetToString:function(e){const t=e.timex;return t.types.has("duration")?"every "+Y(t,!1):"every "+Z(t)}},Q={convertTimexToString:X.convertTimexToString,convertTimexSetToString:X.convertTimexSetToString};const J=function(e){return V.days[0===e?6:e-1]},ee=function(e,t){if("year"in e&&"month"in e&&"dayOfMonth"in e){const r=new Date(e.year,e.month-1,e.dayOfMonth);if(y(r,t))return"today";const n=h(t);if(y(r,n))return"tomorrow";const i=m(t);if(y(r,i))return"yesterday";if(function(e,t){const r=c(t);return r.setDate(r.getDate()-r.getDay()),f(e,r)}(r,t))return"this "+J(r.getDay());if(v(r,t))return"next "+J(r.getDay());if(g(r,t))return"last "+J(r.getDay())}return X.convertDate(e)};var te=function(e,t){const r="types"in e?e.types:u(e);return r.has("datetimerange")?function(e,t){if("year"in e&&"month"in e&&"dayOfMonth"in e){const r=new Date(e.year,e.month-1,e.dayOfMonth);if("partOfDay"in e){if(y(r,t))return"NI"===e.partOfDay?"tonight":"this "+V.dayParts[e.partOfDay];const n=h(t);if(y(r,n))return"tomorrow "+V.dayParts[e.partOfDay];const i=m(t);if(y(r,i))return"yesterday "+V.dayParts[e.partOfDay];if(v(r,t))return`next ${J(r.getDay())} ${V.dayParts[e.partOfDay]}`;if(g(r,t))return`last ${J(r.getDay())} ${V.dayParts[e.partOfDay]}`}}return""}(e,t):r.has("daterange")?function(e,t){if("year"in e){const r=t.getFullYear();if(e.year===r){if("weekOfYear"in e){const r=function(e){const t=new Date(e.getFullYear(),0),r=new Date(e.getFullYear(),e.getMonth(),e.getDate());let n=1;for(;t.getTime()<r.getTime();){const e=t.getDay();7===(0==e?7:e)&&n++,t.setDate(t.getDate()+1)}return n}(t);if(r===e.weekOfYear)return e.weekend?"this weekend":"this week";if(r===e.weekOfYear+1)return e.weekend?"last weekend":"last week";if(r===e.weekOfYear-1)return e.weekend?"next weekend":"next week"}if("month"in e){const r=t.getMonth()+1;if(e.month===r)return"this month";if(e.month===r+1)return"next month";if(e.month===r-1)return"last month"}return"season"in e?"this "+V.seasons[e.season]:"this year"}if(e.year===r+1)return"season"in e?"next "+V.seasons[e.season]:"next year";if(e.year===r-1)return"season"in e?"last "+V.seasons[e.season]:"last year"}return""}(e,t):r.has("datetime")?function(e,t){return`${ee(e,t)} ${X.convertTime(e)}`}(e,t):r.has("date")?ee(e,t):X.convertTimexToString(e)};class re{constructor(e){"string"==typeof e?function(e,t){"PRESENT_REF"===e?t.now=!0:e.startsWith("P")?s(e,t):e.startsWith("(")&&e.endsWith(")")?function(e,t){const r=e.substring(1,e.length-1).split(",");3===r.length&&(l(r[0],t),s(r[2],t))}(e,t):l(e,t)}(e,this):function(e,t){Object.assign(t,e),"hour"in t&&("minute"in t||(t.minute=0),"second"in t||(t.second=0))}(e,this)}get timex(){return q.format(this)}get types(){return u(this)}toString(){return Q.convertTimexToString(this)}toNaturalLanguage(e){return te(this,e)}static fromDate(e){return new re({year:e.getFullYear(),month:e.getMonth()+1,dayOfMonth:e.getDate()})}static fromDateTime(e){return new re({year:e.getFullYear(),month:e.getMonth()+1,dayOfMonth:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds()})}static fromTime(e){return new re(e)}}var ne={TimexProperty:re};const ie=ne.TimexProperty,oe=ne.TimexProperty;var ae={today:function(e){return oe.fromDate(e||new Date).timex},tomorrow:function(e){const t=void 0===e?new Date:new Date(e.getTime());return t.setDate(t.getDate()+1),oe.fromDate(t).timex},yesterday:function(e){const t=void 0===e?new Date:new Date(e.getTime());return t.setDate(t.getDate()-1),oe.fromDate(t).timex},weekFromToday:function(e){const t=void 0===e?new Date:new Date(e.getTime());return new oe(Object.assign(oe.fromDate(t),{days:7})).timex},weekBackFromToday:function(e){const t=void 0===e?new Date:new Date(e.getTime());return t.setDate(t.getDate()-7),new oe(Object.assign(oe.fromDate(t),{days:7})).timex},thisWeek:function(e){const t=void 0===e?new Date:new Date(e.getTime());t.setDate(t.getDate()-7);const r=E(1,t);return new oe(Object.assign(oe.fromDate(r),{days:7})).timex},nextWeek:function(e){const t=void 0===e?new Date:new Date(e.getTime()),r=E(1,t);return new oe(Object.assign(oe.fromDate(r),{days:7})).timex},lastWeek:function(e){const t=void 0===e?new Date:new Date(e.getTime()),r=C(1,t);return r.setDate(r.getDate()-7),new oe(Object.assign(oe.fromDate(r),{days:7})).timex},nextWeeksFromToday:function(e,t){const r=void 0===t?new Date:new Date(t.getTime());return new oe(Object.assign(oe.fromDate(r),{days:7*e})).timex},monday:"XXXX-WXX-1",tuesday:"XXXX-WXX-2",wednesday:"XXXX-WXX-3",thursday:"XXXX-WXX-4",friday:"XXXX-WXX-5",saturday:"XXXX-WXX-6",sunday:"XXXX-WXX-7",morning:"(T08,T12,PT4H)",afternoon:"(T12,T16,PT4H)",evening:"(T16,T20,PT4H)",daytime:"(T08,T18,PT10H)"};const se=function(e,t){return e.end.getTime()>t.start.getTime()&&e.start.getTime()<=t.start.getTime()||e.start.getTime()<t.end.getTime()&&e.start.getTime()>=t.start.getTime()},le=function(e,t,r){return{start:new r(Math.max(e.start.getTime(),t.start.getTime())),end:new r(Math.min(e.end.getTime(),t.end.getTime()))}},ue=function(e,t){if(1===e.length)return!1;for(let r=0;r<e.length;r++){const n=e[r];for(let i=r+1;i<e.length;i++){const o=e[i];if(se(n,o))return e.splice(r,1),e.splice(i-1,1),e.push(le(n,o,t)),!0}}return!1};var ce=function(e,t){const r=e.slice(0);for(;ue(r,t););return r.sort(((e,t)=>e.start.getTime()-t.start.getTime())),r},de=se;const pe=t,fe=ne.TimexProperty,he=function(e,t){const r=L(e);return r.getTime()>=t.start.getTime()&&r.getTime()<t.end.getTime()?[e.timex]:[]},me=function(e,t){if("month"in e&&"dayOfMonth"in e){const r=[];for(let n=t.start.getFullYear();n<=t.end.getFullYear();n++){const i=he(new fe(Object.assign({},e,{year:n})),t);i.length>0&&r.push(i[0])}return r}if("dayOfWeek"in e){const r=function(e,t,r){const n=[],i=c(t);for(;!p(i,r);)i.getDay()===e&&n.push(c(i)),i.setDate(i.getDate()+1);return n}(7===e.dayOfWeek?0:e.dayOfWeek,t.start,t.end),n=[];for(const t of r){const r=Object.assign({},e);delete r.dayOfWeek;const i=new fe(Object.assign({},r,{year:t.getFullYear(),month:t.getMonth()+1,dayOfMonth:t.getDate()}));n.push(i.timex)}return n}return[]},ye=function(e,t){const r=[];for(const n of t)Array.prototype.push.apply(r,me(e,n));return r},ve=function(e,t){const r=new pe(e.hour,e.minute,e.second);return r.getTime()>=t.start.getTime()&&r.getTime()<t.end.getTime()?[e.timex]:[]},ge=function(e,t){const r=[];for(const n of t)Array.prototype.push.apply(r,ve(e,n));return r},be=function(e){var t=new Set;return e.filter((e=>!t.has(e)&&t.add(e)))},Ce=function(e,t){const r=M(e),n=[];for(const i of t)if(de(r,i)){const t=Math.max(r.start.getTime(),i.start.getTime()),o=new pe(t),a=new fe(e.timex);delete a.partOfDay,delete a.seconds,delete a.minutes,delete a.hours,a.second=o.second,a.minute=o.minute,a.hour=o.hour,n.push(a.timex)}return n},Ee=function(e,t){const r=[];for(const n of t)n.types.has("datetime")?r.push(new fe(U(n,e))):n.types.has("time")&&r.push(new fe(D(n,e)));return r},_e=b;var Te=function(e){return void 0!==e.year&&void 0!==e.month&&void 0!==e.dayOfMonth?`${_e(e.year,4)}-${_e(e.month,2)}-${_e(e.dayOfMonth,2)}`:""},xe=function(e){return void 0!==e.hour&&void 0!==e.minute&&void 0!==e.second?`${_e(e.hour,2)}:${_e(e.minute,2)}:${_e(e.second,2)}`:""};const Se=ne.TimexProperty,Oe=C,we=E,Ae=function(e,t){if(void 0!==e.month&&void 0!==e.dayOfMonth)return Te({year:t.getFullYear()-1,month:e.month,dayOfMonth:e.dayOfMonth});if(void 0!==e.dayOfWeek){const r=7===e.dayOfWeek?0:e.dayOfWeek,n=Oe(r,t);return Te({year:n.getFullYear(),month:n.getMonth()+1,dayOfMonth:n.getDate()})}},Ne=function(e,t){if(void 0!==e.month&&void 0!==e.dayOfMonth)return Te({year:t.getFullYear(),month:e.month,dayOfMonth:e.dayOfMonth});if(void 0!==e.dayOfWeek){const r=7===e.dayOfWeek?0:e.dayOfWeek,n=we(r,t);return Te({year:n.getFullYear(),month:n.getMonth()+1,dayOfMonth:n.getDate()})}},Pe=function(e,t){return[{timex:e.timex,type:"date",value:Ae(e,t)},{timex:e.timex,type:"date",value:Ne(e,t)}]},Ie=function(e,t){return{start:Te({year:e,month:t,dayOfMonth:1}),end:Te({year:e,month:t+1,dayOfMonth:1})}},Re=function(e){switch(e.partOfDay){case"MO":return{start:"08:00:00",end:"12:00:00"};case"AF":return{start:"12:00:00",end:"16:00:00"};case"EV":return{start:"16:00:00",end:"20:00:00"};case"NI":return{start:"20:00:00",end:"24:00:00"}}return{start:"not resolved",end:"not resolved"}},Le=function(e,t){const r="types"in e?e.types:u(e);return r.has("datetimerange")?function(e){if("partOfDay"in e){const t=Te(e),r=Re(e);return[{timex:e.timex,type:"datetimerange",start:`${t} ${r.start}`,end:`${t} ${r.end}`}]}{const t=I(e);return[{timex:e.timex,type:"datetimerange",start:`${Te(t.start)} ${xe(t.start)}`,end:`${Te(t.end)} ${xe(t.end)}`}]}}(e):r.has("definite")&&r.has("time")?function(e){return[{timex:e.timex,type:"datetime",value:`${Te(e)} ${xe(e)}`}]}(e):r.has("definite")&&r.has("daterange")?function(e){var t=I(e);return[{timex:e.timex,type:"daterange",start:""+Te(t.start),end:""+Te(t.end)}]}(e):r.has("definite")?function(e){return[{timex:e.timex,type:"date",value:Te(e)}]}(e):r.has("daterange")?function(e,t){if("season"in e)return[{timex:e.timex,type:"daterange",value:"not resolved"}];if(void 0!==e.year&&void 0!==e.month){const t=Ie(e.year,e.month);return[{timex:e.timex,type:"daterange",start:t.start,end:t.end}]}if(void 0!==e.year&&void 0!==e.weekOfYear){const t=function(e,t){var r=new Date(e,0,1);r.setDate(r.getDate()+7*(t-1));var n=Oe(1,r);r.setDate(r.getDate()+7);var i=Oe(1,r);return{start:Te({year:n.getFullYear(),month:n.getMonth()+1,dayOfMonth:n.getDate()}),end:Te({year:i.getFullYear(),month:i.getMonth()+1,dayOfMonth:i.getDate()})}}(e.year,e.weekOfYear);return[{timex:e.timex,type:"daterange",start:t.start,end:t.end}]}if(void 0!==e.month){const r=t.getFullYear(),n=Ie(r-1,e.month),i=Ie(r,e.month);return[{timex:e.timex,type:"daterange",start:n.start,end:n.end},{timex:e.timex,type:"daterange",start:i.start,end:i.end}]}if(void 0!==e.year){const t=(r=e.year,{start:Te({year:r,month:1,dayOfMonth:1}),end:Te({year:r+1,month:1,dayOfMonth:1})});return[{timex:e.timex,type:"daterange",start:t.start,end:t.end}]}return[];var r}(e,t):r.has("timerange")?function(e){if("partOfDay"in e){const t=Re(e);return[{timex:e.timex,type:"timerange",start:t.start,end:t.end}]}{const t=R(e);return[{timex:e.timex,type:"timerange",start:xe(t.start),end:xe(t.end)}]}}(e):r.has("datetime")?function(e,t){const r=Pe(e,t);for(const t of r)t.type="datetime",t.value=`${t.value} ${xe(e)}`;return r}(e,t):r.has("duration")?function(e){return[{timex:e.timex,type:"duration",value:(t=e,void 0!==t.years?(31536e3*t.years).toString():void 0!==t.months?(2592e3*t.months).toString():void 0!==t.weeks?(604800*t.weeks).toString():void 0!==t.days?(86400*t.days).toString():void 0!==t.hours?(3600*t.hours).toString():void 0!==t.minutes?(60*t.minutes).toString():void 0!==t.seconds?t.seconds.toString():"")}];var t}(e):r.has("date")?Pe(e,t):r.has("time")?function(e){return[{timex:e.timex,type:"time",value:xe(e)}]}(e):[]};var ke={Time:t,TimexProperty:ne.TimexProperty,TimexSet:class{constructor(e){this.timex=new ie(e)}},creator:ae,resolver:{evaluate:function(e,t){const r=t.map((e=>new fe(e)));return function(e,t){const r=t.filter((e=>e.types.has("timerange"))).map((e=>M(e))),n=ce(r,pe);if(0===n.length)return e;const i=[];for(const t of e){const e=new fe(t);if(e.types.has("timerange")){const t=Ce(e,n);Array.prototype.push.apply(i,t)}else if(e.types.has("time")){const t=ge(e,n);Array.prototype.push.apply(i,t)}}return be(i)}(function(e,t){const r=t.filter((e=>e.types.has("time"))).map((e=>k(e)));if(0===r.length)return e;const n=[];for(const t of e.map((e=>new fe(e))))if(t.types.has("date")&&!t.types.has("time"))for(const e of r)t.hour=e.hour,t.minute=e.minute,t.second=e.second,n.push(t.timex);else n.push(t.timex);return be(n)}(function(e,t){const r=t.filter((e=>e.types.has("daterange"))).map((e=>function(e){const t=O(e);return{start:N(t.start),end:N(t.end)}}(e))),n=ce(r,Date);if(0===n.length)return e;const i=[];for(const t of e){const e=ye(new fe(t),n);Array.prototype.push.apply(i,e)}return be(i)}(function(e,t){const r=[];for(const n of e){const e=new fe(n);if(e.types.has("duration")){const n=Ee(e,t);for(const e of n)r.push(e.timex)}else r.push(n)}return r}(e,r),r),r),r).map((e=>new fe(e)))}},valueResolver:{resolve:function(e,t){const r={values:[]};for(const n of e){const e=new Se(n),i=Le(e,t);Array.prototype.push.apply(r.values,i)}return r}}},Me=ke.Time,De=ke.TimexProperty,Ue=ke.valueResolver;e.Time=Me,e.TimexProperty=De,e.valueResolver=Ue}({})},{}],36:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=n(e(388)),l=e(213),u=e(195);class c extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.DateTimeDiff,c.evaluator,l.ReturnType.Number,c.validator)}static evaluator(e,t,r){let n;const{args:i,error:o}=a.FunctionUtils.evaluateChildren(e,t,r);let l=o;return l||(l=u.InternalFunctionUtils.verifyISOTimestamp(i[0]))||(l=u.InternalFunctionUtils.verifyISOTimestamp(i[1]))||(n=1e4*s.default(i[0]).diff(s.default(i[1]),"milliseconds")),{value:n,error:l}}static validator(e){a.FunctionUtils.validateArityAndAnyType(e,2,2,l.ReturnType.String)}}r.DateTimeDiff=c},{180:180,192:192,195:195,196:196,213:213,388:388}],37:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.DayOfMonth,l.evaluator(),s.ReturnType.Number,o.FunctionUtils.validateUnaryString)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{const t=a.InternalFunctionUtils.verifyISOTimestamp(e[0]);return t?{value:void 0,error:t}:{value:new Date(e[0]).getUTCDate(),error:t}}),o.FunctionUtils.verifyString)}}r.DayOfMonth=l},{180:180,192:192,195:195,196:196,213:213}],38:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.DayOfWeek,l.evaluator(),s.ReturnType.Number,o.FunctionUtils.validateUnaryString)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{const t=a.InternalFunctionUtils.verifyISOTimestamp(e[0]);return t?{value:void 0,error:t}:{value:new Date(e[0]).getUTCDay(),error:t}}),o.FunctionUtils.verifyString)}}r.DayOfWeek=l},{180:180,192:192,195:195,196:196,213:213}],39:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(389));i.default.extend(o.default);const a=n(e(391));i.default.extend(a.default);const s=e(180),l=e(192),u=e(196),c=e(195),d=e(213);class p extends s.ExpressionEvaluator{constructor(){super(l.ExpressionType.DayOfYear,p.evaluator(),d.ReturnType.Number,u.FunctionUtils.validateUnaryString)}static evaluator(){return u.FunctionUtils.applyWithError((e=>{const t=c.InternalFunctionUtils.verifyISOTimestamp(e[0]);return t?{value:void 0,error:t}:{value:i.default(e[0]).utc().dayOfYear(),error:t}}),u.FunctionUtils.verifyString)}}r.DayOfYear=p},{180:180,192:192,195:195,196:196,213:213,388:388,389:389,391:391}],389:[function(e,t,r){var n;n=function(){return function(e,t){t.prototype.dayOfYear=function(e){var t=Math.round((this.startOf("day")-this.startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}},"object"==typeof r&&void 0!==t?t.exports=n():this.dayjs_plugin_dayOfYear=n()},{}],40:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(103);class a extends o.MultivariateNumericEvaluator{constructor(){super(n.ExpressionType.Divide,a.func,a.verify)}static func(e){const t=Number(e[0])/Number(e[1]);return Number.isInteger(e[0])&&Number.isInteger(e[1])?Math.floor(t):t}static verify(e,t,r){let n=i.FunctionUtils.verifyNumber(e,t,r);return!n&&r>0&&0===Number(e)&&(n="Cannot divide by 0 from "+t),n}}r.Divide=a},{103:103,192:192,196:196}],103:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(196),o=e(213);class a extends n.ExpressionEvaluator{constructor(e,t,r){super(e,a.evaluator(t,r),o.ReturnType.Number,i.FunctionUtils.validateTwoOrMoreThanTwoNumbers)}static evaluator(e,t){return i.FunctionUtils.applySequence(e,t||i.FunctionUtils.verifyNumber)}}r.MultivariateNumericEvaluator=a},{180:180,196:196,213:213}],41:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(204),l=e(213);class u extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Element,u.evaluator,l.ReturnType.Object,o.FunctionUtils.validateBinary)}static evaluator(e,t,r){let n;const i=e.children[0],o=e.children[1],{value:l,error:u}=i.tryEvaluate(t,r);let c=u;if(!c){let e;const i=new s.Options(r);if(i.nullSubstitution=void 0,({value:e,error:c}=o.tryEvaluate(t,i)),!c)return Number.isInteger(e)?({value:n,error:c}=a.InternalFunctionUtils.accessIndex(l,Number(e))):"string"==typeof e?({value:n,error:c}=a.InternalFunctionUtils.accessProperty(l,e.toString())):c=`Could not coerce ${o} to an int or string.`,{value:n,error:c}}}}r.Element=u},{180:180,192:192,195:195,196:196,204:204,213:213}],42:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(23);class a extends o.ComparisonEvaluator{constructor(){super(n.ExpressionType.Empty,a.func,i.FunctionUtils.validateUnary,i.FunctionUtils.verifyContainerOrNull)}static func(e){return a.isEmpty(e[0])}static isEmpty(e){return null==e||("string"==typeof e?""===e:Array.isArray(e)?0===e.length:e instanceof Map?0===e.size:0===Object.keys(e).length)}}r.Empty=a},{192:192,196:196,23:23}],43:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.EndsWith,l.evaluator(),s.ReturnType.Boolean,l.validator)}static evaluator(){return o.FunctionUtils.apply((e=>a.InternalFunctionUtils.parseStringOrUndefined(e[0]).endsWith(a.InternalFunctionUtils.parseStringOrUndefined(e[1]))),o.FunctionUtils.verifyStringOrNull)}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,2,2,s.ReturnType.String)}}r.EndsWith=l},{180:180,192:192,195:195,196:196,213:213}],44:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.EOL,s.evaluator(),a.ReturnType.String,s.validator)}static evaluator(){return o.FunctionUtils.apply((()=>s.platformSpecificEOL()))}static platformSpecificEOL(){return"undefined"!=typeof window?window.navigator.platform.includes("Win")?"\r\n":"\n":"undefined"!=typeof self?self.navigator.platform.includes("Win")?"\r\n":"\n":e(421).EOL}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,0,0)}}r.EOL=s},{180:180,192:192,196:196,213:213,421:421}],421:[function(e,t,r){r.EOL="\n"},{}],45:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(23);r.Equal=class extends o.ComparisonEvaluator{constructor(){super(n.ExpressionType.Equal,(e=>i.FunctionUtils.commonEquals(e[0],e[1])),i.FunctionUtils.validateBinary)}}},{192:192,196:196,23:23}],46:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(23);class a extends o.ComparisonEvaluator{constructor(){super(n.ExpressionType.Exists,a.func,i.FunctionUtils.validateUnary,i.FunctionUtils.verifyNotNull)}static func(e){return null!=e[0]}}r.Exists=a},{192:192,196:196,23:23}],47:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.First,l.evaluator(),s.ReturnType.Object,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>{let t;return"string"==typeof e[0]&&e[0].length>0&&(t=e[0][0]),Array.isArray(e[0])&&e[0].length>0&&(t=a.InternalFunctionUtils.accessIndex(e[0],0).value),t}))}}r.First=l},{180:180,192:192,195:195,196:196,213:213}],48:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Flatten,s.evaluator(),a.ReturnType.Array,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>{const t=e[0],r=e.length>1?e[1]:100;return s.evalFlatten(t,r)}))}static evalFlatten(e,t){(!o.FunctionUtils.isNumber(t)||t<1)&&(t=1);let r=JSON.parse(JSON.stringify(e));for(let e=0;e<t&&r.some((e=>Array.isArray(e)));e++)r=r.reduce(((e,t)=>e.concat(t)),[]);return r}static validator(e){o.FunctionUtils.validateOrder(e,[a.ReturnType.Number],a.ReturnType.Array)}}r.Flatten=s},{180:180,192:192,196:196,213:213}],49:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=e(213),l=n(e(385));class u extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.Float,u.evaluator(),s.ReturnType.Number,a.FunctionUtils.validateUnary)}static evaluator(){return a.FunctionUtils.applyWithError((e=>{const t=e[0];let r,n;return l.default.isInstance(t)?{value:t.toJSNumber(),error:r}:("string"==typeof t?(n=parseFloat(t),a.FunctionUtils.isNumber(n)||(r=`parameter ${e[0]} is not a valid number string.`)):a.FunctionUtils.isNumber(t)&&(n=t),{value:n,error:r})}))}}r.Float=u},{180:180,192:192,196:196,213:213,385:385}],385:[function(e,t,r){var n=function(){var e=1e7,t=9007199254740992,r=c(t),i="function"==typeof BigInt;function o(e,t,r,n){return void 0===e?o[0]:void 0===t||10==+t&&!r?V(e):F(e,t,r,n)}function a(e,t){this.value=e,this.sign=t,this.isSmall=!1}function s(e){this.value=e,this.sign=e<0,this.isSmall=!0}function l(e){this.value=e}function u(e){return-t<e&&e<t}function c(e){return e<1e7?[e]:e<1e14?[e%1e7,Math.floor(e/1e7)]:[e%1e7,Math.floor(e/1e7)%1e7,Math.floor(e/1e14)]}function d(t){p(t);var n=t.length;if(n<4&&w(t,r)<0)switch(n){case 0:return 0;case 1:return t[0];case 2:return t[0]+t[1]*e;default:return t[0]+(t[1]+t[2]*e)*e}return t}function p(e){for(var t=e.length;0===e[--t];);e.length=t+1}function f(e){for(var t=new Array(e),r=-1;++r<e;)t[r]=0;return t}function h(e){return e>0?Math.floor(e):Math.ceil(e)}function m(t,r){var n,i,o=t.length,a=r.length,s=new Array(o),l=0,u=e;for(i=0;i<a;i++)l=(n=t[i]+r[i]+l)>=u?1:0,s[i]=n-l*u;for(;i<o;)l=(n=t[i]+l)===u?1:0,s[i++]=n-l*u;return l>0&&s.push(l),s}function y(e,t){return e.length>=t.length?m(e,t):m(t,e)}function v(t,r){var n,i,o=t.length,a=new Array(o),s=e;for(i=0;i<o;i++)n=t[i]-s+r,r=Math.floor(n/s),a[i]=n-r*s,r+=1;for(;r>0;)a[i++]=r%s,r=Math.floor(r/s);return a}function g(e,t){var r,n,i=e.length,o=t.length,a=new Array(i),s=0;for(r=0;r<o;r++)(n=e[r]-s-t[r])<0?(n+=1e7,s=1):s=0,a[r]=n;for(r=o;r<i;r++){if(!((n=e[r]-s)<0)){a[r++]=n;break}n+=1e7,a[r]=n}for(;r<i;r++)a[r]=e[r];return p(a),a}function b(e,t,r){var n,i,o=e.length,l=new Array(o),u=-t;for(n=0;n<o;n++)i=e[n]+u,u=Math.floor(i/1e7),i%=1e7,l[n]=i<0?i+1e7:i;return"number"==typeof(l=d(l))?(r&&(l=-l),new s(l)):new a(l,r)}function C(e,t){var r,n,i,o,a=e.length,s=t.length,l=f(a+s);for(i=0;i<a;++i){o=e[i];for(var u=0;u<s;++u)r=o*t[u]+l[i+u],n=Math.floor(r/1e7),l[i+u]=r-1e7*n,l[i+u+1]+=n}return p(l),l}function E(t,r){var n,i,o=t.length,a=new Array(o),s=e,l=0;for(i=0;i<o;i++)n=t[i]*r+l,l=Math.floor(n/s),a[i]=n-l*s;for(;l>0;)a[i++]=l%s,l=Math.floor(l/s);return a}function _(e,t){for(var r=[];t-- >0;)r.push(0);return r.concat(e)}function T(t,r,n){return new a(t<e?E(r,t):C(r,c(t)),n)}function x(e){var t,r,n,i,o=e.length,a=f(o+o);for(n=0;n<o;n++){r=0-(i=e[n])*i;for(var s=n;s<o;s++)t=i*e[s]*2+a[n+s]+r,r=Math.floor(t/1e7),a[n+s]=t-1e7*r;a[n+o]=r}return p(a),a}function S(e,t){var r,n,i,o,a=e.length,s=f(a);for(i=0,r=a-1;r>=0;--r)i=(o=1e7*i+e[r])-(n=h(o/t))*t,s[r]=0|n;return[s,0|i]}function O(t,r){var n,u=V(r);if(i)return[new l(t.value/u.value),new l(t.value%u.value)];var m,y=t.value,v=u.value;if(0===v)throw new Error("Cannot divide by zero");if(t.isSmall)return u.isSmall?[new s(h(y/v)),new s(y%v)]:[o[0],t];if(u.isSmall){if(1===v)return[t,o[0]];if(-1==v)return[t.negate(),o[0]];var b=Math.abs(v);if(b<e){m=d((n=S(y,b))[0]);var C=n[1];return t.sign&&(C=-C),"number"==typeof m?(t.sign!==u.sign&&(m=-m),[new s(m),new s(C)]):[new a(m,t.sign!==u.sign),new s(C)]}v=c(b)}var _=w(y,v);if(-1===_)return[o[0],t];if(0===_)return[o[t.sign===u.sign?1:-1],o[0]];m=(n=y.length+v.length<=200?function(t,r){var n,i,o,a,s,l,u,c=t.length,p=r.length,h=e,m=f(r.length),y=r[p-1],v=Math.ceil(h/(2*y)),g=E(t,v),b=E(r,v);for(g.length<=c&&g.push(0),b.push(0),y=b[p-1],i=c-p;i>=0;i--){for(n=h-1,g[i+p]!==y&&(n=Math.floor((g[i+p]*h+g[i+p-1])/y)),o=0,a=0,l=b.length,s=0;s<l;s++)o+=n*b[s],u=Math.floor(o/h),a+=g[i+s]-(o-u*h),o=u,a<0?(g[i+s]=a+h,a=-1):(g[i+s]=a,a=0);for(;0!==a;){for(n-=1,o=0,s=0;s<l;s++)(o+=g[i+s]-h+b[s])<0?(g[i+s]=o+h,o=0):(g[i+s]=o,o=1);a+=o}m[i]=n}return g=S(g,v)[0],[d(m),d(g)]}(y,v):function(e,t){for(var r,n,i,o,a,s=e.length,l=t.length,u=[],c=[];s;)if(c.unshift(e[--s]),p(c),w(c,t)<0)u.push(0);else{i=1e7*c[(n=c.length)-1]+c[n-2],o=1e7*t[l-1]+t[l-2],n>l&&(i=1e7*(i+1)),r=Math.ceil(i/o);do{if(w(a=E(t,r),c)<=0)break;r--}while(r);u.push(r),c=g(c,a)}return u.reverse(),[d(u),d(c)]}(y,v))[0];var T=t.sign!==u.sign,x=n[1],O=t.sign;return"number"==typeof m?(T&&(m=-m),m=new s(m)):m=new a(m,T),"number"==typeof x?(O&&(x=-x),x=new s(x)):x=new a(x,O),[m,x]}function w(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var r=e.length-1;r>=0;r--)if(e[r]!==t[r])return e[r]>t[r]?1:-1;return 0}function A(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function N(e,t){for(var r,i,o,a=e.prev(),s=a,l=0;s.isEven();)s=s.divide(2),l++;e:for(i=0;i<t.length;i++)if(!e.lesser(t[i])&&!(o=n(t[i]).modPow(s,e)).isUnit()&&!o.equals(a)){for(r=l-1;0!=r;r--){if((o=o.square().mod(e)).isUnit())return!1;if(o.equals(a))continue e}return!1}return!0}a.prototype=Object.create(o.prototype),s.prototype=Object.create(o.prototype),l.prototype=Object.create(o.prototype),a.prototype.add=function(e){var t=V(e);if(this.sign!==t.sign)return this.subtract(t.negate());var r=this.value,n=t.value;return t.isSmall?new a(v(r,Math.abs(n)),this.sign):new a(y(r,n),this.sign)},a.prototype.plus=a.prototype.add,s.prototype.add=function(e){var t=V(e),r=this.value;if(r<0!==t.sign)return this.subtract(t.negate());var n=t.value;if(t.isSmall){if(u(r+n))return new s(r+n);n=c(Math.abs(n))}return new a(v(n,Math.abs(r)),r<0)},s.prototype.plus=s.prototype.add,l.prototype.add=function(e){return new l(this.value+V(e).value)},l.prototype.plus=l.prototype.add,a.prototype.subtract=function(e){var t=V(e);if(this.sign!==t.sign)return this.add(t.negate());var r=this.value,n=t.value;return t.isSmall?b(r,Math.abs(n),this.sign):function(e,t,r){var n;return w(e,t)>=0?n=g(e,t):(n=g(t,e),r=!r),"number"==typeof(n=d(n))?(r&&(n=-n),new s(n)):new a(n,r)}(r,n,this.sign)},a.prototype.minus=a.prototype.subtract,s.prototype.subtract=function(e){var t=V(e),r=this.value;if(r<0!==t.sign)return this.add(t.negate());var n=t.value;return t.isSmall?new s(r-n):b(n,Math.abs(r),r>=0)},s.prototype.minus=s.prototype.subtract,l.prototype.subtract=function(e){return new l(this.value-V(e).value)},l.prototype.minus=l.prototype.subtract,a.prototype.negate=function(){return new a(this.value,!this.sign)},s.prototype.negate=function(){var e=this.sign,t=new s(-this.value);return t.sign=!e,t},l.prototype.negate=function(){return new l(-this.value)},a.prototype.abs=function(){return new a(this.value,!1)},s.prototype.abs=function(){return new s(Math.abs(this.value))},l.prototype.abs=function(){return new l(this.value>=0?this.value:-this.value)},a.prototype.multiply=function(t){var r,n,i,s=V(t),l=this.value,u=s.value,d=this.sign!==s.sign;if(s.isSmall){if(0===u)return o[0];if(1===u)return this;if(-1===u)return this.negate();if((r=Math.abs(u))<e)return new a(E(l,r),d);u=c(r)}return new a(-.012*(n=l.length)-.012*(i=u.length)+15e-6*n*i>0?function e(t,r){var n=Math.max(t.length,r.length);if(n<=30)return C(t,r);n=Math.ceil(n/2);var i=t.slice(n),o=t.slice(0,n),a=r.slice(n),s=r.slice(0,n),l=e(o,s),u=e(i,a),c=e(y(o,i),y(s,a)),d=y(y(l,_(g(g(c,l),u),n)),_(u,2*n));return p(d),d}(l,u):C(l,u),d)},a.prototype.times=a.prototype.multiply,s.prototype._multiplyBySmall=function(e){return u(e.value*this.value)?new s(e.value*this.value):T(Math.abs(e.value),c(Math.abs(this.value)),this.sign!==e.sign)},a.prototype._multiplyBySmall=function(e){return 0===e.value?o[0]:1===e.value?this:-1===e.value?this.negate():T(Math.abs(e.value),this.value,this.sign!==e.sign)},s.prototype.multiply=function(e){return V(e)._multiplyBySmall(this)},s.prototype.times=s.prototype.multiply,l.prototype.multiply=function(e){return new l(this.value*V(e).value)},l.prototype.times=l.prototype.multiply,a.prototype.square=function(){return new a(x(this.value),!1)},s.prototype.square=function(){var e=this.value*this.value;return u(e)?new s(e):new a(x(c(Math.abs(this.value))),!1)},l.prototype.square=function(e){return new l(this.value*this.value)},a.prototype.divmod=function(e){var t=O(this,e);return{quotient:t[0],remainder:t[1]}},l.prototype.divmod=s.prototype.divmod=a.prototype.divmod,a.prototype.divide=function(e){return O(this,e)[0]},l.prototype.over=l.prototype.divide=function(e){return new l(this.value/V(e).value)},s.prototype.over=s.prototype.divide=a.prototype.over=a.prototype.divide,a.prototype.mod=function(e){return O(this,e)[1]},l.prototype.mod=l.prototype.remainder=function(e){return new l(this.value%V(e).value)},s.prototype.remainder=s.prototype.mod=a.prototype.remainder=a.prototype.mod,a.prototype.pow=function(e){var t,r,n,i=V(e),a=this.value,l=i.value;if(0===l)return o[1];if(0===a)return o[0];if(1===a)return o[1];if(-1===a)return i.isEven()?o[1]:o[-1];if(i.sign)return o[0];if(!i.isSmall)throw new Error("The exponent "+i.toString()+" is too large.");if(this.isSmall&&u(t=Math.pow(a,l)))return new s(h(t));for(r=this,n=o[1];!0&l&&(n=n.times(r),--l),0!==l;)l/=2,r=r.square();return n},s.prototype.pow=a.prototype.pow,l.prototype.pow=function(e){var t=V(e),r=this.value,n=t.value,i=BigInt(0),a=BigInt(1),s=BigInt(2);if(n===i)return o[1];if(r===i)return o[0];if(r===a)return o[1];if(r===BigInt(-1))return t.isEven()?o[1]:o[-1];if(t.isNegative())return new l(i);for(var u=this,c=o[1];(n&a)===a&&(c=c.times(u),--n),n!==i;)n/=s,u=u.square();return c},a.prototype.modPow=function(e,t){if(e=V(e),(t=V(t)).isZero())throw new Error("Cannot take modPow with modulus 0");var r=o[1],n=this.mod(t);for(e.isNegative()&&(e=e.multiply(o[-1]),n=n.modInv(t));e.isPositive();){if(n.isZero())return o[0];e.isOdd()&&(r=r.multiply(n).mod(t)),e=e.divide(2),n=n.square().mod(t)}return r},l.prototype.modPow=s.prototype.modPow=a.prototype.modPow,a.prototype.compareAbs=function(e){var t=V(e),r=this.value,n=t.value;return t.isSmall?1:w(r,n)},s.prototype.compareAbs=function(e){var t=V(e),r=Math.abs(this.value),n=t.value;return t.isSmall?r===(n=Math.abs(n))?0:r>n?1:-1:-1},l.prototype.compareAbs=function(e){var t=this.value,r=V(e).value;return(t=t>=0?t:-t)===(r=r>=0?r:-r)?0:t>r?1:-1},a.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=V(e),r=this.value,n=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:w(r,n)*(this.sign?-1:1)},a.prototype.compareTo=a.prototype.compare,s.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=V(e),r=this.value,n=t.value;return t.isSmall?r==n?0:r>n?1:-1:r<0!==t.sign?r<0?-1:1:r<0?1:-1},s.prototype.compareTo=s.prototype.compare,l.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=this.value,r=V(e).value;return t===r?0:t>r?1:-1},l.prototype.compareTo=l.prototype.compare,a.prototype.equals=function(e){return 0===this.compare(e)},l.prototype.eq=l.prototype.equals=s.prototype.eq=s.prototype.equals=a.prototype.eq=a.prototype.equals,a.prototype.notEquals=function(e){return 0!==this.compare(e)},l.prototype.neq=l.prototype.notEquals=s.prototype.neq=s.prototype.notEquals=a.prototype.neq=a.prototype.notEquals,a.prototype.greater=function(e){return this.compare(e)>0},l.prototype.gt=l.prototype.greater=s.prototype.gt=s.prototype.greater=a.prototype.gt=a.prototype.greater,a.prototype.lesser=function(e){return this.compare(e)<0},l.prototype.lt=l.prototype.lesser=s.prototype.lt=s.prototype.lesser=a.prototype.lt=a.prototype.lesser,a.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},l.prototype.geq=l.prototype.greaterOrEquals=s.prototype.geq=s.prototype.greaterOrEquals=a.prototype.geq=a.prototype.greaterOrEquals,a.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},l.prototype.leq=l.prototype.lesserOrEquals=s.prototype.leq=s.prototype.lesserOrEquals=a.prototype.leq=a.prototype.lesserOrEquals,a.prototype.isEven=function(){return!(1&this.value[0])},s.prototype.isEven=function(){return!(1&this.value)},l.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},a.prototype.isOdd=function(){return!(1&~this.value[0])},s.prototype.isOdd=function(){return!(1&~this.value)},l.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},a.prototype.isPositive=function(){return!this.sign},s.prototype.isPositive=function(){return this.value>0},l.prototype.isPositive=s.prototype.isPositive,a.prototype.isNegative=function(){return this.sign},s.prototype.isNegative=function(){return this.value<0},l.prototype.isNegative=s.prototype.isNegative,a.prototype.isUnit=function(){return!1},s.prototype.isUnit=function(){return 1===Math.abs(this.value)},l.prototype.isUnit=function(){return this.abs().value===BigInt(1)},a.prototype.isZero=function(){return!1},s.prototype.isZero=function(){return 0===this.value},l.prototype.isZero=function(){return this.value===BigInt(0)},a.prototype.isDivisibleBy=function(e){var t=V(e);return!t.isZero()&&(!!t.isUnit()||(0===t.compareAbs(2)?this.isEven():this.mod(t).isZero()))},l.prototype.isDivisibleBy=s.prototype.isDivisibleBy=a.prototype.isDivisibleBy,a.prototype.isPrime=function(e){var t=A(this);if(void 0!==t)return t;var r=this.abs(),i=r.bitLength();if(i<=64)return N(r,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var o=Math.log(2)*i.toJSNumber(),a=Math.ceil(!0===e?2*Math.pow(o,2):o),s=[],l=0;l<a;l++)s.push(n(l+2));return N(r,s)},l.prototype.isPrime=s.prototype.isPrime=a.prototype.isPrime,a.prototype.isProbablePrime=function(e,t){var r=A(this);if(void 0!==r)return r;for(var i=this.abs(),o=void 0===e?5:e,a=[],s=0;s<o;s++)a.push(n.randBetween(2,i.minus(2),t));return N(i,a)},l.prototype.isProbablePrime=s.prototype.isProbablePrime=a.prototype.isProbablePrime,a.prototype.modInv=function(e){for(var t,r,i,o=n.zero,a=n.one,s=V(e),l=this.abs();!l.isZero();)t=s.divide(l),r=o,i=s,o=a,s=l,a=r.subtract(t.multiply(a)),l=i.subtract(t.multiply(l));if(!s.isUnit())throw new Error(this.toString()+" and "+e.toString()+" are not co-prime");return-1===o.compare(0)&&(o=o.add(e)),this.isNegative()?o.negate():o},l.prototype.modInv=s.prototype.modInv=a.prototype.modInv,a.prototype.next=function(){var e=this.value;return this.sign?b(e,1,this.sign):new a(v(e,1),this.sign)},s.prototype.next=function(){var e=this.value;return e+1<t?new s(e+1):new a(r,!1)},l.prototype.next=function(){return new l(this.value+BigInt(1))},a.prototype.prev=function(){var e=this.value;return this.sign?new a(v(e,1),!0):b(e,1,this.sign)},s.prototype.prev=function(){var e=this.value;return e-1>-t?new s(e-1):new a(r,!0)},l.prototype.prev=function(){return new l(this.value-BigInt(1))};for(var P=[1];2*P[P.length-1]<=e;)P.push(2*P[P.length-1]);var I=P.length,R=P[I-1];function L(t){return Math.abs(t)<=e}function k(e,t,r){t=V(t);for(var i=e.isNegative(),o=t.isNegative(),a=i?e.not():e,s=o?t.not():t,l=0,u=0,c=null,d=null,p=[];!a.isZero()||!s.isZero();)l=(c=O(a,R))[1].toJSNumber(),i&&(l=R-1-l),u=(d=O(s,R))[1].toJSNumber(),o&&(u=R-1-u),a=c[0],s=d[0],p.push(r(l,u));for(var f=0!==r(i?1:0,o?1:0)?n(-1):n(0),h=p.length-1;h>=0;h-=1)f=f.multiply(R).add(n(p[h]));return f}function M(t){var r=t.value,n="number"==typeof r?r|1<<30:"bigint"==typeof r?r|BigInt(1<<30):r[0]+r[1]*e|1073758208;return n&-n}function D(e,t){return e=V(e),t=V(t),e.greater(t)?e:t}function U(e,t){return e=V(e),t=V(t),e.lesser(t)?e:t}function j(e,t){if(e=V(e).abs(),t=V(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var r,n,i=o[1];e.isEven()&&t.isEven();)r=U(M(e),M(t)),e=e.divide(r),t=t.divide(r),i=i.multiply(r);for(;e.isEven();)e=e.divide(M(e));do{for(;t.isEven();)t=t.divide(M(t));e.greater(t)&&(n=t,t=e,e=n),t=t.subtract(e)}while(!t.isZero());return i.isUnit()?e:e.multiply(i)}a.prototype.shiftLeft=function(e){var t=V(e).toJSNumber();if(!L(t))throw new Error(String(t)+" is too large for shifting.");if(t<0)return this.shiftRight(-t);var r=this;if(r.isZero())return r;for(;t>=I;)r=r.multiply(R),t-=I-1;return r.multiply(P[t])},l.prototype.shiftLeft=s.prototype.shiftLeft=a.prototype.shiftLeft,a.prototype.shiftRight=function(e){var t,r=V(e).toJSNumber();if(!L(r))throw new Error(String(r)+" is too large for shifting.");if(r<0)return this.shiftLeft(-r);for(var n=this;r>=I;){if(n.isZero()||n.isNegative()&&n.isUnit())return n;n=(t=O(n,R))[1].isNegative()?t[0].prev():t[0],r-=I-1}return(t=O(n,P[r]))[1].isNegative()?t[0].prev():t[0]},l.prototype.shiftRight=s.prototype.shiftRight=a.prototype.shiftRight,a.prototype.not=function(){return this.negate().prev()},l.prototype.not=s.prototype.not=a.prototype.not,a.prototype.and=function(e){return k(this,e,(function(e,t){return e&t}))},l.prototype.and=s.prototype.and=a.prototype.and,a.prototype.or=function(e){return k(this,e,(function(e,t){return e|t}))},l.prototype.or=s.prototype.or=a.prototype.or,a.prototype.xor=function(e){return k(this,e,(function(e,t){return e^t}))},l.prototype.xor=s.prototype.xor=a.prototype.xor,a.prototype.bitLength=function(){var e=this;return e.compareTo(n(0))<0&&(e=e.negate().subtract(n(1))),0===e.compareTo(n(0))?n(0):n(function e(t,r){if(r.compareTo(t)<=0){var i=e(t,r.square(r)),o=i.p,a=i.e,s=o.multiply(r);return s.compareTo(t)<=0?{p:s,e:2*a+1}:{p:o,e:2*a}}return{p:n(1),e:0}}(e,n(2)).e).add(n(1))},l.prototype.bitLength=s.prototype.bitLength=a.prototype.bitLength;var F=function(e,t,r,n){r=r||"0123456789abcdefghijklmnopqrstuvwxyz",e=String(e),n||(e=e.toLowerCase(),r=r.toLowerCase());var i,o=e.length,a=Math.abs(t),s={};for(i=0;i<r.length;i++)s[r[i]]=i;for(i=0;i<o;i++)if("-"!==(c=e[i])&&c in s&&s[c]>=a){if("1"===c&&1===a)continue;throw new Error(c+" is not a valid digit in base "+t+".")}t=V(t);var l=[],u="-"===e[0];for(i=u?1:0;i<e.length;i++){var c;if((c=e[i])in s)l.push(V(s[c]));else{if("<"!==c)throw new Error(c+" is not a valid character");var d=i;do{i++}while(">"!==e[i]&&i<e.length);l.push(V(e.slice(d+1,i)))}}return B(l,t,u)};function B(e,t,r){var n,i=o[0],a=o[1];for(n=e.length-1;n>=0;n--)i=i.add(e[n].times(a)),a=a.times(t);return r?i.negate():i}function z(e,t){if((t=n(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var r=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return r.unshift([1]),{value:[].concat.apply([],r),isNegative:!1}}var i=!1;if(e.isNegative()&&t.isPositive()&&(i=!0,e=e.abs()),t.isUnit())return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:i};for(var o,a=[],s=e;s.isNegative()||s.compareAbs(t)>=0;){o=s.divmod(t),s=o.quotient;var l=o.remainder;l.isNegative()&&(l=t.minus(l).abs(),s=s.next()),a.push(l.toJSNumber())}return a.push(s.toJSNumber()),{value:a.reverse(),isNegative:i}}function H(e,t,r){var n=z(e,t);return(n.isNegative?"-":"")+n.value.map((function(e){return function(e,t){return e<(t=t||"0123456789abcdefghijklmnopqrstuvwxyz").length?t[e]:"<"+e+">"}(e,r)})).join("")}function q(e){if(u(+e)){var t=+e;if(t===h(t))return i?new l(BigInt(t)):new s(t);throw new Error("Invalid integer: "+e)}var r="-"===e[0];r&&(e=e.slice(1));var n=e.split(/e/i);if(n.length>2)throw new Error("Invalid integer: "+n.join("e"));if(2===n.length){var o=n[1];if("+"===o[0]&&(o=o.slice(1)),(o=+o)!==h(o)||!u(o))throw new Error("Invalid integer: "+o+" is not a valid exponent.");var c=n[0],d=c.indexOf(".");if(d>=0&&(o-=c.length-d-1,c=c.slice(0,d)+c.slice(d+1)),o<0)throw new Error("Cannot include negative exponent part for integers");e=c+=new Array(o+1).join("0")}if(!/^([0-9][0-9]*)$/.test(e))throw new Error("Invalid integer: "+e);if(i)return new l(BigInt(r?"-"+e:e));for(var f=[],m=e.length,y=m-7;m>0;)f.push(+e.slice(y,m)),(y-=7)<0&&(y=0),m-=7;return p(f),new a(f,r)}function V(e){return"number"==typeof e?function(e){if(i)return new l(BigInt(e));if(u(e)){if(e!==h(e))throw new Error(e+" is not an integer.");return new s(e)}return q(e.toString())}(e):"string"==typeof e?q(e):"bigint"==typeof e?new l(e):e}a.prototype.toArray=function(e){return z(this,e)},s.prototype.toArray=function(e){return z(this,e)},l.prototype.toArray=function(e){return z(this,e)},a.prototype.toString=function(e,t){if(void 0===e&&(e=10),10!==e)return H(this,e,t);for(var r,n=this.value,i=n.length,o=String(n[--i]);--i>=0;)r=String(n[i]),o+="0000000".slice(r.length)+r;return(this.sign?"-":"")+o},s.prototype.toString=function(e,t){return void 0===e&&(e=10),10!=e?H(this,e,t):String(this.value)},l.prototype.toString=s.prototype.toString,l.prototype.toJSON=a.prototype.toJSON=s.prototype.toJSON=function(){return this.toString()},a.prototype.valueOf=function(){return parseInt(this.toString(),10)},a.prototype.toJSNumber=a.prototype.valueOf,s.prototype.valueOf=function(){return this.value},s.prototype.toJSNumber=s.prototype.valueOf,l.prototype.valueOf=l.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var G=0;G<1e3;G++)o[G]=V(G),G>0&&(o[-G]=V(-G));return o.one=o[1],o.zero=o[0],o.minusOne=o[-1],o.max=D,o.min=U,o.gcd=j,o.lcm=function(e,t){return e=V(e).abs(),t=V(t).abs(),e.divide(j(e,t)).multiply(t)},o.isInstance=function(e){return e instanceof a||e instanceof s||e instanceof l},o.randBetween=function(t,r,n){t=V(t),r=V(r);var i=n||Math.random,a=U(t,r),s=D(t,r).subtract(a).add(1);if(s.isSmall)return a.add(Math.floor(i()*s));for(var l=z(s,e).value,u=[],c=!0,d=0;d<l.length;d++){var p=c?l[d]:e,f=h(i()*p);u.push(f),f<p&&(c=!1)}return a.add(o.fromArray(u,e,!1))},o.fromArray=function(e,t,r){return B(e.map(V),V(t||10),r)},o}();void 0!==t&&t.hasOwnProperty("exports")&&(t.exports=n)},{}],50:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(107);class o extends i.NumberTransformEvaluator{constructor(){super(n.ExpressionType.Floor,o.func)}static func(e){return Math.floor(e[0])}}r.Floor=o},{107:107,192:192}],51:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(195),a=e(213);r.Foreach=class extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Foreach,o.InternalFunctionUtils.foreach,a.ReturnType.Array,o.InternalFunctionUtils.ValidateLambdaExpression)}}},{180:180,192:192,195:195,213:213}],52:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.FormatDateTime,d.evaluator(),c.ReturnType.String,d.validator)}static evaluator(){return l.FunctionUtils.applyWithOptionsAndError(((e,t)=>{let r,n,o=e[0],a=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale,s=l.FunctionUtils.DefaultDateTimeFormat;if("string"==typeof o?r=u.InternalFunctionUtils.verifyTimestamp(o.toString()):o=o.toISOString(),!r){let t;if(({format:s,locale:a}=l.FunctionUtils.determineFormatAndLocale(e,3,s,a)),o.endsWith("Z"))t=new Date(o).toISOString();else try{t=new Date(o+"Z").toISOString()}catch(e){t=new Date(o).toISOString()}n=i.default(t).locale(a).utc().format(s)}return{value:n,error:r}}))}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.String)}}r.FormatDateTime=d},{180:180,192:192,195:195,196:196,213:213,388:388,391:391}],53:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=e(180),a=e(192),s=e(196),l=e(213);class u extends o.ExpressionEvaluator{constructor(){super(a.ExpressionType.FormatEpoch,u.evaluator(),l.ReturnType.String,u.validator)}static evaluator(){return s.FunctionUtils.applyWithOptionsAndError(((e,t)=>{let r,n,o=e[0],a=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale,l=s.FunctionUtils.DefaultDateTimeFormat;if(s.FunctionUtils.isNumber(o)?o*=1e3:r=`formatEpoch first argument ${o} must be a number`,!r){({format:l,locale:a}=s.FunctionUtils.determineFormatAndLocale(e,3,l,a));const t=new Date(o).toISOString();n=i.default(t).locale(a).utc().format(l)}return{value:n,error:r}}))}static validator(e){s.FunctionUtils.validateOrder(e,[l.ReturnType.String,l.ReturnType.String],l.ReturnType.Number)}}r.FormatEpoch=u},{180:180,192:192,196:196,213:213,388:388}],54:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(387),i=e(180),o=e(192),a=e(196),s=e(213),l=e(200);class u extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.FormatNumber,u.evaluator(),s.ReturnType.String,u.validator)}static evaluator(){return a.FunctionUtils.applyWithOptionsAndError(((e,t)=>{let r,i=null;const o=e[0],s=e[1];let u=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale;if(u=a.FunctionUtils.determineLocale(e,3,u),a.FunctionUtils.isNumber(o))if(a.FunctionUtils.isNumber(s))if(u&&"string"!=typeof u)r=`formatNubmer third argument ${u} is not a valid locale`;else{const e=`,.${s}f`,t=this.roundToPrecision(o,s),r=l.localeInfo[u];i=void 0!==r?n.formatLocale(r).format(e)(t):n.format(e)(t)}else r=`formatNumber second argument ${s} must be a number`;else r=`formatNumber first argument ${o} must be a number`;return{value:i,error:r}}))}static validator(e){a.FunctionUtils.validateOrder(e,[s.ReturnType.String],s.ReturnType.Number,s.ReturnType.Number)}}u.roundToPrecision=(e,t)=>Math.round(e*Math.pow(10,t))/Math.pow(10,t),r.FormatNumber=u},{180:180,192:192,196:196,200:200,213:213,387:387}],387:[function(e,t,r){var n;n=this,function(e){function t(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function r(e){return(e=t(Math.abs(e)))?e[1]:NaN}var n,i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(e){if(!(t=i.exec(e)))throw new Error("invalid format: "+e);var t;return new a({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function a(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function s(e,r){var n=t(e,r);if(!n)return e+"";var i=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}o.prototype=a.prototype,a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var l={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return s(100*e,t)},r:s,s:function(e,r){var i=t(e,r);if(!i)return e+"";var o=i[0],a=i[1],s=a-(n=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,l=o.length;return s===l?o:s>l?o+new Array(s-l+1).join("0"):s>0?o.slice(0,s)+"."+o.slice(s):"0."+new Array(1-s).join("0")+t(e,Math.max(0,r+s-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function u(e){return e}var c,d=Array.prototype.map,p=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function f(e){var t,i,a=void 0===e.grouping||void 0===e.thousands?u:(t=d.call(e.grouping,Number),i=e.thousands+"",function(e,r){for(var n=e.length,o=[],a=0,s=t[0],l=0;n>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(n-=s,n+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(i)}),s=void 0===e.currency?"":e.currency[0]+"",c=void 0===e.currency?"":e.currency[1]+"",f=void 0===e.decimal?".":e.decimal+"",h=void 0===e.numerals?u:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(d.call(e.numerals,String)),m=void 0===e.percent?"%":e.percent+"",y=void 0===e.minus?"-":e.minus+"",v=void 0===e.nan?"NaN":e.nan+"";function g(e){var t=(e=o(e)).fill,r=e.align,i=e.sign,u=e.symbol,d=e.zero,g=e.width,b=e.comma,C=e.precision,E=e.trim,_=e.type;"n"===_?(b=!0,_="g"):l[_]||(void 0===C&&(C=12),E=!0,_="g"),(d||"0"===t&&"="===r)&&(d=!0,t="0",r="=");var T="$"===u?s:"#"===u&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",x="$"===u?c:/[%p]/.test(_)?m:"",S=l[_],O=/[defgprs%]/.test(_);function w(e){var o,s,l,u=T,c=x;if("c"===_)c=S(e)+c,e="";else{var m=(e=+e)<0||1/e<0;if(e=isNaN(e)?v:S(Math.abs(e),C),E&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),m&&0==+e&&"+"!==i&&(m=!1),u=(m?"("===i?i:y:"-"===i||"("===i?"":i)+u,c=("s"===_?p[8+n/3]:"")+c+(m&&"("===i?")":""),O)for(o=-1,s=e.length;++o<s;)if(48>(l=e.charCodeAt(o))||l>57){c=(46===l?f+e.slice(o+1):e.slice(o))+c,e=e.slice(0,o);break}}b&&!d&&(e=a(e,1/0));var w=u.length+e.length+c.length,A=w<g?new Array(g-w+1).join(t):"";switch(b&&d&&(e=a(A+e,A.length?g-c.length:1/0),A=""),r){case"<":e=u+e+c+A;break;case"=":e=u+A+e+c;break;case"^":e=A.slice(0,w=A.length>>1)+u+e+c+A.slice(w);break;default:e=A+u+e+c}return h(e)}return C=void 0===C?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,C)):Math.max(0,Math.min(20,C)),w.toString=function(){return e+""},w}return{format:g,formatPrefix:function(e,t){var n=g(((e=o(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(r(t)/3))),a=Math.pow(10,-i),s=p[8+i/3];return function(e){return n(a*e)+s}}}}(function(t){c=f(t),e.format=c.format,c.formatPrefix})({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),e.formatLocale=f,Object.defineProperty(e,"__esModule",{value:!0})}("object"==typeof r&&void 0!==t?r:(n="undefined"!=typeof globalThis?globalThis:n||self).d3=n.d3||{})},{}],55:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(385)),o=n(e(388)),a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.FormatTicks,d.evaluator(),c.ReturnType.String,d.validator)}static evaluator(){return l.FunctionUtils.applyWithOptionsAndError(((e,t)=>{let r,n,a=e[0],s=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale,c=l.FunctionUtils.DefaultDateTimeFormat;if(l.FunctionUtils.isNumber(a)&&(a=i.default(a)),"string"==typeof a&&(a=i.default(a)),i.default.isInstance(a)?a=a.subtract(u.InternalFunctionUtils.UnixMilliSecondToTicksConstant).divide(u.InternalFunctionUtils.MillisecondToTickConstant).toJSNumber():r=`formatTicks first argument ${a} is not a number, numeric string or bigInt`,!r&&(({format:c,locale:s}=l.FunctionUtils.determineFormatAndLocale(e,3,c,s)),l.FunctionUtils.isNumber(a))){const e=new Date(a).toISOString();n=o.default(e).locale(s).utc().format(c)}return{value:n,error:r}}))}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.Number)}}r.FormatTicks=d},{180:180,192:192,195:195,196:196,213:213,385:385,388:388}],56:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.GetFutureTime,d.evaluator,c.ReturnType.String,d.validator)}static evaluator(e,t,r){let n,o=r.locale?r.locale:Intl.DateTimeFormat().resolvedOptions().locale,a=l.FunctionUtils.DefaultDateTimeFormat;const{args:s,error:c}=l.FunctionUtils.evaluateChildren(e,t,r);let d=c;if(!d)if(Number.isInteger(s[0])&&"string"==typeof s[1]){({format:a,locale:o}=l.FunctionUtils.determineFormatAndLocale(s,4,a,o));const{duration:e,tsStr:t}=u.InternalFunctionUtils.timeUnitTransformer(s[0],s[1]);void 0===t?d=s[2]+" is not a valid time unit.":n=i.default().locale(o).utc().add(e,t).format(a)}else d=e+" should contain a time interval integer, a string unit of time and an optional output format string.";return{value:n,error:d}}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.Number,c.ReturnType.String)}}r.GetFutureTime=d},{180:180,192:192,195:195,196:196,213:213,388:388,391:391}],57:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(213),a=e(192),s=e(196),l=e(195),u=e(214),c=n(e(388)),d=n(e(391));c.default.extend(d.default);const p=n(e(390));c.default.extend(p.default);const f=e(222);class h extends i.ExpressionEvaluator{constructor(){super(a.ExpressionType.GetNextViableDate,h.evaluator,o.ReturnType.String,s.FunctionUtils.validateUnaryOrBinaryString)}static evaluator(e,t,r){let n;const i=c.default((new Date).toISOString());let o,a=0,d=0,p=0;const{args:m,error:y}=s.FunctionUtils.evaluateChildren(e,t,r);let v=y;if(v||({timexProperty:n,error:v}=l.InternalFunctionUtils.parseTimexProperty(m[0])),n&&!v&&(!n.year&&n.month&&n.dayOfMonth||(v=m[0]+" must be a timex string which only contains month and day-of-month, for example: 'XXXX-10-31'.")),!v)if(2===m.length&&"string"==typeof m[1]){const e=u.TimeZoneConverter.windowsToIana(m[1]);u.TimeZoneConverter.verifyTimeZoneStr(e)||(v=m[1]+" is not a valid timezone"),v||(o=i.utc().tz(e))}else o=i.utc();if(!v){const e=o.year(),t=o.month()+1,r=o.date();if(a=n.month>t||n.month===t&&n.dayOfMonth>=r?e:e+1,d=n.month,p=n.dayOfMonth,2===d&&29===p)for(;!h.leapYear(a);)a+=1}return{value:f.TimexProperty.fromDate(new Date(a,d-1,p)).timex,error:v}}static leapYear(e){return e%4==0&&e%100!=0||e%400==0}}r.GetNextViableDate=h},{180:180,192:192,195:195,196:196,213:213,214:214,222:222,388:388,390:390,391:391}],58:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(213),a=e(192),s=e(196),l=e(195),u=e(214),c=n(e(388)),d=n(e(391));c.default.extend(d.default);const p=n(e(390));c.default.extend(p.default);const f=e(222);class h extends i.ExpressionEvaluator{constructor(){super(a.ExpressionType.GetNextViableTime,h.evaluator,o.ReturnType.String,s.FunctionUtils.validateUnaryOrBinaryString)}static evaluator(e,t,r){let n;const i=c.default((new Date).toISOString());let o,a=0,d=0,p=0;const{args:h,error:m}=s.FunctionUtils.evaluateChildren(e,t,r);let y=m;if(y||/TXX:[0-5][0-9]:[0-5][0-9]/g.test(h[0])||(y=h[0]+" must be a timex string which only contains minutes and seconds, for example: 'TXX:15:28'"),!y)if(2===h.length&&"string"==typeof h[1]){const e=u.TimeZoneConverter.windowsToIana(h[1]);u.TimeZoneConverter.verifyTimeZoneStr(e)||(y=h[1]+" is not a valid timezone"),y||(o=i.utc().tz(e))}else o=i.utc();if(y||({timexProperty:n,error:y}=l.InternalFunctionUtils.parseTimexProperty(h[0].replace("XX","00"))),!y){const e=o.hour(),t=o.minute(),r=o.second();(a=n.minute>t||n.minute===t&&n.second>=r?e:e+1)>=24&&(a-=24),d=n.minute,p=n.second}return{value:f.TimexProperty.fromTime(new f.Time(a,d,p)).timex,error:y}}}r.GetNextViableTime=h},{180:180,192:192,195:195,196:196,213:213,214:214,222:222,388:388,390:390,391:391}],59:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.GetPastTime,d.evaluator,c.ReturnType.String,d.validator)}static evaluator(e,t,r){let n,o=r.locale?r.locale:Intl.DateTimeFormat().resolvedOptions().locale,a=l.FunctionUtils.DefaultDateTimeFormat;const{args:s,error:c}=l.FunctionUtils.evaluateChildren(e,t,r);let d=c;if(!d)if(Number.isInteger(s[0])&&"string"==typeof s[1]){({format:a,locale:o}=l.FunctionUtils.determineFormatAndLocale(s,4,a,o));const{duration:e,tsStr:t}=u.InternalFunctionUtils.timeUnitTransformer(s[0],s[1]);void 0===t?d=s[2]+" is not a valid time unit.":n=i.default().locale(o).utc().subtract(e,t).format(a)}else d=e+" should contain a time interval integer, a string unit of time and an optional output format string.";return{value:n,error:d}}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.Number,c.ReturnType.String)}}r.GetPastTime=d},{180:180,192:192,195:195,196:196,213:213,388:388,391:391}],60:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(213),a=e(192),s=e(196),l=e(195),u=e(214),c=n(e(388)),d=n(e(390));c.default.extend(d.default);const p=n(e(391));c.default.extend(p.default);const f=e(222);class h extends i.ExpressionEvaluator{constructor(){super(a.ExpressionType.GetPreviousViableDate,h.evaluator,o.ReturnType.String,s.FunctionUtils.validateUnaryOrBinaryString)}static evaluator(e,t,r){let n;const i=c.default((new Date).toISOString());let o,a=0,d=0,p=0;const{args:m,error:y}=s.FunctionUtils.evaluateChildren(e,t,r);let v=y;if(v||({timexProperty:n,error:v}=l.InternalFunctionUtils.parseTimexProperty(m[0])),n&&!v&&(!n.year&&n.month&&n.dayOfMonth||(v=m[0]+" must be a timex string which only contains month and day-of-month, for example: 'XXXX-10-31'.")),!v)if(2===m.length&&"string"==typeof m[1]){const e=u.TimeZoneConverter.windowsToIana(m[1]);u.TimeZoneConverter.verifyTimeZoneStr(e)||(v=m[1]+" is not a valid timezone"),v||(o=i.utc().tz(e))}else o=i.utc();if(!v){const e=o.year(),t=o.month()+1,r=o.date();if(a=n.month<t||n.month===t&&n.dayOfMonth<r?e:e-1,d=n.month,p=n.dayOfMonth,2===d&&29===p)for(;!h.leapYear(a);)a-=1}return{value:f.TimexProperty.fromDate(new Date(a,d-1,p)).timex,error:v}}static leapYear(e){return e%4==0&&e%100!=0||e%400==0}}r.GetPreviousViableDate=h},{180:180,192:192,195:195,196:196,213:213,214:214,222:222,388:388,390:390,391:391}],61:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(213),a=e(192),s=e(196),l=e(195),u=e(214),c=n(e(388)),d=n(e(390));c.default.extend(d.default);const p=e(222);class f extends i.ExpressionEvaluator{constructor(){super(a.ExpressionType.GetPreviousViableTime,f.evaluator,o.ReturnType.String,s.FunctionUtils.validateUnaryOrBinaryString)}static evaluator(e,t,r){let n;const i=c.default((new Date).toISOString());let o,a=0,d=0,f=0;const{args:h,error:m}=s.FunctionUtils.evaluateChildren(e,t,r);let y=m;if(y||/TXX:[0-5][0-9]:[0-5][0-9]/g.test(h[0])||(y=h[0]+" must be a timex string which only contains minutes and seconds, for example: 'TXX:15:28'"),!y)if(2===h.length&&"string"==typeof h[1]){const e=u.TimeZoneConverter.windowsToIana(h[1]);u.TimeZoneConverter.verifyTimeZoneStr(e)||(y=h[1]+" is not a valid timezone"),y||(o=i.utc().tz(e))}else o=i.utc();if(y||({timexProperty:n,error:y}=l.InternalFunctionUtils.parseTimexProperty(h[0].replace("XX","00"))),!y){const e=o.hour(),t=o.minute(),r=o.second();(a=n.minute<t||n.minute===t&&n.second<r?e:e-1)<0&&(a+=24),d=n.minute,f=n.second}return{value:p.TimexProperty.fromTime(new p.Time(a,d,f)).timex,error:y}}}r.GetPreviousViableTime=f},{180:180,192:192,195:195,196:196,213:213,214:214,222:222,388:388,390:390}],62:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(202),l=e(213);class u extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.GetProperty,u.evaluator,l.ReturnType.Object,u.validator)}static evaluator(e,t,r){let n,i;const o=e.children,{value:l,error:u}=o[0].tryEvaluate(t,r);let c=u;return c||(1===o.length?"string"==typeof l?n=a.InternalFunctionUtils.wrapGetValue(t,l,r):c=`"Single parameter ${o[0]} is not a string."`:(({value:i,error:c}=o[1].tryEvaluate(t,r)),c||(n=a.InternalFunctionUtils.wrapGetValue(new s.SimpleObjectMemory(l),i.toString(),r)))),{value:n,error:c}}static validator(e){o.FunctionUtils.validateOrder(e,[l.ReturnType.String],l.ReturnType.Object)}}r.GetProperty=u},{180:180,192:192,195:195,196:196,202:202,213:213}],63:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=e(180),a=e(192),s=e(196),l=e(195),u=e(213),c=e(26);class d extends o.ExpressionEvaluator{constructor(){super(a.ExpressionType.GetTimeOfDay,d.evaluator(),u.ReturnType.String,s.FunctionUtils.validateUnaryString)}static evaluator(){return s.FunctionUtils.applyWithError((e=>{let t,r,n=l.InternalFunctionUtils.verifyISOTimestamp(e[0]);if(n){if(n=l.InternalFunctionUtils.verifyTimestamp(e[0]))return{value:t,error:n};if(i.default(e[0]).format(c.ConvertFromUTC.NoneUtcDefaultDateTimeFormat)!==e[0])return{value:t,error:n};r=100*new Date(e[0]).getHours()+new Date(e[0]).getMinutes(),n=void 0}else r=100*new Date(e[0]).getUTCHours()+new Date(e[0]).getUTCMinutes();return 0===r?t="midnight":r>0&&r<1200?t="morning":1200===r?t="noon":r>1200&&r<1800?t="afternoon":r>=1800&&r<=2200?t="evening":r>2200&&r<=2359&&(t="night"),{value:t,error:n}}),s.FunctionUtils.verifyString)}}r.GetTimeOfDay=d},{180:180,192:192,195:195,196:196,213:213,26:26,388:388}],64:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(23);class a extends o.ComparisonEvaluator{constructor(){super(n.ExpressionType.GreaterThan,a.func,i.FunctionUtils.validateBinary,i.FunctionUtils.verifyNotNull)}static func(e){if(i.FunctionUtils.isNumber(e[0])&&i.FunctionUtils.isNumber(e[1])||"string"==typeof e[0]&&"string"==typeof e[1]||e[0]instanceof Date&&e[1]instanceof Date)return e[0]>e[1];throw new Error(`${e[0]} and ${e[1]} must be comparable.`)}}r.GreaterThan=a},{192:192,196:196,23:23}],65:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(23);class a extends o.ComparisonEvaluator{constructor(){super(n.ExpressionType.GreaterThanOrEqual,a.func,i.FunctionUtils.validateBinary,i.FunctionUtils.verifyNotNull)}static func(e){if(i.FunctionUtils.isNumber(e[0])&&i.FunctionUtils.isNumber(e[1])||"string"==typeof e[0]&&"string"==typeof e[1]||e[0]instanceof Date&&e[1]instanceof Date)return e[0]>=e[1];throw new Error(`${e[0]} and ${e[1]} must be comparable.`)}}r.GreaterThanOrEqual=a},{192:192,196:196,23:23}],66:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(204),l=e(213);class u extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.If,u.evaluator,l.ReturnType.Object,u.validator)}static evaluator(e,t,r){let n,i;const o=new s.Options(r);return o.nullSubstitution=void 0,({value:n,error:i}=e.children[0].tryEvaluate(t,o)),!i&&a.InternalFunctionUtils.isLogicTrue(n)?({value:n,error:i}=e.children[1].tryEvaluate(t,r)):({value:n,error:i}=e.children[2].tryEvaluate(t,r)),{value:n,error:i}}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,3,3)}}r.If=u},{180:180,192:192,195:195,196:196,204:204,213:213}],67:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Ignore,s.evaluator,a.ReturnType.Boolean,o.FunctionUtils.validateUnaryBoolean),this.negation=this}static evaluator(e,t,r){return e.children[0].tryEvaluate(t,r)}}r.Ignore=s},{180:180,192:192,196:196,213:213}],70:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IndicesAndValues,s.evaluator,a.ReturnType.Array,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n,i,o;if(({value:o,error:i}=e.children[0].tryEvaluate(t,r)),void 0===i)if(Array.isArray(o)){const e=[];for(let t=0;t<o.length;t++)e.push({index:t,value:o[t]});n=e}else if("object"==typeof o){const e=[];for(const[t,r]of Object.entries(o))e.push({index:t,value:r});n=e}else i=e.children[0]+" is not array or object.";return{value:n,error:i}}}r.IndicesAndValues=s},{180:180,192:192,196:196,213:213}],72:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Intersection,s.evaluator(),a.ReturnType.Array,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>{let t=e[0];for(const r of e)t=t.filter((e=>r.indexOf(e)>-1));return Array.from(new Set(t))}),o.FunctionUtils.verifyList)}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,1,Number.MAX_SAFE_INTEGER,a.ReturnType.Array)}}r.Intersection=s},{180:180,192:192,196:196,213:213}],69:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IndexOf,l.evaluator,s.ReturnType.Number,l.validator)}static evaluator(e,t,r){let n=-1;const{args:i,error:s}=o.FunctionUtils.evaluateChildren(e,t,r);let l=s;return l||(null==i[0]||"string"==typeof i[0]?void 0===i[1]||"string"==typeof i[1]?n=a.InternalFunctionUtils.parseStringOrUndefined(i[0]).indexOf(a.InternalFunctionUtils.parseStringOrUndefined(i[1])):l="Can only look for indexof string in "+e:Array.isArray(i[0])?n=i[0].indexOf(i[1]):l=e+" works only on string or list."),{value:n,error:l}}static validator(e){o.FunctionUtils.validateOrder(e,[],s.ReturnType.String|s.ReturnType.Array,s.ReturnType.Object)}}r.IndexOf=l},{180:180,192:192,195:195,196:196,213:213}],74:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsBoolean,s.evaluator(),a.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>"boolean"==typeof e[0]))}}r.IsBoolean=s},{180:180,192:192,196:196,213:213}],73:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsArray,s.evaluator(),a.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>Array.isArray(e[0])))}}r.IsArray=s},{180:180,192:192,196:196,213:213}],75:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsDate,l.evaluator,s.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n,i=!1;const{args:s,error:l}=o.FunctionUtils.evaluateChildren(e,t,r);let u=l;return u||({timexProperty:n,error:u}=a.InternalFunctionUtils.parseTimexProperty(s[0])),n&&!u&&(i=void 0!==n.month&&void 0!==n.dayOfMonth||void 0!==n.dayOfWeek),{value:i,error:u}}}r.IsDate=l},{180:180,192:192,195:195,196:196,213:213}],77:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsDateTime,l.evaluator(),s.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>"string"==typeof e[0]&&void 0===a.InternalFunctionUtils.verifyISOTimestamp(e[0])))}}r.IsDateTime=l},{180:180,192:192,195:195,196:196,213:213}],78:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsDefinite,l.evaluator,s.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n,i=!1;const{args:s,error:l}=o.FunctionUtils.evaluateChildren(e,t,r);let u=l;return u||({timexProperty:n,error:u}=a.InternalFunctionUtils.parseTimexProperty(s[0])),u||(i=null!=n&&void 0!==n.year&&void 0!==n.month&&void 0!==n.dayOfMonth),{value:i,error:u}}}r.IsDefinite=l},{180:180,192:192,195:195,196:196,213:213}],80:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsFloat,s.evaluator(),a.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>o.FunctionUtils.isNumber(e[0])&&!Number.isInteger(e[0])))}}r.IsFloat=s},{180:180,192:192,196:196,213:213}],82:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(166),i=e(180),o=e(192),a=e(196),s=e(213);class l extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.IsMatch,l.evaluator(),s.ReturnType.Boolean,l.validator)}static evaluator(){return a.FunctionUtils.applyWithError((e=>{const t=n.CommonRegex.CreateRegex(e[1].toString()),r=e[0]?e[0].toString():"";return{value:t.test(r),undefined:void 0}}),a.FunctionUtils.verifyStringOrNull)}static validator(e){a.FunctionUtils.validateArityAndAnyType(e,2,2,s.ReturnType.String);const t=e.children[1];t.returnType===s.ReturnType.String&&t.type===o.ExpressionType.Constant&&n.CommonRegex.CreateRegex(t.value.toString())}}r.IsMatch=l},{166:166,180:180,192:192,196:196,213:213}],76:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsDateRange,l.evaluator,s.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n,i=!1;const{args:s,error:l}=o.FunctionUtils.evaluateChildren(e,t,r);let u=l;return u||({timexProperty:n,error:u}=a.InternalFunctionUtils.parseTimexProperty(s[0])),n&&!u&&(i=void 0!==n.year&&void 0===n.dayOfMonth||void 0!==n.year&&void 0!==n.month&&void 0===n.dayOfMonth||void 0!==n.month&&void 0===n.dayOfMonth||void 0!==n.season||void 0!==n.weekOfYear||void 0!==n.weekOfMonth),{value:i,error:u}}}r.IsDateRange=l},{180:180,192:192,195:195,196:196,213:213}],84:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsPresent,l.evaluator,s.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n,i=!1;const{args:s,error:l}=o.FunctionUtils.evaluateChildren(e,t,r);let u=l;return u||({timexProperty:n,error:u}=a.InternalFunctionUtils.parseTimexProperty(s[0])),n&&!u&&(i=void 0!==n.now),{value:i,error:u}}}r.IsPresent=l},{180:180,192:192,195:195,196:196,213:213}],81:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsInteger,s.evaluator(),a.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>o.FunctionUtils.isNumber(e[0])&&Number.isInteger(e[0])))}}r.IsInteger=s},{180:180,192:192,196:196,213:213}],85:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsString,s.evaluator(),a.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>"string"==typeof e[0]))}}r.IsString=s},{180:180,192:192,196:196,213:213}],79:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsDuration,l.evaluator,s.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n,i=!1;const{args:s,error:l}=o.FunctionUtils.evaluateChildren(e,t,r);let u=l;return u||({timexProperty:n,error:u}=a.InternalFunctionUtils.parseTimexProperty(s[0])),n&&!u&&(i=void 0!==n.years||void 0!==n.months||void 0!==n.weeks||void 0!==n.days||void 0!==n.hours||void 0!==n.minutes||void 0!==n.seconds),{value:i,error:u}}}r.IsDuration=l},{180:180,192:192,195:195,196:196,213:213}],83:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsObject,s.evaluator(),a.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>"object"==typeof e[0]))}}r.IsObject=s},{180:180,192:192,196:196,213:213}],86:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsTime,l.evaluator,s.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n,i=!1;const{args:s,error:l}=o.FunctionUtils.evaluateChildren(e,t,r);let u=l;return u||({timexProperty:n,error:u}=a.InternalFunctionUtils.parseTimexProperty(s[0])),n&&!u&&(i=void 0!==n.hour&&void 0!==n.minute&&void 0!==n.second),{value:i,error:u}}}r.IsTime=l},{180:180,192:192,195:195,196:196,213:213}],89:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Join,s.evaluator,a.ReturnType.String,s.validator)}static evaluator(e,t,r){let n;const{args:i,error:a}=o.FunctionUtils.evaluateChildren(e,t,r);let s=a;return s||(Array.isArray(i[0])?n=2===i.length?i[0].join(i[1]):i[0].length<3?i[0].join(i[2]):i[0].slice(0,i[0].length-1).join(i[1]).concat(i[2],i[0][i[0].length-1]):s=`${e.children[0]} evaluates to ${i[0]} which is not a list.`),{value:n,error:s}}static validator(e){o.FunctionUtils.validateOrder(e,[a.ReturnType.String],a.ReturnType.Array,a.ReturnType.String)}}r.Join=s},{180:180,192:192,196:196,213:213}],87:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.IsTimeRange,l.evaluator,s.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n,i=!1;const{args:s,error:l}=o.FunctionUtils.evaluateChildren(e,t,r);let u=l;return u||({timexProperty:n,error:u}=a.InternalFunctionUtils.parseTimexProperty(s[0])),n&&!u&&(i=void 0!==n.partOfDay),{value:i,error:u}}}r.IsTimeRange=l},{180:180,192:192,195:195,196:196,213:213}],90:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Json,s.evaluator(),a.ReturnType.Object,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>JSON.parse(e[0].trim())))}static validator(e){o.FunctionUtils.validateOrder(e,void 0,a.ReturnType.String)}}r.Json=s},{180:180,192:192,196:196,213:213}],92:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Last,l.evaluator(),s.ReturnType.Object,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>{let t;return"string"==typeof e[0]&&e[0].length>0&&(t=e[0][e[0].length-1]),Array.isArray(e[0])&&e[0].length>0&&(t=a.InternalFunctionUtils.accessIndex(e[0],e[0].length-1).value),t}))}}r.Last=l},{180:180,192:192,195:195,196:196,213:213}],94:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Length,l.evaluator(),s.ReturnType.Number,o.FunctionUtils.validateUnaryString)}static evaluator(){return o.FunctionUtils.apply((e=>a.InternalFunctionUtils.parseStringOrUndefined(e[0]).length),o.FunctionUtils.verifyStringOrNull)}}r.Length=l},{180:180,192:192,195:195,196:196,213:213}],91:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.JsonStringify,s.evaluator(),a.ReturnType.String,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>JSON.stringify(e[0])))}}r.JsonStringify=s},{180:180,192:192,196:196,213:213}],98:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Merge,s.evaluator(),a.ReturnType.Object,o.FunctionUtils.validateAtLeastOne)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{const t={};for(const r of e){const e=this.parseToObjectList(r);if(null!=e.error)return{value:void 0,error:e.error};for(const r of e.result)Object.assign(t,r)}return{value:t,error:void 0}}))}static parseToObjectList(e){const t=[];let r;if(null==e)r=`The argument ${e} must be a JSON object or array.`;else if(Array.isArray(e))for(const n of e)"object"!=typeof n||Array.isArray(n)?r=`The argument ${n} in array must be a JSON object.`:t.push(n);else"object"==typeof e?t.push(e):r=`The argument ${e} must be a JSON object or array.`;return{result:t,error:r}}}r.Merge=s},{180:180,192:192,196:196,213:213}],93:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.LastIndexOf,l.evaluator,s.ReturnType.Number,l.validator)}static evaluator(e,t,r){let n=-1;const{args:i,error:s}=o.FunctionUtils.evaluateChildren(e,t,r);let l=s;if(!l)if(null==i[0]||"string"==typeof i[0])if(void 0===i[1]||"string"==typeof i[1]){const e=a.InternalFunctionUtils.parseStringOrUndefined(i[0]),t=a.InternalFunctionUtils.parseStringOrUndefined(i[1]);n=e.lastIndexOf(t,e.length-1)}else l="Can only look for indexof string in "+e;else Array.isArray(i[0])?n=i[0].lastIndexOf(i[1]):l=e+" works only on string or list.";return{value:n,error:l}}static validator(e){o.FunctionUtils.validateOrder(e,[],s.ReturnType.String|s.ReturnType.Array,s.ReturnType.Object)}}r.LastIndexOf=l},{180:180,192:192,195:195,196:196,213:213}],99:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Min,s.evaluator(),a.ReturnType.Number,o.FunctionUtils.validateAtLeastOne)}static evaluator(){return o.FunctionUtils.apply((e=>{let t=Number.POSITIVE_INFINITY;if(1===e.length)if(Array.isArray(e[0]))for(const r of e[0])t=Math.min(t,r);else t=Math.min(t,e[0]);else for(const r of e)if(Array.isArray(r))for(const e of r)t=Math.min(t,e);else t=Math.min(t,r);return t}),o.FunctionUtils.verifyNumberOrNumericList)}}r.Min=s},{180:180,192:192,196:196,213:213}],97:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Max,s.evaluator(),a.ReturnType.Number,o.FunctionUtils.validateAtLeastOne)}static evaluator(){return o.FunctionUtils.apply((e=>{let t=Number.NEGATIVE_INFINITY;if(1===e.length)if(Array.isArray(e[0]))for(const r of e[0])t=Math.max(t,r);else t=Math.max(t,e[0]);else for(const r of e)if(Array.isArray(r))for(const e of r)t=Math.max(t,e);else t=Math.max(t,r);return t}),o.FunctionUtils.verifyNumberOrNumericList)}}r.Max=s},{180:180,192:192,196:196,213:213}],101:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Month,l.evaluator(),s.ReturnType.Number,o.FunctionUtils.validateUnaryString)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{const t=a.InternalFunctionUtils.verifyISOTimestamp(e[0]);return t?{value:void 0,error:t}:{value:new Date(e[0]).getUTCMonth()+1,error:t}}),o.FunctionUtils.verifyString)}}r.Month=l},{180:180,192:192,195:195,196:196,213:213}],100:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Mod,s.evaluator(),a.ReturnType.Number,o.FunctionUtils.validateBinaryNumber)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{let t,r;return 0===Number(e[1])?t="Cannot mod by 0.":r=e[0]%e[1],{value:r,error:t}}),o.FunctionUtils.verifyInteger)}}r.Mod=s},{180:180,192:192,196:196,213:213}],105:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(204),l=e(213);class u extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Not,u.evaluator,l.ReturnType.Boolean,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n,i=!1;const o=new s.Options(r);return o.nullSubstitution=void 0,({value:i,error:n}=e.children[0].tryEvaluate(t,o)),n?(n=void 0,i=!0):i=!a.InternalFunctionUtils.isLogicTrue(i),{value:i,error:n}}}r.Not=u},{180:180,192:192,195:195,196:196,204:204,213:213}],108:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(196),o=e(213);class a extends n.ExpressionEvaluator{constructor(e,t){super(e,a.evaluator(t),o.ReturnType.Number,i.FunctionUtils.validateNumber)}static evaluator(e){return i.FunctionUtils.applySequence(e,i.FunctionUtils.verifyNumber)}}r.NumericEvaluator=a},{180:180,196:196,213:213}],110:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(204),l=e(213);class u extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Or,u.evaluator,l.ReturnType.Boolean,o.FunctionUtils.validateAtLeastOne)}static evaluator(e,t,r){let n,i=!1;for(const o of e.children){const e=new s.Options(r);if(e.nullSubstitution=void 0,({value:i,error:n}=o.tryEvaluate(t,e)),n)n=void 0;else if(a.InternalFunctionUtils.isLogicTrue(i)){i=!0;break}}return{value:i,error:n}}}r.Or=u},{180:180,192:192,195:195,196:196,204:204,213:213}],112:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213),s=e(193);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Rand,l.evaluator,a.ReturnType.Number,o.FunctionUtils.validateBinaryNumber)}static evaluator(e,t,r){let n,i,o,a;const[l,u]=e.children;return({value:i,error:a}=l.tryEvaluate(t,r)),a?{value:void 0,error:a}:Number.isInteger(i)?(({value:o,error:a}=u.tryEvaluate(t,r)),a?{value:void 0,error:a}:Number.isInteger(o)?(i>o?a=`Min value ${i} cannot be greater than max value ${o}.`:n=s.Extensions.randomNext(t,i,o),{value:n,error:a}):{value:void 0,error:o+" is not an integer."}):{value:void 0,error:i+" is not an integer."}}}r.Rand=l},{180:180,192:192,193:193,196:196,213:213}],109:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Optional,s.evaluator(),a.ReturnType.Boolean,o.FunctionUtils.validateUnaryBoolean),this.negation=this}static evaluator(){}}r.Optional=s},{180:180,192:192,196:196,213:213}],115:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Replace,l.evaluator(),s.ReturnType.String,l.validator)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{let t,r;return 0===a.InternalFunctionUtils.parseStringOrUndefined(e[1]).length&&(t=e[1]+" should be a string with length at least 1"),t||(r=a.InternalFunctionUtils.parseStringOrUndefined(e[0]).split(a.InternalFunctionUtils.parseStringOrUndefined(e[1])).join(a.InternalFunctionUtils.parseStringOrUndefined(e[2]))),{value:r,error:t}}),o.FunctionUtils.verifyStringOrNull)}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,3,3,s.ReturnType.String)}}r.Replace=l},{180:180,192:192,195:195,196:196,213:213}],113:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Range,s.evaluator(),a.ReturnType.Array,o.FunctionUtils.validateBinaryNumber)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{let t;return e[1]<=0&&(t="Second paramter must be more than zero"),{value:[...Array(e[1]).keys()].map((t=>t+Number(e[0]))),error:t}}),o.FunctionUtils.verifyInteger)}}r.Range=s},{180:180,192:192,196:196,213:213}],114:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.RemoveProperty,s.evaluator(),a.ReturnType.Object,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>{const t=e[0];return delete t[String(e[1])],t}))}static validator(e){o.FunctionUtils.validateOrder(e,void 0,a.ReturnType.Object,a.ReturnType.String)}}r.RemoveProperty=s},{180:180,192:192,196:196,213:213}],119:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(195),a=e(213);r.Select=class extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Select,o.InternalFunctionUtils.foreach,a.ReturnType.Array,o.InternalFunctionUtils.ValidateLambdaExpression)}}},{180:180,192:192,195:195,213:213}],117:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Reverse,s.evaluator(),a.ReturnType.String|a.ReturnType.Array,s.validator)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{let t,r;return"string"==typeof e[0]?t=e[0].split("").reverse().join(""):Array.isArray(e[0])?t=e[0].reverse():r=e[0]+" is not a string or list.",{value:t,error:r}}),o.FunctionUtils.verifyContainer)}static validator(e){o.FunctionUtils.validateOrder(e,[],a.ReturnType.String|a.ReturnType.Array)}}r.Reverse=s},{180:180,192:192,196:196,213:213}],116:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.ReplaceIgnoreCase,l.evaluator(),s.ReturnType.String,l.validator)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{let t,r;return 0===a.InternalFunctionUtils.parseStringOrUndefined(e[1]).length&&(t=e[1]+" should be a string with length at least 1"),t||(r=a.InternalFunctionUtils.parseStringOrUndefined(e[0]).replace(new RegExp(a.InternalFunctionUtils.parseStringOrUndefined(e[1]),"gi"),a.InternalFunctionUtils.parseStringOrUndefined(e[2]))),{value:r,error:t}}),o.FunctionUtils.verifyStringOrNull)}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,3,3,s.ReturnType.String)}}r.ReplaceIgnoreCase=l},{180:180,192:192,195:195,196:196,213:213}],118:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Round,s.evaluator(),a.ReturnType.Number,o.FunctionUtils.validateUnaryOrBinaryNumber)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{let t,r;if(2!==e.length||Number.isInteger(e[1])||(r=`The second parameter ${e[1]} must be an integer.`),!r){const n=2===e.length?e[1]:0;n<0||n>15?r=`The second parameter ${e[1]} must be an integer between 0 and 15;`:t=s.roundToPrecision(e[0],n)}return{value:t,error:r}}),o.FunctionUtils.verifyNumber)}}s.roundToPrecision=(e,t)=>Math.round(e*Math.pow(10,t))/Math.pow(10,t),r.Round=s},{180:180,192:192,196:196,213:213}],121:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.SetPathToValue,s.evaluator,a.ReturnType.Object,o.FunctionUtils.validateBinary)}static evaluator(e,t,r){const{path:n,left:i,error:a}=o.FunctionUtils.tryAccumulatePath(e.children[0],t,r);if(void 0!==a)return{value:void 0,error:a};if(i)return{value:void 0,error:e.children[0].toString()+" is not a valid path to set value"};const{value:s,error:l}=e.children[1].tryEvaluate(t,r);return l?{value:void 0,error:l}:(t.setValue(n,s),{value:s,error:void 0})}}r.SetPathToValue=s},{180:180,192:192,196:196,213:213}],124:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.SortBy,a.InternalFunctionUtils.sortBy(!1),s.ReturnType.Array,l.validator)}static validator(e){o.FunctionUtils.validateOrder(e,[s.ReturnType.String],s.ReturnType.Array)}}r.SortBy=l},{180:180,192:192,195:195,196:196,213:213}],122:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.SetProperty,s.evaluator(),a.ReturnType.Object,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>{const t=e[0];return t[String(e[1])]=e[2],t}))}static validator(e){o.FunctionUtils.validateOrder(e,void 0,a.ReturnType.Object,a.ReturnType.String,a.ReturnType.Object)}}r.SetProperty=s},{180:180,192:192,196:196,213:213}],125:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.SortByDescending,a.InternalFunctionUtils.sortBy(!0),s.ReturnType.Array,l.validator)}static validator(e){o.FunctionUtils.validateOrder(e,[s.ReturnType.String],s.ReturnType.Array)}}r.SortByDescending=l},{180:180,192:192,195:195,196:196,213:213}],123:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Skip,s.evaluator,a.ReturnType.Array,s.validator)}static evaluator(e,t,r){let n;const{value:i,error:o}=e.children[0].tryEvaluate(t,r);let a=o;if(!a)if(Array.isArray(i)){let o;const s=e.children[1];({value:o,error:a}=s.tryEvaluate(t,r)),a||Number.isInteger(o)||(a=s+" is not an integer."),a||(o=Math.max(o,0),n=i.slice(o))}else a=e.children[0]+" is not array.";return{value:n,error:a}}static validator(e){o.FunctionUtils.validateOrder(e,[],a.ReturnType.Array,a.ReturnType.Number)}}r.Skip=s},{180:180,192:192,196:196,213:213}],127:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Sqrt,s.evaluator(),a.ReturnType.Number,o.FunctionUtils.validateUnaryNumber)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{let t,r;const n=Number(e[0]);return n<0?t="Do not support square root extraction of negative numbers.":r=Math.sqrt(n),{value:r,error:t}}),o.FunctionUtils.verifyNumber)}}r.Sqrt=s},{180:180,192:192,196:196,213:213}],126:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Split,l.evaluator(),s.ReturnType.Array,l.validator)}static evaluator(){return o.FunctionUtils.apply((e=>a.InternalFunctionUtils.parseStringOrUndefined(e[0]).split(a.InternalFunctionUtils.parseStringOrUndefined(e[1]||""))),o.FunctionUtils.verifyStringOrNull)}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,1,2,s.ReturnType.String)}}r.Split=l},{180:180,192:192,195:195,196:196,213:213}],131:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.StartsWith,l.evaluator(),s.ReturnType.Boolean,l.validator)}static evaluator(){return o.FunctionUtils.apply((e=>a.InternalFunctionUtils.parseStringOrUndefined(e[0]).startsWith(a.InternalFunctionUtils.parseStringOrUndefined(e[1]))),o.FunctionUtils.verifyStringOrNull)}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,2,2,s.ReturnType.String)}}r.StartsWith=l},{180:180,192:192,195:195,196:196,213:213}],134:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(196),o=e(213);r.StringTransformEvaluator=class extends n.ExpressionEvaluator{constructor(e,t,r){super(e,i.FunctionUtils.applyWithOptions(t,i.FunctionUtils.verifyStringOrNull),o.ReturnType.String,r||i.FunctionUtils.validateUnaryString)}}},{180:180,196:196,213:213}],135:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.SubArray,s.evaluator,a.ReturnType.Array,s.validator)}static evaluator(e,t,r){let n;const{value:i,error:o}=e.children[0].tryEvaluate(t,r);let a=o;if(!a)if(Array.isArray(i)){let o;const s=e.children[1];if(({value:o,error:a}=s.tryEvaluate(t,r)),a||Number.isInteger(o)?(o<0||o>i.length)&&(a=`${s}=${o} which is out of range for ${i}`):a=s+" is not an integer.",!a){let s;if(2===e.children.length)s=i.length;else{const n=e.children[2];({value:s,error:a}=n.tryEvaluate(t,r)),a||Number.isInteger(s)?(s<0||s>i.length)&&(a=`${n}=${s} which is out of range for ${i}`):a=n+" is not an integer"}a||(n=i.slice(o,s))}}else a=e.children[0]+" is not array.";return{value:n,error:a}}static validator(e){o.FunctionUtils.validateOrder(e,[a.ReturnType.Number],a.ReturnType.Array,a.ReturnType.Number)}}r.SubArray=s},{180:180,192:192,196:196,213:213}],133:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(167),i=e(179),o=e(180),a=e(192),s=e(196),l=e(213);class u extends o.ExpressionEvaluator{constructor(){super(a.ExpressionType.StringOrValue,u.evaluator,l.ReturnType.Object,s.FunctionUtils.validateUnaryString)}static evaluator(e,t,r){const{value:o,error:a}=e.children[0].tryEvaluate(t,r);let s=a;if("string"!=typeof o&&(s="Parameter should be a string."),!s){const e=i.Expression.parse("`"+o+"`");if(2===e.children.length){const i=e.children[0],o=e.children[1];if(i instanceof n.Constant&&""===i.value.toString()&&!(o instanceof n.Constant))return o.tryEvaluate(t,r)}return e.tryEvaluate(t,r)}return{value:void 0,error:s}}}r.StringOrValue=u},{167:167,179:179,180:180,192:192,196:196,213:213}],140:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Take,s.evaluator,a.ReturnType.Array|a.ReturnType.String,s.validator)}static evaluator(e,t,r){let n;const{value:i,error:o}=e.children[0].tryEvaluate(t,r);let a=o;if(!a)if(Array.isArray(i)||"string"==typeof i){let o;const s=e.children[1];({value:o,error:a}=s.tryEvaluate(t,r)),a||Number.isInteger(o)||(a=s+" is not an integer."),a||(o=Math.max(o,0),n=i.slice(0,o))}else a=e.children[0]+" is not array or string.";return{value:n,error:a}}static validator(e){o.FunctionUtils.validateOrder(e,[],a.ReturnType.Array|a.ReturnType.String,a.ReturnType.Number)}}r.Take=s},{180:180,192:192,196:196,213:213}],136:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Substring,s.evaluator,a.ReturnType.String,s.validator)}static evaluator(e,t,r){let n;const{value:i,error:o}=e.children[0].tryEvaluate(t,r);let a=o;if(!a)if("string"==typeof i){let o;const s=e.children[1];if(({value:o,error:a}=s.tryEvaluate(t,r)),a||Number.isInteger(o)?(o<0||o>i.length)&&(a=`${s}=${o} which is out of range for ${i}`):a=s+" is not an integer.",!a){let s;if(2===e.children.length)s=i.length-o;else{const n=e.children[2];({value:s,error:a}=n.tryEvaluate(t,r)),a||Number.isInteger(s)?(s<0||Number(o)+Number(s)>i.length)&&(a=`${n}=${s} which is out of range for ${i}`):a=n+" is not an integer"}a||(n=i.substr(o,s))}}else void 0===i?n="":a=e.children[0]+" is neither a string nor a null object.";return{value:n,error:a}}static validator(e){o.FunctionUtils.validateOrder(e,[a.ReturnType.Number],a.ReturnType.String,a.ReturnType.Number)}}r.Substring=s},{180:180,192:192,196:196,213:213}],139:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Sum,s.evaluator(),a.ReturnType.Number,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>e[0].reduce(((e,t)=>e+t))),o.FunctionUtils.verifyNumericList)}static validator(e){o.FunctionUtils.validateOrder(e,[],a.ReturnType.Array)}}r.Sum=s},{180:180,192:192,196:196,213:213}],141:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Ticks,l.evaluator,s.ReturnType.Number,l.validator)}static evaluator(e,t,r){let n;const{args:i,error:s}=o.FunctionUtils.evaluateChildren(e,t,r);let l=s;return l||("string"==typeof i[0]?({value:n,error:l}=a.InternalFunctionUtils.ticks(i[0])):l=e+" should contain an ISO format timestamp."),{value:n,error:l}}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,1,1,s.ReturnType.String)}}r.Ticks=l},{180:180,192:192,195:195,196:196,213:213}],151:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Union,s.evaluator(),a.ReturnType.Array,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>{let t=[];for(const r of e)t=t.concat(r);return Array.from(new Set(t))}),o.FunctionUtils.verifyList)}static validator(e){o.FunctionUtils.validateArityAndAnyType(e,1,Number.MAX_SAFE_INTEGER,a.ReturnType.Array)}}r.Union=s},{180:180,192:192,196:196,213:213}],153:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.UriComponent,s.evaluator(),a.ReturnType.String,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>encodeURIComponent(e[0])),o.FunctionUtils.verifyString)}}r.UriComponent=s},{180:180,192:192,196:196,213:213}],152:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Unique,s.evaluator(),a.ReturnType.Array,s.validator)}static evaluator(){return o.FunctionUtils.apply((e=>[...new Set(e[0])]),o.FunctionUtils.verifyList)}static validator(e){o.FunctionUtils.validateOrder(e,[],a.ReturnType.Array)}}r.Unique=s},{180:180,192:192,196:196,213:213}],155:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.UriHost,l.evaluator,s.ReturnType.String,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n;const{args:i,error:a}=o.FunctionUtils.evaluateChildren(e,t,r);let s=a;return s||("string"==typeof i[0]?({value:n,error:s}=l.evalUriHost(i[0])):s=e+" should contain a URI string."),{value:n,error:s}}static evalUriHost(e){let t;const{value:r,error:n}=a.InternalFunctionUtils.parseUri(e);let i=n;if(!i)try{t=r.hostname}catch(e){i="invalid operation, input uri should be an absolute URI"}return{value:t,error:i}}}r.UriHost=l},{180:180,192:192,195:195,196:196,213:213}],154:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.UriComponentToString,s.evaluator(),a.ReturnType.String,o.FunctionUtils.validateUnary)}static evaluator(){return o.FunctionUtils.apply((e=>decodeURIComponent(e[0])),o.FunctionUtils.verifyString)}}r.UriComponentToString=s},{180:180,192:192,196:196,213:213}],156:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.UriPath,l.evaluator,s.ReturnType.String,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n;const{args:i,error:a}=o.FunctionUtils.evaluateChildren(e,t,r);let s=a;return s||("string"==typeof i[0]?({value:n,error:s}=l.evalUriPath(i[0])):s=e+" should contain a URI string."),{value:n,error:s}}static evalUriPath(e){let t,r=a.InternalFunctionUtils.parseUri(e).error;if(!r)try{t=new URL(e).pathname}catch(e){r="invalid operation, input uri should be an absolute URI"}return{value:t,error:r}}}r.UriPath=l},{180:180,192:192,195:195,196:196,213:213}],159:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.UriQuery,l.evaluator,s.ReturnType.String,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n;const{args:i,error:a}=o.FunctionUtils.evaluateChildren(e,t,r);let s=a;return s||("string"==typeof i[0]?({value:n,error:s}=l.evalUriQuery(i[0])):s=e+" should contain a URI string."),{value:n,error:s}}static evalUriQuery(e){let t;const{value:r,error:n}=a.InternalFunctionUtils.parseUri(e);let i=n;if(!i)try{t=r.search}catch(e){i="invalid operation, input uri should be an absolute URI"}return{value:t,error:i}}}r.UriQuery=l},{180:180,192:192,195:195,196:196,213:213}],157:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.UriPathAndQuery,l.evaluator,s.ReturnType.String,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n;const{args:i,error:a}=o.FunctionUtils.evaluateChildren(e,t,r);let s=a;return s||("string"==typeof i[0]?({value:n,error:s}=l.evalUriPathAndQuery(i[0])):s=e+" should contain a URI string."),{value:n,error:s}}static evalUriPathAndQuery(e){let t;const{value:r,error:n}=a.InternalFunctionUtils.parseUri(e);let i=n;if(!i)try{t=r.pathname+r.search}catch(e){i="invalid operation, input uri should be an absolute URI"}return{value:t,error:i}}}r.UriPathAndQuery=l},{180:180,192:192,195:195,196:196,213:213}],158:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.UriPort,l.evaluator,s.ReturnType.Number,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n;const{args:i,error:a}=o.FunctionUtils.evaluateChildren(e,t,r);let s=a;return s||("string"==typeof i[0]?({value:n,error:s}=l.evalUriPort(i[0])):s=e+" should contain a URI string."),{value:n,error:s}}static evalUriPort(e){let t;const{value:r,error:n}=a.InternalFunctionUtils.parseUri(e);let i=n;if(!i)try{t=parseInt(r.port)}catch(e){i="invalid operation, input uri should be an absolute URI"}return{value:t,error:i}}}r.UriPort=l},{180:180,192:192,195:195,196:196,213:213}],160:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.UriScheme,l.evaluator,s.ReturnType.String,o.FunctionUtils.validateUnary)}static evaluator(e,t,r){let n;const{args:i,error:a}=o.FunctionUtils.evaluateChildren(e,t,r);let s=a;return s||("string"==typeof i[0]?({value:n,error:s}=l.evalUriScheme(i[0])):s=e+" should contain a URI string."),{value:n,error:s}}static evalUriScheme(e){let t;const{value:r,error:n}=a.InternalFunctionUtils.parseUri(e);let i=n;if(!i)try{t=r.protocol.replace(":","")}catch(e){i="invalid operation, input uri should be an absolute URI"}return{value:t,error:i}}}r.UriScheme=l},{180:180,192:192,195:195,196:196,213:213}],162:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(195),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Where,s.evaluator,a.ReturnType.Array,o.InternalFunctionUtils.ValidateLambdaExpression)}static evaluator(e,t,r){let n;const{value:i,error:a}=e.children[0].tryEvaluate(t,r);let s=a;if(!s){const a=o.InternalFunctionUtils.convertToList(i);if(a){if(n=[],o.InternalFunctionUtils.lambdaEvaluator(e,t,r,a,((e,t,r)=>(o.InternalFunctionUtils.isLogicTrue(t)&&!r&&n.push(e),!1))),!Array.isArray(i)){const e={};for(const t of n)e[t.key]=t.value;n=e}}else s=e.children[0]+" is not a collection or structure object to run Where"}return{value:n,error:s}}}r.Where=s},{180:180,192:192,195:195,213:213}],165:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(195),s=e(213);class l extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.Year,l.evaluator(),s.ReturnType.Number,o.FunctionUtils.validateUnaryString)}static evaluator(){return o.FunctionUtils.applyWithError((e=>{const t=a.InternalFunctionUtils.verifyISOTimestamp(e[0]);return t?{value:void 0,error:t}:{value:new Date(e[0]).getUTCFullYear(),error:t}}),o.FunctionUtils.verifyString)}}r.Year=l},{180:180,192:192,195:195,196:196,213:213}],96:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(23);class a extends o.ComparisonEvaluator{constructor(){super(n.ExpressionType.LessThanOrEqual,a.func,i.FunctionUtils.validateBinary,i.FunctionUtils.verifyNotNull)}static func(e){if(i.FunctionUtils.isNumber(e[0])&&i.FunctionUtils.isNumber(e[1])||"string"==typeof e[0]&&"string"==typeof e[1]||e[0]instanceof Date&&e[1]instanceof Date)return e[0]<=e[1];throw new Error(`${e[0]} and ${e[1]} must be comparable.`)}}r.LessThanOrEqual=a},{192:192,196:196,23:23}],95:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(23);class a extends o.ComparisonEvaluator{constructor(){super(n.ExpressionType.LessThan,a.func,i.FunctionUtils.validateBinary,i.FunctionUtils.verifyNotNull)}static func(e){if(i.FunctionUtils.isNumber(e[0])&&i.FunctionUtils.isNumber(e[1])||"string"==typeof e[0]&&"string"==typeof e[1]||e[0]instanceof Date&&e[1]instanceof Date)return e[0]<e[1];throw new Error(`${e[0]} and ${e[1]} must be comparable.`)}}r.LessThan=a},{192:192,196:196,23:23}],102:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(103);class o extends i.MultivariateNumericEvaluator{constructor(){super(n.ExpressionType.Multiply,o.func)}static func(e){return Number(e[0])*Number(e[1])}}r.Multiply=o},{103:103,192:192}],106:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(23);r.NotEqual=class extends o.ComparisonEvaluator{constructor(){super(n.ExpressionType.NotEqual,(e=>!i.FunctionUtils.commonEquals(e[0],e[1])),i.FunctionUtils.validateBinary)}}},{192:192,196:196,23:23}],111:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(103);class a extends o.MultivariateNumericEvaluator{constructor(){super(n.ExpressionType.Power,a.func,i.FunctionUtils.verifyNumberOrNumericList)}static func(e){return Math.pow(e[0],e[1])}}r.Power=a},{103:103,192:192,196:196}],120:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(195),a=e(134);class s extends a.StringTransformEvaluator{constructor(){super(n.ExpressionType.SentenceCase,s.evaluator,i.FunctionUtils.validateUnaryOrBinaryString)}static evaluator(e,t){let r=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale;r=i.FunctionUtils.determineLocale(e,2,r);const n=e[0];if("string"==typeof n||void 0===n){const e=o.InternalFunctionUtils.parseStringOrUndefined(n).toLocaleLowerCase(r);return""===e?e:e.charAt(0).toUpperCase()+e.substr(1).toLocaleLowerCase(r)}}}r.SentenceCase=s},{134:134,192:192,195:195,196:196}],137:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(103);class o extends i.MultivariateNumericEvaluator{constructor(){super(n.ExpressionType.Subtract,o.func)}static func(e){return Number(e[0])-Number(e[1])}}r.Subtract=o},{103:103,192:192}],147:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(196),i=e(192),o=e(195),a=e(134);class s extends a.StringTransformEvaluator{constructor(){super(i.ExpressionType.TitleCase,s.evaluator,n.FunctionUtils.validateUnaryOrBinaryString)}static evaluator(e,t){let r=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale;r=n.FunctionUtils.determineLocale(e,2,r);const i=e[0];if("string"==typeof i||void 0===i){const e=o.InternalFunctionUtils.parseStringOrUndefined(i).toLocaleLowerCase(r);return""===e?e:e.replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.substr(1).toLocaleLowerCase(r)))}}}r.TitleCase=s},{134:134,192:192,195:195,196:196}],148:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(195),a=e(134);class s extends a.StringTransformEvaluator{constructor(){super(n.ExpressionType.ToLower,s.evaluator,i.FunctionUtils.validateUnaryOrBinaryString)}static evaluator(e,t){let r=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale;r=i.FunctionUtils.determineLocale(e,2,r);const n=e[0];if("string"==typeof n||void 0===n)return o.InternalFunctionUtils.parseStringOrUndefined(n).toLocaleLowerCase(r)}}r.ToLower=s},{134:134,192:192,195:195,196:196}],149:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(196),o=e(195),a=e(134);class s extends a.StringTransformEvaluator{constructor(){super(n.ExpressionType.ToUpper,s.evaluator,i.FunctionUtils.validateUnaryOrBinaryString)}static evaluator(e,t){let r=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale;r=i.FunctionUtils.determineLocale(e,2,r);const n=e[0];if("string"==typeof n||void 0===n)return o.InternalFunctionUtils.parseStringOrUndefined(n).toLocaleUpperCase(r)}}r.ToUpper=s},{134:134,192:192,195:195,196:196}],150:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(192),i=e(195),o=e(134);class a extends o.StringTransformEvaluator{constructor(){super(n.ExpressionType.Trim,a.evaluator)}static evaluator(e){const t=e[0];if("string"==typeof t||void 0===t)return String(i.InternalFunctionUtils.parseStringOrUndefined(t)).trim()}}r.Trim=a},{134:134,192:192,195:195}],146:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(222),i=e(180),o=e(192),a=e(196),s=e(195),l=e(213);class u extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.TimexResolve,u.evaluator,l.ReturnType.String,a.FunctionUtils.validateUnary)}static evaluator(e,t,r){let i,o=!1;const{args:l,error:u}=a.FunctionUtils.evaluateChildren(e,t,r);let c=u;if(c||({timexProperty:i,error:c}=s.InternalFunctionUtils.parseTimexProperty(l[0])),c||0!==i.types.size||(c=`The parsed TimexProperty of ${l[0]} in ${e} has no types. It can't be resolved to a string value.`),!c){const r=i.timex;try{o=n.valueResolver.resolve([r]).values[0].value}catch(t){c=`${l[0]} in ${e} is not a valid argument. ${t.Message}`}}return{value:o,error:c}}}r.TimexResolve=u},{180:180,192:192,195:195,196:196,213:213,222:222}],129:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.StartOfHour,d.evaluator,c.ReturnType.String,d.validator)}static evaluator(e,t,r){let n,i=r.locale?r.locale:Intl.DateTimeFormat().resolvedOptions().locale,o=l.FunctionUtils.DefaultDateTimeFormat;const{args:a,error:s}=l.FunctionUtils.evaluateChildren(e,t,r);let u=s;return u||(({format:o,locale:i}=l.FunctionUtils.determineFormatAndLocale(a,3,o,i)),"string"==typeof a[0]?({value:n,error:u}=d.evalStartOfHour(a[0],o,i)):u=e+" should contain an ISO format timestamp and an optional output format string."),{value:n,error:u}}static evalStartOfHour(e,t,r){let n;const o=u.InternalFunctionUtils.verifyISOTimestamp(e);return o||(n=i.default(e).locale(r).utc().startOf("hour").format(t)),{value:n,error:o}}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.String)}}r.StartOfHour=d},{180:180,192:192,195:195,196:196,213:213,388:388,391:391}],130:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.StartOfMonth,d.evaluator,c.ReturnType.String,d.validator)}static evaluator(e,t,r){let n,i=r.locale?r.locale:Intl.DateTimeFormat().resolvedOptions().locale,o=l.FunctionUtils.DefaultDateTimeFormat;const{args:a,error:s}=l.FunctionUtils.evaluateChildren(e,t,r);let u=s;return u||(({format:o,locale:i}=l.FunctionUtils.determineFormatAndLocale(a,3,o,i)),"string"==typeof a[0]?({value:n,error:u}=d.evalStartOfMonth(a[0],o,i)):u=e+" should contain an ISO format timestamp and an optional output format string."),{value:n,error:u}}static evalStartOfMonth(e,t,r){let n;const o=u.InternalFunctionUtils.verifyISOTimestamp(e);return o||(n=i.default(e).locale(r).utc().startOf("month").format(t)),{value:n,error:o}}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.String)}}r.StartOfMonth=d},{180:180,192:192,195:195,196:196,213:213,388:388,391:391}],128:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.StartOfDay,d.evaluator,c.ReturnType.String,d.validator)}static evaluator(e,t,r){let n,i=r.locale?r.locale:Intl.DateTimeFormat().resolvedOptions().locale,o=l.FunctionUtils.DefaultDateTimeFormat;const{args:a,error:s}=l.FunctionUtils.evaluateChildren(e,t,r);let u=s;return u||(({format:o,locale:i}=l.FunctionUtils.determineFormatAndLocale(a,3,o,i)),"string"==typeof a[0]?({value:n,error:u}=d.evalStartOfDay(a[0],o,i)):u=e+" should contain an ISO format timestamp and an optional output format string."),{value:n,error:u}}static evalStartOfDay(e,t,r){let n;const o=u.InternalFunctionUtils.verifyISOTimestamp(e);return o||(n=i.default(e).locale(r).utc().startOf("day").format(t)),{value:n,error:o}}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.String)}}r.StartOfDay=d},{180:180,192:192,195:195,196:196,213:213,388:388,391:391}],138:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(195),c=e(213);class d extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.SubtractFromTime,d.evaluator,c.ReturnType.String,d.validator)}static evaluator(e,t,r){let n,o=r.locale?r.locale:Intl.DateTimeFormat().resolvedOptions().locale,a=l.FunctionUtils.DefaultDateTimeFormat;const{args:s,error:c}=l.FunctionUtils.evaluateChildren(e,t,r);let d=c;if(!d)if("string"==typeof s[0]&&Number.isInteger(s[1])&&"string"==typeof s[2]){({format:a,locale:o}=l.FunctionUtils.determineFormatAndLocale(s,5,a,o));const{duration:e,tsStr:t}=u.InternalFunctionUtils.timeUnitTransformer(s[1],s[2]);if(void 0===t)d=s[2]+" is not a valid time unit.";else{const r=e;(d=u.InternalFunctionUtils.verifyISOTimestamp(s[0]))||(n=i.default(s[0]).locale(o).utc().subtract(r,t).format(a))}}else d=e+" should contain an ISO format timestamp, a time interval integer, a string unit of time and an optional output format string.";return{value:n,error:d}}static validator(e){l.FunctionUtils.validateOrder(e,[c.ReturnType.String,c.ReturnType.String],c.ReturnType.String,c.ReturnType.Number,c.ReturnType.String)}}r.SubtractFromTime=d},{180:180,192:192,195:195,196:196,213:213,388:388,391:391}],161:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(388)),o=n(e(391));i.default.extend(o.default);const a=e(180),s=e(192),l=e(196),u=e(213);class c extends a.ExpressionEvaluator{constructor(){super(s.ExpressionType.UtcNow,c.evaluator(),u.ReturnType.String,c.validator)}static evaluator(){return l.FunctionUtils.applyWithOptionsAndError(((e,t)=>{let r=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale,n=l.FunctionUtils.DefaultDateTimeFormat;return({format:n,locale:r}=l.FunctionUtils.determineFormatAndLocale(e,2,n,r)),{value:i.default(new Date).locale(r).utc().format(n),error:void 0}}))}static validator(e){l.FunctionUtils.validateOrder(e,[u.ReturnType.String,u.ReturnType.String])}}r.UtcNow=c},{180:180,192:192,196:196,213:213,388:388,391:391}],71:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(385)),o=e(180),a=e(192),s=e(196),l=e(213);class u extends o.ExpressionEvaluator{constructor(){super(a.ExpressionType.Int,u.evaluator(),l.ReturnType.Number,s.FunctionUtils.validateUnary)}static evaluator(){return s.FunctionUtils.applyWithError((e=>{let t,r;const n=e[0];return i.default.isInstance(n)?{value:n.toJSNumber(),error:t}:("string"==typeof n?(r=parseInt(n,10),s.FunctionUtils.isNumber(r)||(t=`parameter ${e[0]} is not a valid number string.`)):s.FunctionUtils.isNumber(n)&&(r=parseInt(n.toString(),10)),{value:r,error:t})}))}}r.Int=u},{180:180,192:192,196:196,213:213,385:385}],132:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(387),i=e(180),o=e(192),a=e(196),s=e(213),l=e(200),u=e(195);class c extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.String,c.evaluator(),s.ReturnType.String,c.validator)}static evaluator(){return a.FunctionUtils.applyWithOptionsAndError(((e,t)=>{let r,i=t.locale?t.locale:Intl.DateTimeFormat().resolvedOptions().locale;if(i=a.FunctionUtils.determineLocale(e,2,i),"string"==typeof e[0])r=e[0];else if(a.FunctionUtils.isNumber(e[0])){const t=l.localeInfo[i],o=e[0].toString();let a=0;o.includes(".")&&(a=o.split(".")[1].length);const s=`,.${a}f`;r=void 0!==t?n.formatLocale(t).format(s)(e[0]):n.format(s)(e[0])}else r=e[0]instanceof Date?e[0].toLocaleDateString(i):e[0]instanceof Uint8Array?u.InternalFunctionUtils.getTextDecoder().decode(e[0]):u.InternalFunctionUtils.commonStringify(e[0]);return{value:r,error:void 0}}))}static validator(e){a.FunctionUtils.validateOrder(e,[s.ReturnType.String],s.ReturnType.Object)}}r.String=c},{180:180,192:192,195:195,196:196,200:200,213:213,387:387}],143:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=e(213),l=n(e(385));class u extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.TicksToHours,u.evaluator,s.ReturnType.Number,a.FunctionUtils.validateUnaryNumber)}static evaluator(e,t,r){let n;const{args:i,error:o}=a.FunctionUtils.evaluateChildren(e,t,r);let s=o;if(!s){const t=i[0];Number.isInteger(t)?n=t/u.TicksPerHour:l.default.isInstance(t)?n=t.toJSNumber()/u.TicksPerHour:s=e+" should contain an integer of ticks"}return{value:n,error:s}}}u.TicksPerHour=36e9,r.TicksToHours=u},{180:180,192:192,196:196,213:213,385:385}],142:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=e(213),l=n(e(385));class u extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.TicksToDays,u.evaluator,s.ReturnType.Number,a.FunctionUtils.validateUnaryNumber)}static evaluator(e,t,r){let n;const{args:i,error:o}=a.FunctionUtils.evaluateChildren(e,t,r);let s=o;if(!s){const t=i[0];Number.isInteger(t)?n=t/u.TicksPerDay:l.default.isInstance(t)?n=t.toJSNumber()/u.TicksPerDay:s=e+" should contain an integer of ticks"}return{value:n,error:s}}}u.TicksPerDay=864e9,r.TicksToDays=u},{180:180,192:192,196:196,213:213,385:385}],144:[function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});const i=e(180),o=e(192),a=e(196),s=e(213),l=n(e(385));class u extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.TicksToMinutes,u.evaluator,s.ReturnType.Number,a.FunctionUtils.validateUnaryNumber)}static evaluator(e,t,r){let n;const{args:i,error:o}=a.FunctionUtils.evaluateChildren(e,t,r);let s=o;if(!s){const t=i[0];Number.isInteger(t)?n=t/u.TicksPerMinute:l.default.isInstance(t)?n=t.toJSNumber()/u.TicksPerMinute:s=e+" should contain an integer of ticks"}return{value:n,error:s}}}u.TicksPerMinute=6e8,r.TicksToMinutes=u},{180:180,192:192,196:196,213:213,385:385}],88:[function(e,t,r){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});const i=n(e(418)),o=e(180),a=e(192),s=e(196),l=e(213);class u extends o.ExpressionEvaluator{constructor(){super(a.ExpressionType.JPath,u.evaluator(),l.ReturnType.Object,u.validator)}static evaluator(){return s.FunctionUtils.applyWithError((e=>u.evalJPath(e[0],e[1].toString())))}static evalJPath(e,t){let r,n,o;if("string"==typeof e)try{o=JSON.parse(e)}catch(t){r=e+" is not a valid json string"}else"object"==typeof e?o=e:r="the first parameter should be either an object or a string";if(!r)try{n=i.apply(t,o)}catch(e){r=`${t} is not a valid path + ${e}`}return{value:n,error:r}}static validator(e){s.FunctionUtils.validateOrder(e,void 0,l.ReturnType.Object,l.ReturnType.String)}}r.JPath=u},{180:180,192:192,196:196,213:213,418:418}],104:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(427),i=e(180),o=e(192),a=e(196),s=e(213);class l extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.NewGuid,l.evaluator(),s.ReturnType.String,l.validator)}static evaluator(){return a.FunctionUtils.apply((()=>l.evalNewGuid()))}static evalNewGuid(){return n.v4()}static validator(e){a.FunctionUtils.validateArityAndAnyType(e,0,0)}}r.NewGuid=l},{180:180,192:192,196:196,213:213,427:427}],164:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(180),i=e(192),o=e(196),a=e(213);class s extends n.ExpressionEvaluator{constructor(){super(i.ExpressionType.XPath,s.evaluator(),a.ReturnType.Object,s.validator)}static evaluator(){return o.FunctionUtils.applyWithError((e=>s.platformSpecificXPath(e)))}static platformSpecificXPath(t){if("undefined"==typeof window&&"undefined"==typeof self){let r,n;const i=e(447),{DOMParser:o}=e(230);let a;try{a=(new o).parseFromString(t[0],"text/xml")}catch(e){r=t[0]+" is not valid xml input"}if(!r){const e=i.select(t[1],a);Array.isArray(e)?0===e.length?r=`There is no matched nodes for the expression ${t[1]} in the xml: ${t[0]}`:n=e.map((e=>e.toString())):n=e}return{value:n,error:r}}{let e,r,n;try{n=(new DOMParser).parseFromString(t[0],"text/xml")}catch(r){e=e=t[0]+" is not valid xml input"}if(!e){const i=n.evaluate(t[1],n,null,XPathResult.ANY_TYPE,null);let o=i.iterateNext();const a=[];for(;o;)a.push(o.childNodes[0].nodeValue),o=i.iterateNext();return 0===a.length?e=`There is no matched nodes for the expression ${t[1]} in the xml: ${t[0]}`:r=1===a.length?a[0]:a,{value:r,error:e}}}}static validator(e){o.FunctionUtils.validateOrder(e,void 0,a.ReturnType.Object,a.ReturnType.String)}}r.XPath=s},{180:180,192:192,196:196,213:213,230:230,447:447}],163:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(392),i=e(180),o=e(192),a=e(196),s=e(213);class l extends i.ExpressionEvaluator{constructor(){super(o.ExpressionType.XML,l.evaluator(),s.ReturnType.String,a.FunctionUtils.validateUnary)}static evaluator(){return a.FunctionUtils.applyWithError((e=>l.platformSpecificXML(e)))}static platformSpecificXML(e){let t,r,i;try{"string"==typeof e[0]?i=JSON.parse(e[0]):"object"==typeof e[0]&&(i=e[0]),t=('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n'+new n.XMLBuilder({indentBy:" ",format:!0}).build(i)).trim()}catch(t){r=e[0]+" is not a valid json"}return{value:t,error:r}}}r.XML=l},{180:180,192:192,196:196,213:213,392:392}],418:[function(e,t,r){t.exports=e(419)},{419:419}],427:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return d.default}});var n=p(e(435)),i=p(e(436)),o=p(e(438)),a=p(e(439)),s=p(e(429)),l=p(e(441)),u=p(e(440)),c=p(e(434)),d=p(e(430));function p(e){return e&&e.__esModule?e:{default:e}}},{429:429,430:430,434:434,435:435,436:436,438:438,439:439,440:440,441:441}],392:[function(e,t,r){e(394),e(400);const n=e(395);t.exports={XMLBuilder:n}},{394:394,395:395,400:400}],447:[function(e,t,r){!function(e){var t=function(e,t){for(var r=0;r<t.length;r+=1)e(t[r],r,t)},r=function(e,r,n){var i=r;return t((function(t,r){i=e(i,t,r)}),n),i},n=function(e,r){var n=new Array(r.length);return t((function(t,r){n[r]=e(t)}),r),n};function i(e){return e.toString()}var o=function(e,t){return t.join(e)},a=function(e,t,r){return e+r+t},s=Array.prototype.concat;function l(e,t){for(var r=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])}return r}function u(){this.init()}function c(e){this.expression=e}function d(e,t,r){t in e||(e[t]=r)}function p(){}function f(e){arguments.length>0&&this.init(e)}function h(e){arguments.length>0&&this.init(e)}function m(e,t){arguments.length>0&&this.init(e,t)}function y(e,t){arguments.length>0&&this.init(e,t)}function v(e,t){arguments.length>0&&this.init(e,t)}function g(e,t){arguments.length>0&&this.init(e,t)}function b(e,t){arguments.length>0&&this.init(e,t)}function C(e,t){arguments.length>0&&this.init(e,t)}function E(e,t){arguments.length>0&&this.init(e,t)}function _(e,t){arguments.length>0&&this.init(e,t)}function T(e,t){arguments.length>0&&this.init(e,t)}function x(e,t){arguments.length>0&&this.init(e,t)}function S(e,t){arguments.length>0&&this.init(e,t)}function O(e,t){arguments.length>0&&this.init(e,t)}function w(e,t){arguments.length>0&&this.init(e,t)}function A(e,t){arguments.length>0&&this.init(e,t)}function N(e,t){arguments.length>0&&this.init(e,t)}function P(e,t,r){arguments.length>0&&this.init(e,t,r)}function I(e){for(;e&&e.parentNode;)e=e.parentNode;return e}function R(e,t,r){return function(e){for(var t=[],r=0;r<e.length;r+=32767){var n=e.slice(r,r+32767);t=s.apply(t,n)}return t}(n(function(e,t,r){return P.applyPredicates(e.predicates,t,P.applyStep(e,t,r))}.bind(null,r,e),t))}function L(e,t){arguments.length>0&&this.init(e,t)}function k(e,t,r){arguments.length>0&&this.init(e,t,r)}function M(e,t){arguments.length>0&&this.init(e,t)}function D(e){arguments.length>0&&this.init(e)}function U(e,t){arguments.length>0&&this.init(e,t)}u.prototype=new Object,u.prototype.constructor=u,u.superclass=Object.prototype,u.prototype.init=function(){this.reduceActions=[],this.reduceActions[3]=function(e){return new y(e[0],e[2])},this.reduceActions[5]=function(e){return new v(e[0],e[2])},this.reduceActions[7]=function(e){return new g(e[0],e[2])},this.reduceActions[8]=function(e){return new b(e[0],e[2])},this.reduceActions[10]=function(e){return new C(e[0],e[2])},this.reduceActions[11]=function(e){return new E(e[0],e[2])},this.reduceActions[12]=function(e){return new _(e[0],e[2])},this.reduceActions[13]=function(e){return new T(e[0],e[2])},this.reduceActions[15]=function(e){return new x(e[0],e[2])},this.reduceActions[16]=function(e){return new S(e[0],e[2])},this.reduceActions[18]=function(e){return new O(e[0],e[2])},this.reduceActions[19]=function(e){return new w(e[0],e[2])},this.reduceActions[20]=function(e){return new A(e[0],e[2])},this.reduceActions[22]=function(e){return new h(e[1])},this.reduceActions[24]=function(e){return new N(e[0],e[2])},this.reduceActions[25]=function(e){return new P(void 0,void 0,e[0])},this.reduceActions[27]=function(e){return e[0].locationPath=e[2],e[0]},this.reduceActions[28]=function(e){return e[0].locationPath=e[2],e[0].locationPath.steps.unshift(new k(k.DESCENDANTORSELF,M.nodeTest,[])),e[0]},this.reduceActions[29]=function(e){return new P(e[0],[],void 0)},this.reduceActions[30]=function(e){return Z.instance_of(e[0],P)?(null==e[0].filterPredicates&&(e[0].filterPredicates=[]),e[0].filterPredicates.push(e[1]),e[0]):new P(e[0],[e[1]],void 0)},this.reduceActions[32]=function(e){return e[1]},this.reduceActions[33]=function(e){return new F(e[0])},this.reduceActions[34]=function(e){return new B(e[0])},this.reduceActions[36]=function(e){return new U(e[0],[])},this.reduceActions[37]=function(e){return new U(e[0],e[2])},this.reduceActions[38]=function(e){return[e[0]]},this.reduceActions[39]=function(e){return e[2].unshift(e[0]),e[2]},this.reduceActions[43]=function(e){return new L(!0,[])},this.reduceActions[44]=function(e){return e[1].absolute=!0,e[1]},this.reduceActions[46]=function(e){return new L(!1,[e[0]])},this.reduceActions[47]=function(e){return e[0].steps.push(e[2]),e[0]},this.reduceActions[49]=function(e){return new k(e[0],e[1],[])},this.reduceActions[50]=function(e){return new k(k.CHILD,e[0],[])},this.reduceActions[51]=function(e){return new k(e[0],e[1],e[2])},this.reduceActions[52]=function(e){return new k(k.CHILD,e[0],e[1])},this.reduceActions[54]=function(e){return[e[0]]},this.reduceActions[55]=function(e){return e[1].unshift(e[0]),e[1]},this.reduceActions[56]=function(e){return"ancestor"==e[0]?k.ANCESTOR:"ancestor-or-self"==e[0]?k.ANCESTORORSELF:"attribute"==e[0]?k.ATTRIBUTE:"child"==e[0]?k.CHILD:"descendant"==e[0]?k.DESCENDANT:"descendant-or-self"==e[0]?k.DESCENDANTORSELF:"following"==e[0]?k.FOLLOWING:"following-sibling"==e[0]?k.FOLLOWINGSIBLING:"namespace"==e[0]?k.NAMESPACE:"parent"==e[0]?k.PARENT:"preceding"==e[0]?k.PRECEDING:"preceding-sibling"==e[0]?k.PRECEDINGSIBLING:"self"==e[0]?k.SELF:-1},this.reduceActions[57]=function(e){return k.ATTRIBUTE},this.reduceActions[59]=function(e){return"comment"==e[0]?M.commentTest:"text"==e[0]?M.textTest:"processing-instruction"==e[0]?M.anyPiTest:"node"==e[0]?M.nodeTest:new M(-1,void 0)},this.reduceActions[60]=function(e){return new M.PITest(e[2])},this.reduceActions[61]=function(e){return e[1]},this.reduceActions[63]=function(e){return e[1].absolute=!0,e[1].steps.unshift(new k(k.DESCENDANTORSELF,M.nodeTest,[])),e[1]},this.reduceActions[64]=function(e){return e[0].steps.push(new k(k.DESCENDANTORSELF,M.nodeTest,[])),e[0].steps.push(e[2]),e[0]},this.reduceActions[65]=function(e){return new k(k.SELF,M.nodeTest,[])},this.reduceActions[66]=function(e){return new k(k.PARENT,M.nodeTest,[])},this.reduceActions[67]=function(e){return new D(e[1])},this.reduceActions[68]=function(e){return M.nameTestAny},this.reduceActions[69]=function(e){return new M.NameTestPrefixAny(e[0].split(":")[0])},this.reduceActions[70]=function(e){return new M.NameTestQName(e[0])}},u.actionTable=[" s s sssssssss s ss s ss"," s ","r rrrrrrrrr rrrrrrr rr r "," rrrrr "," s s sssssssss s ss s ss","rs rrrrrrrr s sssssrrrrrr rrs rs "," s s sssssssss s ss s ss"," s "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s "," s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr r ","a ","r s rr r ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrs rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r srrrrrrrr rrrrrrs rr sr ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r "," sssss ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrr rrrrr rr r "," s "," s "," rrrrr "," s s sssssssss s sss s ss","r srrrrrrrr rrrrrrs rr r "," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss ss s ss"," s s sssssssss s ss s ss"," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr rr "," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," rr "," s "," rs ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrr rr r "," r "," s ","r srrrrrrrr rrrrrrs rr r ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s s sssssssss s ss s ss","r rrrrrrrrr rrrrrrr rr rr "," r "],u.actionTableNumber=[" 1 0 /.-,+*)(' & %$ # \"!"," J ","a aaaaaaaaa aaaaaaa aa a "," YYYYY "," 1 0 /.-,+*)(' & %$ # \"!","K1 KKKKKKKK . +*)('KKKKKK KK# K\" "," 1 0 /.-,+*)(' & %$ # \"!"," N "," O ","e eeeeeeeee eeeeeee ee ee ","f fffffffff fffffff ff ff ","d ddddddddd ddddddd dd dd ","B BBBBBBBBB BBBBBBB BB BB ","A AAAAAAAAA AAAAAAA AA AA "," P "," Q "," 1 . +*)(' # \" ","b bbbbbbbbb bbbbbbb bb b "," ","! S !! ! ",'" T" "" " ',"$ V $$ U $$ $ ","& &ZY&& &XW && & ",") ))))) )))\\[ )) ) ",". ....._^] ..... .. . ","1 11111111 11111 11 1 ","5 55555555 55555` 55 5 ","7 77777777 777777 77 7 ","9 99999999 999999 99 9 ",": c:::::::: ::::::b :: a: ","I fIIIIIIII IIIIIIe II I ","= ========= ======= == == ","? ????????? ??????? ?? ?? ","C CCCCCCCCC CCCCCCC CC CC ","J JJJJJJJJ JJJJJJ JJ J ","M MMMMMMMM MMMMMM MM M ","N NNNNNNNNN NNNNNNN NN N ","P PPPPPPPPP PPPPPPP PP P "," +*)(' ","R RRRRRRRRR RRRRRRR RR aR ","U UUUUUUUUU UUUUUUU UU U ","Z ZZZZZZZZZ ZZZZZZZ ZZ ZZ ","c ccccccccc ccccccc cc cc "," j ","L fLLLLLLLL LLLLLLe LL L ","6 66666666 66666 66 6 "," k "," l "," XXXXX "," 1 0 /.-,+*)(' & %$m # \"!","_ f________ ______e __ _ "," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 . +*)(' # \" "," 1 . +*)(' # \" ","> >>>>>>>>> >>>>>>> >> >> "," 1 . +*)(' # \" "," 1 . +*)(' # \" ","Q QQQQQQQQQ QQQQQQQ QQ aQ ","V VVVVVVVVV VVVVVVV VV aV ","T TTTTTTTTT TTTTTTT TT T ","@ @@@@@@@@@ @@@@@@@ @@ @@ "," ‡ ","[ [[[[[[[[[ [[[[[[[ [[ [[ ","D DDDDDDDDD DDDDDDD DD DD "," HH "," ˆ "," F‰ ","# T# ## # ","% V %% U %% % ","' 'ZY'' 'XW '' ' ","( (ZY(( (XW (( ( ","+ +++++ +++\\[ ++ + ","* ***** ***\\[ ** * ","- ----- ---\\[ -- - ",", ,,,,, ,,,\\[ ,, , ","0 00000_^] 00000 00 0 ","/ /////_^] ///// // / ","2 22222222 22222 22 2 ","3 33333333 33333 33 3 ","4 44444444 44444 44 4 ","8 88888888 888888 88 8 "," ^ "," Š ","; f;;;;;;;; ;;;;;;e ;; ; ","< f<<<<<<<< <<<<<<e << < ","O OOOOOOOOO OOOOOOO OO O ","` ````````` ``````` `` ` ","S SSSSSSSSS SSSSSSS SS S ","W WWWWWWWWW WWWWWWW WW W ","\\ \\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\ \\\\ \\\\ ","E EEEEEEEEE EEEEEEE EE EE "," 1 0 /.-,+*)(' & %$ # \"!","] ]]]]]]]]] ]]]]]]] ]] ]] "," G "],u.gotoTable=["3456789:;<=>?@ AB CDEFGH IJ "," "," "," ","L456789:;<=>?@ AB CDEFGH IJ "," M EFGH IJ "," N;<=>?@ AB CDEFGH IJ "," "," "," "," "," "," "," "," "," "," S EFGH IJ "," "," "," "," "," "," "," "," "," "," "," "," "," e "," "," "," "," "," "," "," "," "," h J "," i j "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABpqCDEFGH IJ "," "," r6789:;<=>?@ AB CDEFGH IJ "," s789:;<=>?@ AB CDEFGH IJ "," t89:;<=>?@ AB CDEFGH IJ "," u89:;<=>?@ AB CDEFGH IJ "," v9:;<=>?@ AB CDEFGH IJ "," w9:;<=>?@ AB CDEFGH IJ "," x9:;<=>?@ AB CDEFGH IJ "," y9:;<=>?@ AB CDEFGH IJ "," z:;<=>?@ AB CDEFGH IJ "," {:;<=>?@ AB CDEFGH IJ "," |;<=>?@ AB CDEFGH IJ "," };<=>?@ AB CDEFGH IJ "," ~;<=>?@ AB CDEFGH IJ "," =>?@ AB CDEFGH IJ ","€456789:;<=>?@ AB CDEFGH IJ"," ‚ EFGH IJ "," ƒ EFGH IJ "," "," „ GH IJ "," … GH IJ "," i † "," i ‡ "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABŒqCDEFGH IJ "," "," "],u.productions=[[1,1,2],[2,1,3],[3,1,4],[3,3,3,-9,4],[4,1,5],[4,3,4,-8,5],[5,1,6],[5,3,5,-22,6],[5,3,5,-5,6],[6,1,7],[6,3,6,-23,7],[6,3,6,-24,7],[6,3,6,-6,7],[6,3,6,-7,7],[7,1,8],[7,3,7,-25,8],[7,3,7,-26,8],[8,1,9],[8,3,8,-12,9],[8,3,8,-11,9],[8,3,8,-10,9],[9,1,10],[9,2,-26,9],[10,1,11],[10,3,10,-27,11],[11,1,12],[11,1,13],[11,3,13,-28,14],[11,3,13,-4,14],[13,1,15],[13,2,13,16],[15,1,17],[15,3,-29,2,-30],[15,1,-15],[15,1,-16],[15,1,18],[18,3,-13,-29,-30],[18,4,-13,-29,19,-30],[19,1,20],[19,3,20,-31,19],[20,1,2],[12,1,14],[12,1,21],[21,1,-28],[21,2,-28,14],[21,1,22],[14,1,23],[14,3,14,-28,23],[14,1,24],[23,2,25,26],[23,1,26],[23,3,25,26,27],[23,2,26,27],[23,1,28],[27,1,16],[27,2,16,27],[25,2,-14,-3],[25,1,-32],[26,1,29],[26,3,-20,-29,-30],[26,4,-21,-29,-15,-30],[16,3,-33,30,-34],[30,1,2],[22,2,-4,14],[24,3,14,-4,23],[28,1,-35],[28,1,-2],[17,2,-36,-18],[29,1,-17],[29,1,-19],[29,1,-18]],u.DOUBLEDOT=2,u.DOUBLECOLON=3,u.DOUBLESLASH=4,u.NOTEQUAL=5,u.LESSTHANOREQUAL=6,u.GREATERTHANOREQUAL=7,u.AND=8,u.OR=9,u.MOD=10,u.DIV=11,u.MULTIPLYOPERATOR=12,u.FUNCTIONNAME=13,u.AXISNAME=14,u.LITERAL=15,u.NUMBER=16,u.ASTERISKNAMETEST=17,u.QNAME=18,u.NCNAMECOLONASTERISK=19,u.NODETYPE=20,u.PROCESSINGINSTRUCTIONWITHLITERAL=21,u.EQUALS=22,u.LESSTHAN=23,u.GREATERTHAN=24,u.PLUS=25,u.MINUS=26,u.BAR=27,u.SLASH=28,u.LEFTPARENTHESIS=29,u.RIGHTPARENTHESIS=30,u.COMMA=31,u.AT=32,u.LEFTBRACKET=33,u.RIGHTBRACKET=34,u.DOT=35,u.DOLLAR=36,u.prototype.tokenize=function(e){for(var t=[],r=[],n=e+"\0",i=0,o=n.charAt(i++);;){for(;" "==o||"\t"==o||"\r"==o||"\n"==o;)o=n.charAt(i++);if("\0"==o||i>=n.length)break;if("("!=o)if(")"!=o)if("["!=o)if("]"!=o)if("@"!=o)if(","!=o)if("|"!=o)if("+"!=o)if("-"!=o)if("="!=o)if("$"!=o)if("."!=o)if("'"!=o&&'"'!=o)if(o>="0"&&o<="9"){for(d=o,o=n.charAt(i++);o>="0"&&o<="9";)d+=o,o=n.charAt(i++);if("."==o&&n.charAt(i)>="0"&&n.charAt(i)<="9")for(d+=o,d+=n.charAt(i++),o=n.charAt(i++);o>="0"&&o<="9";)d+=o,o=n.charAt(i++);t.push(u.NUMBER),r.push(d)}else if("*"!=o)if(":"!=o||":"!=n.charAt(i))if("/"!=o)if("!"!=o||"="!=n.charAt(i))if("<"!=o)if(">"!=o){if("_"!=o&&!Z.isLetter(o.charCodeAt(0)))throw new Error("Unexpected character "+o);var a=o;for(o=n.charAt(i++);Z.isNCNameChar(o.charCodeAt(0));)a+=o,o=n.charAt(i++);if(t.length>0&&(s=t[t.length-1])!=u.AT&&s!=u.DOUBLECOLON&&s!=u.LEFTPARENTHESIS&&s!=u.LEFTBRACKET&&s!=u.AND&&s!=u.OR&&s!=u.MOD&&s!=u.DIV&&s!=u.MULTIPLYOPERATOR&&s!=u.SLASH&&s!=u.DOUBLESLASH&&s!=u.BAR&&s!=u.PLUS&&s!=u.MINUS&&s!=u.EQUALS&&s!=u.NOTEQUAL&&s!=u.LESSTHAN&&s!=u.LESSTHANOREQUAL&&s!=u.GREATERTHAN&&s!=u.GREATERTHANOREQUAL){if("and"==a){t.push(u.AND),r.push(a);continue}if("or"==a){t.push(u.OR),r.push(a);continue}if("mod"==a){t.push(u.MOD),r.push(a);continue}if("div"==a){t.push(u.DIV),r.push(a);continue}}if(":"==o){if("*"==n.charAt(i)){t.push(u.NCNAMECOLONASTERISK),r.push(a+":*"),i++,o=n.charAt(i++);continue}if("_"==n.charAt(i)||Z.isLetter(n.charCodeAt(i))){for(a+=":",o=n.charAt(i++);Z.isNCNameChar(o.charCodeAt(0));)a+=o,o=n.charAt(i++);if("("==o){t.push(u.FUNCTIONNAME),r.push(a);continue}t.push(u.QNAME),r.push(a);continue}if(":"==n.charAt(i)){t.push(u.AXISNAME),r.push(a);continue}}if("("==o){if("comment"==a||"text"==a||"node"==a){t.push(u.NODETYPE),r.push(a);continue}if("processing-instruction"==a){")"==n.charAt(i)?t.push(u.NODETYPE):t.push(u.PROCESSINGINSTRUCTIONWITHLITERAL),r.push(a);continue}t.push(u.FUNCTIONNAME),r.push(a);continue}t.push(u.QNAME),r.push(a)}else{if("="==n.charAt(i)){t.push(u.GREATERTHANOREQUAL),r.push(">="),i++,o=n.charAt(i++);continue}t.push(u.GREATERTHAN),r.push(">"),o=n.charAt(i++)}else{if("="==n.charAt(i)){t.push(u.LESSTHANOREQUAL),r.push("<="),i++,o=n.charAt(i++);continue}t.push(u.LESSTHAN),r.push("<"),o=n.charAt(i++)}else t.push(u.NOTEQUAL),r.push("!="),i++,o=n.charAt(i++);else{if("/"==(o=n.charAt(i++))){t.push(u.DOUBLESLASH),r.push("//"),o=n.charAt(i++);continue}t.push(u.SLASH),r.push("/")}else t.push(u.DOUBLECOLON),r.push("::"),i++,o=n.charAt(i++);else{var s;if(t.length>0&&(s=t[t.length-1])!=u.AT&&s!=u.DOUBLECOLON&&s!=u.LEFTPARENTHESIS&&s!=u.LEFTBRACKET&&s!=u.AND&&s!=u.OR&&s!=u.MOD&&s!=u.DIV&&s!=u.MULTIPLYOPERATOR&&s!=u.SLASH&&s!=u.DOUBLESLASH&&s!=u.BAR&&s!=u.PLUS&&s!=u.MINUS&&s!=u.EQUALS&&s!=u.NOTEQUAL&&s!=u.LESSTHAN&&s!=u.LESSTHANOREQUAL&&s!=u.GREATERTHAN&&s!=u.GREATERTHANOREQUAL){t.push(u.MULTIPLYOPERATOR),r.push(o),o=n.charAt(i++);continue}t.push(u.ASTERISKNAMETEST),r.push(o),o=n.charAt(i++)}else{for(var l=o,c="";i<n.length&&(o=n.charAt(i))!==l;)c+=o,i+=1;if(o!==l)throw X.fromMessage("Unterminated string literal: "+l+c);i+=1,t.push(u.LITERAL),r.push(c),o=n.charAt(i++)}else{if("."==(o=n.charAt(i++))){t.push(u.DOUBLEDOT),r.push(".."),o=n.charAt(i++);continue}if(o>="0"&&o<="9"){var d="."+o;for(o=n.charAt(i++);o>="0"&&o<="9";)d+=o,o=n.charAt(i++);t.push(u.NUMBER),r.push(d);continue}t.push(u.DOT),r.push(".")}else t.push(u.DOLLAR),r.push(o),o=n.charAt(i++);else t.push(u.EQUALS),r.push(o),o=n.charAt(i++);else t.push(u.MINUS),r.push(o),o=n.charAt(i++);else t.push(u.PLUS),r.push(o),o=n.charAt(i++);else t.push(u.BAR),r.push(o),o=n.charAt(i++);else t.push(u.COMMA),r.push(o),o=n.charAt(i++);else t.push(u.AT),r.push(o),o=n.charAt(i++);else t.push(u.RIGHTBRACKET),r.push(o),o=n.charAt(i++);else t.push(u.LEFTBRACKET),r.push(o),o=n.charAt(i++);else t.push(u.RIGHTPARENTHESIS),r.push(o),o=n.charAt(i++);else t.push(u.LEFTPARENTHESIS),r.push(o),o=n.charAt(i++)}return t.push(1),r.push("[EOF]"),[t,r]},u.SHIFT="s",u.REDUCE="r",u.ACCEPT="a",u.prototype.parse=function(e){var t,r,n=this.tokenize(e);if(null!=n){t=n[0],r=n[1];var i,o,a=0,s=[],l=[],d=[];for(s.push(0),l.push(1),d.push("_S"),i=t[a],o=r[a++];;)switch(e=s[s.length-1],u.actionTable[e].charAt(i-1)){case u.SHIFT:l.push(-i),d.push(o),s.push(u.actionTableNumber[e].charCodeAt(i-1)-32),i=t[a],o=r[a++];break;case u.REDUCE:for(var p=u.productions[u.actionTableNumber[e].charCodeAt(i-1)-32][1],f=[],h=0;h<p;h++)l.pop(),f.unshift(d.pop()),s.pop();var m=s[s.length-1];l.push(u.productions[u.actionTableNumber[e].charCodeAt(i-1)-32][0]),null==this.reduceActions[u.actionTableNumber[e].charCodeAt(i-1)-32]?d.push(f[0]):d.push(this.reduceActions[u.actionTableNumber[e].charCodeAt(i-1)-32](f)),s.push(u.gotoTable[m].charCodeAt(u.productions[u.actionTableNumber[e].charCodeAt(i-1)-32][0]-2)-33);break;case u.ACCEPT:return new c(d.pop());default:throw new Error("XPath parse error")}}},c.prototype=new Object,c.prototype.constructor=c,c.superclass=Object.prototype,c.prototype.toString=function(){return this.expression.toString()},c.prototype.evaluate=function(e){return e.contextNode=e.expressionContextNode,e.contextSize=1,e.contextPosition=1,e.isHtml&&(d(e,"caseInsensitive",!0),d(e,"allowAnyNamespaceForNoPrefix",!0)),d(e,"caseInsensitive",!1),this.expression.evaluate(e)},c.XML_NAMESPACE_URI="http://www.w3.org/XML/1998/namespace",c.XMLNS_NAMESPACE_URI="http://www.w3.org/2000/xmlns/",p.prototype=new Object,p.prototype.constructor=p,p.superclass=Object.prototype,p.prototype.init=function(){},p.prototype.toString=function(){return"<Expression>"},p.prototype.evaluate=function(e){throw new Error("Could not evaluate expression.")},f.prototype=new p,f.prototype.constructor=f,f.superclass=p.prototype,f.prototype.init=function(e){this.rhs=e},h.prototype=new f,h.prototype.constructor=h,h.superclass=f.prototype,h.prototype.init=function(e){h.superclass.init.call(this,e)},h.prototype.evaluate=function(e){return this.rhs.evaluate(e).number().negate()},h.prototype.toString=function(){return"-"+this.rhs.toString()},m.prototype=new p,m.prototype.constructor=m,m.superclass=p.prototype,m.prototype.init=function(e,t){this.lhs=e,this.rhs=t},y.prototype=new m,y.prototype.constructor=y,y.superclass=m.prototype,y.prototype.init=function(e,t){y.superclass.init.call(this,e,t)},y.prototype.toString=function(){return"("+this.lhs.toString()+" or "+this.rhs.toString()+")"},y.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?t:this.rhs.evaluate(e).bool()},v.prototype=new m,v.prototype.constructor=v,v.superclass=m.prototype,v.prototype.init=function(e,t){v.superclass.init.call(this,e,t)},v.prototype.toString=function(){return"("+this.lhs.toString()+" and "+this.rhs.toString()+")"},v.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?this.rhs.evaluate(e).bool():t},g.prototype=new m,g.prototype.constructor=g,g.superclass=m.prototype,g.prototype.init=function(e,t){g.superclass.init.call(this,e,t)},g.prototype.toString=function(){return"("+this.lhs.toString()+" = "+this.rhs.toString()+")"},g.prototype.evaluate=function(e){return this.lhs.evaluate(e).equals(this.rhs.evaluate(e))},b.prototype=new m,b.prototype.constructor=b,b.superclass=m.prototype,b.prototype.init=function(e,t){b.superclass.init.call(this,e,t)},b.prototype.toString=function(){return"("+this.lhs.toString()+" != "+this.rhs.toString()+")"},b.prototype.evaluate=function(e){return this.lhs.evaluate(e).notequal(this.rhs.evaluate(e))},C.prototype=new m,C.prototype.constructor=C,C.superclass=m.prototype,C.prototype.init=function(e,t){C.superclass.init.call(this,e,t)},C.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthan(this.rhs.evaluate(e))},C.prototype.toString=function(){return"("+this.lhs.toString()+" < "+this.rhs.toString()+")"},E.prototype=new m,E.prototype.constructor=E,E.superclass=m.prototype,E.prototype.init=function(e,t){E.superclass.init.call(this,e,t)},E.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthan(this.rhs.evaluate(e))},E.prototype.toString=function(){return"("+this.lhs.toString()+" > "+this.rhs.toString()+")"},_.prototype=new m,_.prototype.constructor=_,_.superclass=m.prototype,_.prototype.init=function(e,t){_.superclass.init.call(this,e,t)},_.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthanorequal(this.rhs.evaluate(e))},_.prototype.toString=function(){return"("+this.lhs.toString()+" <= "+this.rhs.toString()+")"},T.prototype=new m,T.prototype.constructor=T,T.superclass=m.prototype,T.prototype.init=function(e,t){T.superclass.init.call(this,e,t)},T.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthanorequal(this.rhs.evaluate(e))},T.prototype.toString=function(){return"("+this.lhs.toString()+" >= "+this.rhs.toString()+")"},x.prototype=new m,x.prototype.constructor=x,x.superclass=m.prototype,x.prototype.init=function(e,t){x.superclass.init.call(this,e,t)},x.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().plus(this.rhs.evaluate(e).number())},x.prototype.toString=function(){return"("+this.lhs.toString()+" + "+this.rhs.toString()+")"},S.prototype=new m,S.prototype.constructor=S,S.superclass=m.prototype,S.prototype.init=function(e,t){S.superclass.init.call(this,e,t)},S.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().minus(this.rhs.evaluate(e).number())},S.prototype.toString=function(){return"("+this.lhs.toString()+" - "+this.rhs.toString()+")"},O.prototype=new m,O.prototype.constructor=O,O.superclass=m.prototype,O.prototype.init=function(e,t){O.superclass.init.call(this,e,t)},O.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().multiply(this.rhs.evaluate(e).number())},O.prototype.toString=function(){return"("+this.lhs.toString()+" * "+this.rhs.toString()+")"},w.prototype=new m,w.prototype.constructor=w,w.superclass=m.prototype,w.prototype.init=function(e,t){w.superclass.init.call(this,e,t)},w.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().div(this.rhs.evaluate(e).number())},w.prototype.toString=function(){return"("+this.lhs.toString()+" div "+this.rhs.toString()+")"},A.prototype=new m,A.prototype.constructor=A,A.superclass=m.prototype,A.prototype.init=function(e,t){A.superclass.init.call(this,e,t)},A.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().mod(this.rhs.evaluate(e).number())},A.prototype.toString=function(){return"("+this.lhs.toString()+" mod "+this.rhs.toString()+")"},N.prototype=new m,N.prototype.constructor=N,N.superclass=m.prototype,N.prototype.init=function(e,t){N.superclass.init.call(this,e,t)},N.prototype.evaluate=function(e){return this.lhs.evaluate(e).nodeset().union(this.rhs.evaluate(e).nodeset())},N.prototype.toString=function(){return n(i,[this.lhs,this.rhs]).join(" | ")},P.prototype=new p,P.prototype.constructor=P,P.superclass=p.prototype,P.prototype.init=function(e,t,r){P.superclass.init.call(this),this.filter=e,this.filterPredicates=t,this.locationPath=r},P.applyPredicates=function(e,n,i){if(0===e.length)return i;var o=n.extend({});return r((function(e,r){return o.contextSize=e.length,n=function(e,t){return o.contextNode=e,o.contextPosition=t+1,P.predicateMatches(r,o)},i=[],t((function(e,t){n(e,t)&&i.push(e)}),e),i;var n,i}),i,e)},P.getRoot=function(e,t){var r=t[0];if(9===r.nodeType)return r;if(e.virtualRoot)return e.virtualRoot;var n=r.ownerDocument;if(n)return n;for(var i=r;null!=i.parentNode;)i=i.parentNode;return i},P.applyStep=function(e,t,r){var n=[];switch(t.contextNode=r,e.axis){case k.ANCESTOR:if(t.contextNode===t.virtualRoot)break;for(i=2==t.contextNode.nodeType?P.getOwnerElement(t.contextNode):t.contextNode.parentNode;null!=i&&(e.nodeTest.matches(i,t)&&n.push(i),i!==t.virtualRoot);)i=i.parentNode;break;case k.ANCESTORORSELF:for(var i=t.contextNode;null!=i&&(e.nodeTest.matches(i,t)&&n.push(i),i!==t.virtualRoot);i=2==i.nodeType?P.getOwnerElement(i):i.parentNode);break;case k.ATTRIBUTE:var o=t.contextNode.attributes;if(null!=o)for(var a=0;a<o.length;a++)i=o.item(a),e.nodeTest.matches(i,t)&&n.push(i);break;case k.CHILD:for(i=t.contextNode.firstChild;null!=i;i=i.nextSibling)e.nodeTest.matches(i,t)&&n.push(i);break;case k.DESCENDANT:for(var s=[t.contextNode.firstChild];s.length>0;)for(i=s.pop();null!=i;)e.nodeTest.matches(i,t)&&n.push(i),null!=i.firstChild?(s.push(i.nextSibling),i=i.firstChild):i=i.nextSibling;break;case k.DESCENDANTORSELF:for(e.nodeTest.matches(t.contextNode,t)&&n.push(t.contextNode),s=[t.contextNode.firstChild];s.length>0;)for(i=s.pop();null!=i;)e.nodeTest.matches(i,t)&&n.push(i),null!=i.firstChild?(s.push(i.nextSibling),i=i.firstChild):i=i.nextSibling;break;case k.FOLLOWING:if(t.contextNode===t.virtualRoot)break;for(s=[],null!=t.contextNode.firstChild?s.unshift(t.contextNode.firstChild):s.unshift(t.contextNode.nextSibling),i=t.contextNode.parentNode;null!=i&&9!=i.nodeType&&i!==t.virtualRoot;i=i.parentNode)s.unshift(i.nextSibling);do{for(i=s.pop();null!=i;)e.nodeTest.matches(i,t)&&n.push(i),null!=i.firstChild?(s.push(i.nextSibling),i=i.firstChild):i=i.nextSibling}while(s.length>0);break;case k.FOLLOWINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(i=t.contextNode.nextSibling;null!=i;i=i.nextSibling)e.nodeTest.matches(i,t)&&n.push(i);break;case k.NAMESPACE:var l={};if(1==t.contextNode.nodeType){for(l.xml=c.XML_NAMESPACE_URI,l.xmlns=c.XMLNS_NAMESPACE_URI,i=t.contextNode;null!=i&&1==i.nodeType;i=i.parentNode)for(a=0;a<i.attributes.length;a++){var u=i.attributes.item(a),d=String(u.name);"xmlns"==d?null==l[""]&&(l[""]=u.value):d.length>6&&"xmlns:"==d.substring(0,6)&&null==l[p=d.substring(6,d.length)]&&(l[p]=u.value)}for(var p in l){var f=new V(p,l[p],t.contextNode);e.nodeTest.matches(f,t)&&n.push(f)}}break;case k.PARENT:i=null,t.contextNode!==t.virtualRoot&&(i=2==t.contextNode.nodeType?P.getOwnerElement(t.contextNode):t.contextNode.parentNode),null!=i&&e.nodeTest.matches(i,t)&&n.push(i);break;case k.PRECEDING:s=null!=t.virtualRoot?[t.virtualRoot]:[I(t.contextNode)];e:for(;s.length>0;)for(i=s.pop();null!=i;){if(i==t.contextNode)break e;e.nodeTest.matches(i,t)&&n.unshift(i),null!=i.firstChild?(s.push(i.nextSibling),i=i.firstChild):i=i.nextSibling}break;case k.PRECEDINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(i=t.contextNode.previousSibling;null!=i;i=i.previousSibling)e.nodeTest.matches(i,t)&&n.push(i);break;case k.SELF:e.nodeTest.matches(t.contextNode,t)&&n.push(t.contextNode)}return n},P.applySteps=function(e,t,n){return r(R.bind(null,t),n,e)},P.prototype.applyFilter=function(e,t){if(!this.filter)return{nodes:[e.contextNode]};var r=this.filter.evaluate(e);if(!Z.instance_of(r,q)){if(null!=this.filterPredicates&&this.filterPredicates.length>0||null!=this.locationPath)throw new Error("Path expression filter must evaluate to a nodeset if predicates or location path are used");return{nonNodes:r}}return{nodes:P.applyPredicates(this.filterPredicates||[],t,r.toUnsortedArray())}},P.applyLocationPath=function(e,t,r){if(!e)return r;var n=e.absolute?[P.getRoot(t,r)]:r;return P.applySteps(e.steps,t,n)},P.prototype.evaluate=function(e){var t=l(new G,e),r=this.applyFilter(e,t);if("nonNodes"in r)return r.nonNodes;var n=new q;return n.addArray(P.applyLocationPath(this.locationPath,t,r.nodes)),n},P.predicateMatches=function(e,t){var r=e.evaluate(t);return Z.instance_of(r,B)?t.contextPosition===r.numberValue():r.booleanValue()},P.predicateString=function(e){return a("[","]",e.toString())},P.predicatesString=function(e){return o("",n(P.predicateString,e))},P.prototype.toString=function(){if(null!=this.filter){var e=i(this.filter);return Z.instance_of(this.filter,F)?a("'","'",e):null!=this.filterPredicates&&this.filterPredicates.length?a("(",")",e)+P.predicatesString(this.filterPredicates):null!=this.locationPath?e+(this.locationPath.absolute?"":"/")+i(this.locationPath):e}return i(this.locationPath)},P.getOwnerElement=function(e){if(e.ownerElement)return e.ownerElement;try{if(e.selectSingleNode)return e.selectSingleNode("..")}catch(e){}for(var t=(9==e.nodeType?e:e.ownerDocument).getElementsByTagName("*"),r=0;r<t.length;r++)for(var n=t.item(r),i=n.attributes,o=0;o<i.length;o++)if(i.item(o)===e)return n;return null},L.prototype=new Object,L.prototype.constructor=L,L.superclass=Object.prototype,L.prototype.init=function(e,t){this.absolute=e,this.steps=t},L.prototype.toString=function(){return(this.absolute?"/":"")+n(i,this.steps).join("/")},k.prototype=new Object,k.prototype.constructor=k,k.superclass=Object.prototype,k.prototype.init=function(e,t,r){this.axis=e,this.nodeTest=t,this.predicates=r},k.prototype.toString=function(){return k.STEPNAMES[this.axis]+"::"+this.nodeTest.toString()+P.predicatesString(this.predicates)},k.ANCESTOR=0,k.ANCESTORORSELF=1,k.ATTRIBUTE=2,k.CHILD=3,k.DESCENDANT=4,k.DESCENDANTORSELF=5,k.FOLLOWING=6,k.FOLLOWINGSIBLING=7,k.NAMESPACE=8,k.PARENT=9,k.PRECEDING=10,k.PRECEDINGSIBLING=11,k.SELF=12,k.STEPNAMES=r((function(e,t){return e[t[0]]=t[1],e}),{},[[k.ANCESTOR,"ancestor"],[k.ANCESTORORSELF,"ancestor-or-self"],[k.ATTRIBUTE,"attribute"],[k.CHILD,"child"],[k.DESCENDANT,"descendant"],[k.DESCENDANTORSELF,"descendant-or-self"],[k.FOLLOWING,"following"],[k.FOLLOWINGSIBLING,"following-sibling"],[k.NAMESPACE,"namespace"],[k.PARENT,"parent"],[k.PRECEDING,"preceding"],[k.PRECEDINGSIBLING,"preceding-sibling"],[k.SELF,"self"]]),M.prototype=new Object,M.prototype.constructor=M,M.superclass=Object.prototype,M.prototype.init=function(e,t){this.type=e,this.value=t},M.prototype.toString=function(){return"<unknown nodetest type>"},M.prototype.matches=function(e,t){console.warn("unknown node test type")},M.NAMETESTANY=0,M.NAMETESTPREFIXANY=1,M.NAMETESTQNAME=2,M.COMMENT=3,M.TEXT=4,M.PI=5,M.NODE=6,M.isNodeType=function(e){return function(t){return function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return!0;return!1}(e,t.nodeType)}},M.makeNodeTestType=function(e,t,r){var n=r||function(){};return n.prototype=new M(e),n.prototype.constructor=n,l(n.prototype,t),n},M.makeNodeTypeTest=function(e,t,r){return new(M.makeNodeTestType(e,{matches:M.isNodeType(t),toString:(n=r,function(){return n})}));var n},M.hasPrefix=function(e){return e.prefix||-1!==(e.nodeName||e.tagName).indexOf(":")},M.isElementOrAttribute=M.isNodeType([1,2]),M.nameSpaceMatches=function(e,t,r){var n=r.namespaceURI||"";if(!e)return!n||t.allowAnyNamespaceForNoPrefix&&!M.hasPrefix(r);var i=t.namespaceResolver.getNamespace(e,t.expressionContextNode);if(null==i)throw new Error("Cannot resolve QName "+e);return i===n},M.localNameMatches=function(e,t,r){var n=r.localName||r.nodeName;return t.caseInsensitive?e.toLowerCase()===n.toLowerCase():e===n},M.NameTestPrefixAny=M.makeNodeTestType(M.NAMETESTPREFIXANY,{matches:function(e,t){return M.isElementOrAttribute(e)&&M.nameSpaceMatches(this.prefix,t,e)},toString:function(){return this.prefix+":*"}},(function(e){this.prefix=e})),M.NameTestQName=M.makeNodeTestType(M.NAMETESTQNAME,{matches:function(e,t){return M.isNodeType([1,2,V.XPATH_NAMESPACE_NODE])(e)&&M.nameSpaceMatches(this.prefix,t,e)&&M.localNameMatches(this.localName,t,e)},toString:function(){return this.name}},(function(e){var t=e.split(":");this.name=e,this.prefix=t.length>1?t[0]:null,this.localName=t[t.length>1?1:0]})),M.PITest=M.makeNodeTestType(M.PI,{matches:function(e,t){return M.isNodeType([7])(e)&&(e.target||e.nodeName)===this.name},toString:function(){return a('processing-instruction("','")',this.name)}},(function(e){this.name=e})),M.nameTestAny=M.makeNodeTypeTest(M.NAMETESTANY,[1,2,V.XPATH_NAMESPACE_NODE],"*"),M.textTest=M.makeNodeTypeTest(M.TEXT,[3,4],"text()"),M.commentTest=M.makeNodeTypeTest(M.COMMENT,[8],"comment()"),M.nodeTest=M.makeNodeTypeTest(M.NODE,[1,2,3,4,7,8,9],"node()"),M.anyPiTest=M.makeNodeTypeTest(M.PI,[7],"processing-instruction()"),D.prototype=new p,D.prototype.constructor=D,D.superclass=p.prototype,D.prototype.init=function(e){this.variable=e},D.prototype.toString=function(){return"$"+this.variable},D.prototype.evaluate=function(e){var t=Z.resolveQName(this.variable,e.namespaceResolver,e.contextNode,!1);if(null==t[0])throw new Error("Cannot resolve QName "+fn);var r=e.variableResolver.getVariable(t[1],t[0]);if(!r)throw X.fromMessage("Undeclared variable: "+this.toString());return r},U.prototype=new p,U.prototype.constructor=U,U.superclass=p.prototype,U.prototype.init=function(e,t){this.functionName=e,this.arguments=t},U.prototype.toString=function(){for(var e=this.functionName+"(",t=0;t<this.arguments.length;t++)t>0&&(e+=", "),e+=this.arguments[t].toString();return e+")"},U.prototype.evaluate=function(e){var t=$.getFunctionFromContext(this.functionName,e);if(!t)throw new Error("Unknown function "+this.functionName);var r=[e].concat(this.arguments);return t.apply(e.functionResolver.thisArg,r)};var j=new Object;function F(e){arguments.length>0&&this.init(e)}function B(e){arguments.length>0&&this.init(e)}function z(e){arguments.length>0&&this.init(e)}function H(e){this.init(e)}function q(){this.init()}function V(e,t,r){this.isXPathNamespace=!0,this.ownerDocument=r.ownerDocument,this.nodeName="#namespace",this.prefix=e,this.localName=e,this.namespaceURI=t,this.nodeValue=t,this.ownerElement=r,this.nodeType=V.XPATH_NAMESPACE_NODE}function G(e,t,r){this.variableResolver=null!=e?e:new W,this.namespaceResolver=null!=t?t:new Y,this.functionResolver=null!=r?r:new $}function W(){}function $(e){this.thisArg=null!=e?e:K,this.functions=new Object,this.addStandardFunctions()}function Y(){}j.equals=function(e,t){return e.equals(t)},j.notequal=function(e,t){return e.notequal(t)},j.lessthan=function(e,t){return e.lessthan(t)},j.greaterthan=function(e,t){return e.greaterthan(t)},j.lessthanorequal=function(e,t){return e.lessthanorequal(t)},j.greaterthanorequal=function(e,t){return e.greaterthanorequal(t)},F.prototype=new p,F.prototype.constructor=F,F.superclass=p.prototype,F.prototype.init=function(e){this.str=String(e)},F.prototype.toString=function(){return this.str},F.prototype.evaluate=function(e){return this},F.prototype.string=function(){return this},F.prototype.number=function(){return new B(this.str)},F.prototype.bool=function(){return new z(this.str)},F.prototype.nodeset=function(){throw new Error("Cannot convert string to nodeset")},F.prototype.stringValue=function(){return this.str},F.prototype.numberValue=function(){return this.number().numberValue()},F.prototype.booleanValue=function(){return this.bool().booleanValue()},F.prototype.equals=function(e){return Z.instance_of(e,z)?this.bool().equals(e):Z.instance_of(e,B)?this.number().equals(e):Z.instance_of(e,q)?e.compareWithString(this,j.equals):new z(this.str==e.str)},F.prototype.notequal=function(e){return Z.instance_of(e,z)?this.bool().notequal(e):Z.instance_of(e,B)?this.number().notequal(e):Z.instance_of(e,q)?e.compareWithString(this,j.notequal):new z(this.str!=e.str)},F.prototype.lessthan=function(e){return this.number().lessthan(e)},F.prototype.greaterthan=function(e){return this.number().greaterthan(e)},F.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},F.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},B.prototype=new p,B.prototype.constructor=B,B.superclass=p.prototype,B.prototype.init=function(e){this.num="string"==typeof e?this.parse(e):Number(e)},B.prototype.numberFormat=/^\s*-?[0-9]*\.?[0-9]+\s*$/,B.prototype.parse=function(e){return this.numberFormat.test(e)?parseFloat(e):Number.NaN},B.prototype.toString=function(){var e=this.num.toString();return-1!==e.indexOf("e-")?function(e){for(var t=e.split("e-"),r=t[0].replace(".",""),n=Number(t[1]),i=0;i<n-1;i+=1)r="0"+r;return"0."+r}(e):-1!==e.indexOf("e")?function(e){for(var t=e.split("e"),r=t[0].replace(".",""),n=Number(t[1])+1-r.length,i=0;i<n;i+=1)r+="0";return r}(e):e},B.prototype.evaluate=function(e){return this},B.prototype.string=function(){return new F(this.toString())},B.prototype.number=function(){return this},B.prototype.bool=function(){return new z(this.num)},B.prototype.nodeset=function(){throw new Error("Cannot convert number to nodeset")},B.prototype.stringValue=function(){return this.string().stringValue()},B.prototype.numberValue=function(){return this.num},B.prototype.booleanValue=function(){return this.bool().booleanValue()},B.prototype.negate=function(){return new B(-this.num)},B.prototype.equals=function(e){return Z.instance_of(e,z)?this.bool().equals(e):Z.instance_of(e,F)?this.equals(e.number()):Z.instance_of(e,q)?e.compareWithNumber(this,j.equals):new z(this.num==e.num)},B.prototype.notequal=function(e){return Z.instance_of(e,z)?this.bool().notequal(e):Z.instance_of(e,F)?this.notequal(e.number()):Z.instance_of(e,q)?e.compareWithNumber(this,j.notequal):new z(this.num!=e.num)},B.prototype.lessthan=function(e){return Z.instance_of(e,q)?e.compareWithNumber(this,j.greaterthan):Z.instance_of(e,z)||Z.instance_of(e,F)?this.lessthan(e.number()):new z(this.num<e.num)},B.prototype.greaterthan=function(e){return Z.instance_of(e,q)?e.compareWithNumber(this,j.lessthan):Z.instance_of(e,z)||Z.instance_of(e,F)?this.greaterthan(e.number()):new z(this.num>e.num)},B.prototype.lessthanorequal=function(e){return Z.instance_of(e,q)?e.compareWithNumber(this,j.greaterthanorequal):Z.instance_of(e,z)||Z.instance_of(e,F)?this.lessthanorequal(e.number()):new z(this.num<=e.num)},B.prototype.greaterthanorequal=function(e){return Z.instance_of(e,q)?e.compareWithNumber(this,j.lessthanorequal):Z.instance_of(e,z)||Z.instance_of(e,F)?this.greaterthanorequal(e.number()):new z(this.num>=e.num)},B.prototype.plus=function(e){return new B(this.num+e.num)},B.prototype.minus=function(e){return new B(this.num-e.num)},B.prototype.multiply=function(e){return new B(this.num*e.num)},B.prototype.div=function(e){return new B(this.num/e.num)},B.prototype.mod=function(e){return new B(this.num%e.num)},z.prototype=new p,z.prototype.constructor=z,z.superclass=p.prototype,z.prototype.init=function(e){this.b=Boolean(e)},z.prototype.toString=function(){return this.b.toString()},z.prototype.evaluate=function(e){return this},z.prototype.string=function(){return new F(this.b)},z.prototype.number=function(){return new B(this.b)},z.prototype.bool=function(){return this},z.prototype.nodeset=function(){throw new Error("Cannot convert boolean to nodeset")},z.prototype.stringValue=function(){return this.string().stringValue()},z.prototype.numberValue=function(){return this.number().numberValue()},z.prototype.booleanValue=function(){return this.b},z.prototype.not=function(){return new z(!this.b)},z.prototype.equals=function(e){return Z.instance_of(e,F)||Z.instance_of(e,B)?this.equals(e.bool()):Z.instance_of(e,q)?e.compareWithBoolean(this,j.equals):new z(this.b==e.b)},z.prototype.notequal=function(e){return Z.instance_of(e,F)||Z.instance_of(e,B)?this.notequal(e.bool()):Z.instance_of(e,q)?e.compareWithBoolean(this,j.notequal):new z(this.b!=e.b)},z.prototype.lessthan=function(e){return this.number().lessthan(e)},z.prototype.greaterthan=function(e){return this.number().greaterthan(e)},z.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},z.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},z.true_=new z(!0),z.false_=new z(!1),H.prototype=new Object,H.prototype.constructor=H,H.superclass=Object.prototype,H.prototype.init=function(e){this.left=null,this.right=null,this.node=e,this.depth=1},H.prototype.balance=function(){var e=null==this.left?0:this.left.depth,t=null==this.right?0:this.right.depth;if(e>t+1)(null==this.left.left?0:this.left.left.depth)<(null==this.left.right?0:this.left.right.depth)&&this.left.rotateRR(),this.rotateLL();else if(e+1<t){var r=null==this.right.right?0:this.right.right.depth;(null==this.right.left?0:this.right.left.depth)>r&&this.right.rotateLL(),this.rotateRR()}},H.prototype.rotateLL=function(){var e=this.node,t=this.right;this.node=this.left.node,this.right=this.left,this.left=this.left.left,this.right.left=this.right.right,this.right.right=t,this.right.node=e,this.right.updateInNewLocation(),this.updateInNewLocation()},H.prototype.rotateRR=function(){var e=this.node,t=this.left;this.node=this.right.node,this.left=this.right,this.right=this.right.right,this.left.right=this.left.left,this.left.left=t,this.left.node=e,this.left.updateInNewLocation(),this.updateInNewLocation()},H.prototype.updateInNewLocation=function(){this.getDepthFromChildren()},H.prototype.getDepthFromChildren=function(){this.depth=null==this.node?0:1,null!=this.left&&(this.depth=this.left.depth+1),null!=this.right&&this.depth<=this.right.depth&&(this.depth=this.right.depth+1)},H.prototype.add=function(e){if(e===this.node)return!1;var t=function(e,t){if(e===t)return 0;if(e.compareDocumentPosition){var r=e.compareDocumentPosition(t);return 1&r||10&r?1:20&r?-1:0}for(var n=0,i=0,o=e;null!=o;o=o.parentNode||o.ownerElement)n++;for(var a=t;null!=a;a=a.parentNode||a.ownerElement)i++;if(n>i){for(;n>i;)e=e.parentNode||e.ownerElement,n--;if(e===t)return 1}else if(i>n){for(;i>n;)t=t.parentNode||t.ownerElement,i--;if(e===t)return-1}for(var s=e.parentNode||e.ownerElement,l=t.parentNode||t.ownerElement;s!==l;)t=l,s=(e=s).parentNode||e.ownerElement,l=t.parentNode||t.ownerElement;var u=Z.isAttribute(e),c=Z.isAttribute(t);if(u&&!c)return-1;if(!u&&c)return 1;if(s)for(var d=u?s.attributes:s.childNodes,p=d.length,f=0;f<p;f+=1){var h=d[f];if(h===e)return-1;if(h===t)return 1}throw new Error("Unexpected: could not determine node order")}(e,this.node),r=!1;return-1==t?null==this.left?(this.left=new H(e),r=!0):(r=this.left.add(e))&&this.balance():1==t&&(null==this.right?(this.right=new H(e),r=!0):(r=this.right.add(e))&&this.balance()),r&&this.getDepthFromChildren(),r},q.prototype=new p,q.prototype.constructor=q,q.superclass=p.prototype,q.prototype.init=function(){this.tree=null,this.nodes=[],this.size=0},q.prototype.toString=function(){var e=this.first();return null==e?"":this.stringForNode(e)},q.prototype.evaluate=function(e){return this},q.prototype.string=function(){return new F(this.toString())},q.prototype.stringValue=function(){return this.toString()},q.prototype.number=function(){return new B(this.string())},q.prototype.numberValue=function(){return Number(this.string())},q.prototype.bool=function(){return new z(this.booleanValue())},q.prototype.booleanValue=function(){return!!this.size},q.prototype.nodeset=function(){return this},q.prototype.stringForNode=function(e){return 9==e.nodeType||1==e.nodeType||11===e.nodeType?this.stringForContainerNode(e):2===e.nodeType?e.value||e.nodeValue:e.isNamespaceNode?e.namespace:e.nodeValue},q.prototype.stringForContainerNode=function(e){for(var t="",r=e.firstChild;null!=r;r=r.nextSibling){var n=r.nodeType;1!==n&&3!==n&&4!==n&&9!==n&&11!==n||(t+=this.stringForNode(r))}return t},q.prototype.buildTree=function(){if(!this.tree&&this.nodes.length){this.tree=new H(this.nodes[0]);for(var e=1;e<this.nodes.length;e+=1)this.tree.add(this.nodes[e])}return this.tree},q.prototype.first=function(){var e=this.buildTree();if(null==e)return null;for(;null!=e.left;)e=e.left;return e.node},q.prototype.add=function(e){for(var t=0;t<this.nodes.length;t+=1)if(e===this.nodes[t])return;this.tree=null,this.nodes.push(e),this.size+=1},q.prototype.addArray=function(e){var r=this;t((function(e){r.add(e)}),e)},q.prototype.toArray=function(){var e=[];return this.toArrayRec(this.buildTree(),e),e},q.prototype.toArrayRec=function(e,t){null!=e&&(this.toArrayRec(e.left,t),t.push(e.node),this.toArrayRec(e.right,t))},q.prototype.toUnsortedArray=function(){return this.nodes.slice()},q.prototype.compareWithString=function(e,t){for(var r=this.toUnsortedArray(),n=0;n<r.length;n++){var i=r[n],o=t(new F(this.stringForNode(i)),e);if(o.booleanValue())return o}return new z(!1)},q.prototype.compareWithNumber=function(e,t){for(var r=this.toUnsortedArray(),n=0;n<r.length;n++){var i=r[n],o=t(new B(this.stringForNode(i)),e);if(o.booleanValue())return o}return new z(!1)},q.prototype.compareWithBoolean=function(e,t){return t(this.bool(),e)},q.prototype.compareWithNodeSet=function(e,t){for(var r=this.toUnsortedArray(),n=function(e,r){return t(r,e)},i=0;i<r.length;i++){var o=new F(this.stringForNode(r[i])),a=e.compareWithString(o,n);if(a.booleanValue())return a}return new z(!1)},q.compareWith=function(e){var t=Array.prototype.slice,r=e.length,n=function(){var i=t.call(arguments);return i.length<r?function(e,r){return function(){return r.apply(this,e.concat(t.call(arguments)))}}(i,n):e.apply(this,t.apply(arguments,[0,r]))};return n}((function(e,t){return Z.instance_of(t,F)?this.compareWithString(t,e):Z.instance_of(t,B)?this.compareWithNumber(t,e):Z.instance_of(t,z)?this.compareWithBoolean(t,e):this.compareWithNodeSet(t,e)})),q.prototype.equals=q.compareWith(j.equals),q.prototype.notequal=q.compareWith(j.notequal),q.prototype.lessthan=q.compareWith(j.lessthan),q.prototype.greaterthan=q.compareWith(j.greaterthan),q.prototype.lessthanorequal=q.compareWith(j.lessthanorequal),q.prototype.greaterthanorequal=q.compareWith(j.greaterthanorequal),q.prototype.union=function(e){var t=new q;return t.addArray(this.toUnsortedArray()),t.addArray(e.toUnsortedArray()),t},V.prototype=new Object,V.prototype.constructor=V,V.superclass=Object.prototype,V.prototype.toString=function(){return'{ "'+this.prefix+'", "'+this.namespaceURI+'" }'},G.prototype=new Object,G.prototype.constructor=G,G.superclass=Object.prototype,G.prototype.extend=function(e){return l(new G,this,e)},W.prototype=new Object,W.prototype.constructor=W,W.superclass=Object.prototype,W.prototype.getVariable=function(e,t){return null},$.prototype=new Object,$.prototype.constructor=$,$.superclass=Object.prototype,$.prototype.addStandardFunctions=function(){this.functions["{}last"]=K.last,this.functions["{}position"]=K.position,this.functions["{}count"]=K.count,this.functions["{}id"]=K.id,this.functions["{}local-name"]=K.localName,this.functions["{}namespace-uri"]=K.namespaceURI,this.functions["{}name"]=K.name,this.functions["{}string"]=K.string,this.functions["{}concat"]=K.concat,this.functions["{}starts-with"]=K.startsWith,this.functions["{}contains"]=K.contains,this.functions["{}substring-before"]=K.substringBefore,this.functions["{}substring-after"]=K.substringAfter,this.functions["{}substring"]=K.substring,this.functions["{}string-length"]=K.stringLength,this.functions["{}normalize-space"]=K.normalizeSpace,this.functions["{}translate"]=K.translate,this.functions["{}boolean"]=K.boolean_,this.functions["{}not"]=K.not,this.functions["{}true"]=K.true_,this.functions["{}false"]=K.false_,this.functions["{}lang"]=K.lang,this.functions["{}number"]=K.number,this.functions["{}sum"]=K.sum,this.functions["{}floor"]=K.floor,this.functions["{}ceiling"]=K.ceiling,this.functions["{}round"]=K.round},$.prototype.addFunction=function(e,t,r){this.functions["{"+e+"}"+t]=r},$.getFunctionFromContext=function(e,t){var r=Z.resolveQName(e,t.namespaceResolver,t.contextNode,!1);if(null===r[0])throw new Error("Cannot resolve QName "+name);return t.functionResolver.getFunction(r[1],r[0])},$.prototype.getFunction=function(e,t){return this.functions["{"+t+"}"+e]},Y.prototype=new Object,Y.prototype.constructor=Y,Y.superclass=Object.prototype,Y.prototype.getNamespace=function(e,t){if("xml"==e)return c.XML_NAMESPACE_URI;if("xmlns"==e)return c.XMLNS_NAMESPACE_URI;for(9==t.nodeType?t=t.documentElement:2==t.nodeType?t=P.getOwnerElement(t):1!=t.nodeType&&(t=t.parentNode);null!=t&&1==t.nodeType;){for(var r=t.attributes,n=0;n<r.length;n++){var i=r.item(n),o=i.name||i.nodeName;if("xmlns"===o&&""===e||o==="xmlns:"+e)return String(i.value||i.nodeValue)}t=t.parentNode}return null};var K=new Object;K.last=function(e){if(1!=arguments.length)throw new Error("Function last expects ()");return new B(e.contextSize)},K.position=function(e){if(1!=arguments.length)throw new Error("Function position expects ()");return new B(e.contextPosition)},K.count=function(){var e,t=arguments[0];if(2!=arguments.length||!Z.instance_of(e=arguments[1].evaluate(t),q))throw new Error("Function count expects (node-set)");return new B(e.size)},K.id=function(){var e,t=arguments[0];if(2!=arguments.length)throw new Error("Function id expects (object)");e=arguments[1].evaluate(t);for(var r=(e=Z.instance_of(e,q)?e.toArray().join(" "):e.stringValue()).split(/[\x0d\x0a\x09\x20]+/),n=new q,i=9==t.contextNode.nodeType?t.contextNode:t.contextNode.ownerDocument,o=0;o<r.length;o++){var a;null!=(a=i.getElementById?i.getElementById(r[o]):Z.getElementById(i,r[o]))&&n.add(a)}return n},K.localName=function(e,t){var r;if(1==arguments.length)r=e.contextNode;else{if(2!=arguments.length)throw new Error("Function local-name expects (node-set?)");r=t.evaluate(e).first()}return new F(null==r?"":r.localName||r.baseName||r.target||r.nodeName||"")},K.namespaceURI=function(){var e,t=arguments[0];if(1==arguments.length)e=t.contextNode;else{if(2!=arguments.length)throw new Error("Function namespace-uri expects (node-set?)");e=arguments[1].evaluate(t).first()}return new F(null==e?"":e.namespaceURI)},K.name=function(){var e,t=arguments[0];if(1==arguments.length)e=t.contextNode;else{if(2!=arguments.length)throw new Error("Function name expects (node-set?)");e=arguments[1].evaluate(t).first()}return null==e?new F(""):1==e.nodeType?new F(e.nodeName):2==e.nodeType?new F(e.name||e.nodeName):7===e.nodeType?new F(e.target||e.nodeName):null==e.localName?new F(""):new F(e.localName)},K.string=function(){var e=arguments[0];if(1==arguments.length)return new F(q.prototype.stringForNode(e.contextNode));if(2==arguments.length)return arguments[1].evaluate(e).string();throw new Error("Function string expects (object?)")},K.concat=function(e){if(arguments.length<3)throw new Error("Function concat expects (string, string[, string]*)");for(var t="",r=1;r<arguments.length;r++)t+=arguments[r].evaluate(e).stringValue();return new F(t)},K.startsWith=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function startsWith expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),r=arguments[2].evaluate(e).stringValue();return new z(t.substring(0,r.length)==r)},K.contains=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function contains expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),r=arguments[2].evaluate(e).stringValue();return new z(-1!==t.indexOf(r))},K.substringBefore=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function substring-before expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),r=arguments[2].evaluate(e).stringValue();return new F(t.substring(0,t.indexOf(r)))},K.substringAfter=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function substring-after expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),r=arguments[2].evaluate(e).stringValue();if(0==r.length)return new F(t);var n=t.indexOf(r);return new F(-1==n?"":t.substring(n+r.length))},K.substring=function(){var e=arguments[0];if(3!=arguments.length&&4!=arguments.length)throw new Error("Function substring expects (string, number, number?)");var t=arguments[1].evaluate(e).stringValue(),r=Math.round(arguments[2].evaluate(e).numberValue())-1,n=4==arguments.length?r+Math.round(arguments[3].evaluate(e).numberValue()):void 0;return new F(t.substring(r,n))},K.stringLength=function(){var e,t=arguments[0];if(1==arguments.length)e=q.prototype.stringForNode(t.contextNode);else{if(2!=arguments.length)throw new Error("Function string-length expects (string?)");e=arguments[1].evaluate(t).stringValue()}return new B(e.length)},K.normalizeSpace=function(){var e,t=arguments[0];if(1==arguments.length)e=q.prototype.stringForNode(t.contextNode);else{if(2!=arguments.length)throw new Error("Function normalize-space expects (string?)");e=arguments[1].evaluate(t).stringValue()}for(var r=0,n=e.length-1;Z.isSpace(e.charCodeAt(n));)n--;for(var i="";r<=n&&Z.isSpace(e.charCodeAt(r));)r++;for(;r<=n;)if(Z.isSpace(e.charCodeAt(r)))for(i+=" ";r<=n&&Z.isSpace(e.charCodeAt(r));)r++;else i+=e.charAt(r),r++;return new F(i)},K.translate=function(e,t,i,a){if(4!=arguments.length)throw new Error("Function translate expects (string, string, string)");var s=t.evaluate(e).stringValue(),l=i.evaluate(e).stringValue(),u=a.evaluate(e).stringValue(),c=r((function(e,t,r){return t in e||(e[t]=r>u.length?"":u[r]),e}),{},l);return new F(o("",n((function(e){return e in c?c[e]:e}),s)))},K.boolean_=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function boolean expects (object)");return arguments[1].evaluate(e).bool()},K.not=function(e,t){if(2!=arguments.length)throw new Error("Function not expects (object)");return t.evaluate(e).bool().not()},K.true_=function(){if(1!=arguments.length)throw new Error("Function true expects ()");return z.true_},K.false_=function(){if(1!=arguments.length)throw new Error("Function false expects ()");return z.false_},K.lang=function(){var e,t=arguments[0];if(2!=arguments.length)throw new Error("Function lang expects (string)");for(var r=t.contextNode;null!=r&&9!=r.nodeType;r=r.parentNode){var n=r.getAttributeNS(c.XML_NAMESPACE_URI,"lang");if(null!=n){e=String(n);break}}if(null==e)return z.false_;var i=arguments[1].evaluate(t).stringValue();return new z(e.substring(0,i.length)==i&&(e.length==i.length||"-"==e.charAt(i.length)))},K.number=function(){var e=arguments[0];if(1!=arguments.length&&2!=arguments.length)throw new Error("Function number expects (object?)");return 1==arguments.length?new B(q.prototype.stringForNode(e.contextNode)):arguments[1].evaluate(e).number()},K.sum=function(){var e,t=arguments[0];if(2!=arguments.length||!Z.instance_of(e=arguments[1].evaluate(t),q))throw new Error("Function sum expects (node-set)");e=e.toUnsortedArray();for(var r=0,n=0;n<e.length;n++)r+=new B(q.prototype.stringForNode(e[n])).numberValue();return new B(r)},K.floor=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function floor expects (number)");return new B(Math.floor(arguments[1].evaluate(e).numberValue()))},K.ceiling=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function ceiling expects (number)");return new B(Math.ceil(arguments[1].evaluate(e).numberValue()))},K.round=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function round expects (number)");return new B(Math.round(arguments[1].evaluate(e).numberValue()))};var Z=new Object;Z.isAttribute=function(e){return e&&(2===e.nodeType||e.ownerElement)},Z.splitQName=function(e){var t=e.indexOf(":");return-1==t?[null,e]:[e.substring(0,t),e.substring(t+1)]},Z.resolveQName=function(e,t,r,n){var i=Z.splitQName(e);return null!=i[0]?i[0]=t.getNamespace(i[0],r):n?(i[0]=t.getNamespace("",r),null==i[0]&&(i[0]="")):i[0]="",i},Z.isSpace=function(e){return 9==e||13==e||10==e||32==e},Z.isLetter=function(e){return e>=65&&e<=90||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=255||e>=256&&e<=305||e>=308&&e<=318||e>=321&&e<=328||e>=330&&e<=382||e>=384&&e<=451||e>=461&&e<=496||e>=500&&e<=501||e>=506&&e<=535||e>=592&&e<=680||e>=699&&e<=705||902==e||e>=904&&e<=906||908==e||e>=910&&e<=929||e>=931&&e<=974||e>=976&&e<=982||986==e||988==e||990==e||992==e||e>=994&&e<=1011||e>=1025&&e<=1036||e>=1038&&e<=1103||e>=1105&&e<=1116||e>=1118&&e<=1153||e>=1168&&e<=1220||e>=1223&&e<=1224||e>=1227&&e<=1228||e>=1232&&e<=1259||e>=1262&&e<=1269||e>=1272&&e<=1273||e>=1329&&e<=1366||1369==e||e>=1377&&e<=1414||e>=1488&&e<=1514||e>=1520&&e<=1522||e>=1569&&e<=1594||e>=1601&&e<=1610||e>=1649&&e<=1719||e>=1722&&e<=1726||e>=1728&&e<=1742||e>=1744&&e<=1747||1749==e||e>=1765&&e<=1766||e>=2309&&e<=2361||2365==e||e>=2392&&e<=2401||e>=2437&&e<=2444||e>=2447&&e<=2448||e>=2451&&e<=2472||e>=2474&&e<=2480||2482==e||e>=2486&&e<=2489||e>=2524&&e<=2525||e>=2527&&e<=2529||e>=2544&&e<=2545||e>=2565&&e<=2570||e>=2575&&e<=2576||e>=2579&&e<=2600||e>=2602&&e<=2608||e>=2610&&e<=2611||e>=2613&&e<=2614||e>=2616&&e<=2617||e>=2649&&e<=2652||2654==e||e>=2674&&e<=2676||e>=2693&&e<=2699||2701==e||e>=2703&&e<=2705||e>=2707&&e<=2728||e>=2730&&e<=2736||e>=2738&&e<=2739||e>=2741&&e<=2745||2749==e||2784==e||e>=2821&&e<=2828||e>=2831&&e<=2832||e>=2835&&e<=2856||e>=2858&&e<=2864||e>=2866&&e<=2867||e>=2870&&e<=2873||2877==e||e>=2908&&e<=2909||e>=2911&&e<=2913||e>=2949&&e<=2954||e>=2958&&e<=2960||e>=2962&&e<=2965||e>=2969&&e<=2970||2972==e||e>=2974&&e<=2975||e>=2979&&e<=2980||e>=2984&&e<=2986||e>=2990&&e<=2997||e>=2999&&e<=3001||e>=3077&&e<=3084||e>=3086&&e<=3088||e>=3090&&e<=3112||e>=3114&&e<=3123||e>=3125&&e<=3129||e>=3168&&e<=3169||e>=3205&&e<=3212||e>=3214&&e<=3216||e>=3218&&e<=3240||e>=3242&&e<=3251||e>=3253&&e<=3257||3294==e||e>=3296&&e<=3297||e>=3333&&e<=3340||e>=3342&&e<=3344||e>=3346&&e<=3368||e>=3370&&e<=3385||e>=3424&&e<=3425||e>=3585&&e<=3630||3632==e||e>=3634&&e<=3635||e>=3648&&e<=3653||e>=3713&&e<=3714||3716==e||e>=3719&&e<=3720||3722==e||3725==e||e>=3732&&e<=3735||e>=3737&&e<=3743||e>=3745&&e<=3747||3749==e||3751==e||e>=3754&&e<=3755||e>=3757&&e<=3758||3760==e||e>=3762&&e<=3763||3773==e||e>=3776&&e<=3780||e>=3904&&e<=3911||e>=3913&&e<=3945||e>=4256&&e<=4293||e>=4304&&e<=4342||4352==e||e>=4354&&e<=4355||e>=4357&&e<=4359||4361==e||e>=4363&&e<=4364||e>=4366&&e<=4370||4412==e||4414==e||4416==e||4428==e||4430==e||4432==e||e>=4436&&e<=4437||4441==e||e>=4447&&e<=4449||4451==e||4453==e||4455==e||4457==e||e>=4461&&e<=4462||e>=4466&&e<=4467||4469==e||4510==e||4520==e||4523==e||e>=4526&&e<=4527||e>=4535&&e<=4536||4538==e||e>=4540&&e<=4546||4587==e||4592==e||4601==e||e>=7680&&e<=7835||e>=7840&&e<=7929||e>=7936&&e<=7957||e>=7960&&e<=7965||e>=7968&&e<=8005||e>=8008&&e<=8013||e>=8016&&e<=8023||8025==e||8027==e||8029==e||e>=8031&&e<=8061||e>=8064&&e<=8116||e>=8118&&e<=8124||8126==e||e>=8130&&e<=8132||e>=8134&&e<=8140||e>=8144&&e<=8147||e>=8150&&e<=8155||e>=8160&&e<=8172||e>=8178&&e<=8180||e>=8182&&e<=8188||8486==e||e>=8490&&e<=8491||8494==e||e>=8576&&e<=8578||e>=12353&&e<=12436||e>=12449&&e<=12538||e>=12549&&e<=12588||e>=44032&&e<=55203||e>=19968&&e<=40869||12295==e||e>=12321&&e<=12329},Z.isNCNameChar=function(e){return e>=48&&e<=57||e>=1632&&e<=1641||e>=1776&&e<=1785||e>=2406&&e<=2415||e>=2534&&e<=2543||e>=2662&&e<=2671||e>=2790&&e<=2799||e>=2918&&e<=2927||e>=3047&&e<=3055||e>=3174&&e<=3183||e>=3302&&e<=3311||e>=3430&&e<=3439||e>=3664&&e<=3673||e>=3792&&e<=3801||e>=3872&&e<=3881||46==e||45==e||95==e||Z.isLetter(e)||e>=768&&e<=837||e>=864&&e<=865||e>=1155&&e<=1158||e>=1425&&e<=1441||e>=1443&&e<=1465||e>=1467&&e<=1469||1471==e||e>=1473&&e<=1474||1476==e||e>=1611&&e<=1618||1648==e||e>=1750&&e<=1756||e>=1757&&e<=1759||e>=1760&&e<=1764||e>=1767&&e<=1768||e>=1770&&e<=1773||e>=2305&&e<=2307||2364==e||e>=2366&&e<=2380||2381==e||e>=2385&&e<=2388||e>=2402&&e<=2403||e>=2433&&e<=2435||2492==e||2494==e||2495==e||e>=2496&&e<=2500||e>=2503&&e<=2504||e>=2507&&e<=2509||2519==e||e>=2530&&e<=2531||2562==e||2620==e||2622==e||2623==e||e>=2624&&e<=2626||e>=2631&&e<=2632||e>=2635&&e<=2637||e>=2672&&e<=2673||e>=2689&&e<=2691||2748==e||e>=2750&&e<=2757||e>=2759&&e<=2761||e>=2763&&e<=2765||e>=2817&&e<=2819||2876==e||e>=2878&&e<=2883||e>=2887&&e<=2888||e>=2891&&e<=2893||e>=2902&&e<=2903||e>=2946&&e<=2947||e>=3006&&e<=3010||e>=3014&&e<=3016||e>=3018&&e<=3021||3031==e||e>=3073&&e<=3075||e>=3134&&e<=3140||e>=3142&&e<=3144||e>=3146&&e<=3149||e>=3157&&e<=3158||e>=3202&&e<=3203||e>=3262&&e<=3268||e>=3270&&e<=3272||e>=3274&&e<=3277||e>=3285&&e<=3286||e>=3330&&e<=3331||e>=3390&&e<=3395||e>=3398&&e<=3400||e>=3402&&e<=3405||3415==e||3633==e||e>=3636&&e<=3642||e>=3655&&e<=3662||3761==e||e>=3764&&e<=3769||e>=3771&&e<=3772||e>=3784&&e<=3789||e>=3864&&e<=3865||3893==e||3895==e||3897==e||3902==e||3903==e||e>=3953&&e<=3972||e>=3974&&e<=3979||e>=3984&&e<=3989||3991==e||e>=3993&&e<=4013||e>=4017&&e<=4023||4025==e||e>=8400&&e<=8412||8417==e||e>=12330&&e<=12335||12441==e||12442==e||183==e||720==e||721==e||903==e||1600==e||3654==e||3782==e||12293==e||e>=12337&&e<=12341||e>=12445&&e<=12446||e>=12540&&e<=12542},Z.coalesceText=function(e){for(var t=e.firstChild;null!=t;t=t.nextSibling)if(3==t.nodeType||4==t.nodeType){var r=t.nodeValue,n=t;for(t=t.nextSibling;null!=t&&(3==t.nodeType||4==t.nodeType);){r+=t.nodeValue;var i=t;t=t.nextSibling,i.parentNode.removeChild(i)}if(4==n.nodeType){var o=n.parentNode;if(null==n.nextSibling)o.removeChild(n),o.appendChild(o.ownerDocument.createTextNode(r));else{var a=n.nextSibling;o.removeChild(n),o.insertBefore(o.ownerDocument.createTextNode(r),a)}}else n.nodeValue=r;if(null==t)break}else 1==t.nodeType&&Z.coalesceText(t)},Z.instance_of=function(e,t){for(;null!=e;){if(e.constructor===t)return!0;if(e===Object)return!1;e=e.constructor.superclass}return!1},Z.getElementById=function(e,t){if(1==e.nodeType&&(e.getAttribute("id")==t||e.getAttributeNS(null,"id")==t))return e;for(var r=e.firstChild;null!=r;r=r.nextSibling){var n=Z.getElementById(r,t);if(null!=n)return n}return null};var X=function(){function e(t,r,n){var i=Error.call(this,function(t,r){var n=r?": "+r.toString():"";switch(t){case e.INVALID_EXPRESSION_ERR:return"Invalid expression"+n;case e.TYPE_ERR:return"Type error"+n}return null}(t,r)||n);return i.code=t,i.exception=r,i}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.superclass=Error,e.prototype.toString=function(){return this.message},e.fromMessage=function(t,r){return new e(null,r,t)},e.INVALID_EXPRESSION_ERR=51,e.TYPE_ERR=52,e}();function Q(e,t,r){this.xpath=r.parse(e),this.context=new G,this.context.namespaceResolver=new J(t)}function J(e){this.xpathNSResolver=e}function ee(e){this.node=e,this.namespaceResolver=new Y}function te(e,t){switch(t==te.ANY_TYPE&&(e.constructor===F?t=te.STRING_TYPE:e.constructor===B?t=te.NUMBER_TYPE:e.constructor===z?t=te.BOOLEAN_TYPE:e.constructor===q&&(t=te.UNORDERED_NODE_ITERATOR_TYPE)),this.resultType=t,t){case te.NUMBER_TYPE:return void(this.numberValue=e.numberValue());case te.STRING_TYPE:return void(this.stringValue=e.stringValue());case te.BOOLEAN_TYPE:return void(this.booleanValue=e.booleanValue());case te.ANY_UNORDERED_NODE_TYPE:case te.FIRST_ORDERED_NODE_TYPE:if(e.constructor===q)return void(this.singleNodeValue=e.first());break;case te.UNORDERED_NODE_ITERATOR_TYPE:case te.ORDERED_NODE_ITERATOR_TYPE:if(e.constructor===q)return this.invalidIteratorState=!1,this.nodes=e.toArray(),void(this.iteratorIndex=0);break;case te.UNORDERED_NODE_SNAPSHOT_TYPE:case te.ORDERED_NODE_SNAPSHOT_TYPE:if(e.constructor===q)return this.nodes=e.toArray(),void(this.snapshotLength=this.nodes.length)}throw new X(X.TYPE_ERR)}function re(e,t){e.createExpression=function(e,r){try{return new Q(e,r,t)}catch(e){throw new X(X.INVALID_EXPRESSION_ERR,e)}},e.createNSResolver=function(e){return new ee(e)},e.evaluate=function(r,n,i,o,a){if(o<0||o>9)throw{code:0,toString:function(){return"Request type not supported"}};return e.createExpression(r,i,t).evaluate(n,o,a)}}Q.prototype={},Q.prototype.constructor=Q,Q.superclass=Object.prototype,Q.getOwnerDocument=function(e){return 9===e.nodeType?e:e.ownerDocument},Q.detectHtmlDom=function(e){if(!e)return!1;var t=Q.getOwnerDocument(e);try{return t.implementation.hasFeature("HTML","2.0")}catch(e){return!0}},Q.prototype.evaluate=function(e,t,r){return this.context.expressionContextNode=e,this.context.caseInsensitive=Q.detectHtmlDom(e),new te(this.xpath.evaluate(this.context),t)},J.prototype={},J.prototype.constructor=J,J.superclass=Object.prototype,J.prototype.getNamespace=function(e,t){return null==this.xpathNSResolver?null:this.xpathNSResolver.lookupNamespaceURI(e)},ee.prototype={},ee.prototype.constructor=ee,ee.superclass=Object.prototype,ee.prototype.lookupNamespaceURI=function(e){return this.namespaceResolver.getNamespace(e,this.node)},te.prototype={},te.prototype.constructor=te,te.superclass=Object.prototype,te.prototype.iterateNext=function(){if(this.resultType!=te.UNORDERED_NODE_ITERATOR_TYPE&&this.resultType!=te.ORDERED_NODE_ITERATOR_TYPE)throw new X(X.TYPE_ERR);return this.nodes[this.iteratorIndex++]},te.prototype.snapshotItem=function(e){if(this.resultType!=te.UNORDERED_NODE_SNAPSHOT_TYPE&&this.resultType!=te.ORDERED_NODE_SNAPSHOT_TYPE)throw new X(X.TYPE_ERR);return this.nodes[e]},te.ANY_TYPE=0,te.NUMBER_TYPE=1,te.STRING_TYPE=2,te.BOOLEAN_TYPE=3,te.UNORDERED_NODE_ITERATOR_TYPE=4,te.ORDERED_NODE_ITERATOR_TYPE=5,te.UNORDERED_NODE_SNAPSHOT_TYPE=6,te.ORDERED_NODE_SNAPSHOT_TYPE=7,te.ANY_UNORDERED_NODE_TYPE=8,te.FIRST_ORDERED_NODE_TYPE=9;try{var ne=!0;try{document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XPath",null)&&(ne=!1)}catch(e){}ne&&re(document,new u)}catch(e){}re(e,new u),new u,new $,l(e,{XPath:c,XPathParser:u,XPathResult:te,Step:k,PathExpr:P,NodeTest:M,LocationPath:L,OrOperation:y,AndOperation:v,BarOperation:N,EqualsOperation:g,NotEqualOperation:b,LessThanOperation:C,GreaterThanOperation:E,LessThanOrEqualOperation:_,GreaterThanOrEqualOperation:T,PlusOperation:x,MinusOperation:S,MultiplyOperation:O,DivOperation:w,ModOperation:A,UnaryMinusOperation:h,FunctionCall:U,VariableReference:D,XPathContext:G,XNodeSet:q,XBoolean:z,XString:F,XNumber:B,NamespaceResolver:Y,FunctionResolver:$,VariableResolver:W,Utilities:Z}),e.select=function(t,r,n){return e.selectWithResolver(t,r,null,n)}}(void 0===r?{}:r)},{}],230:[function(e,t,r){var n=e(228);n.DOMImplementation,n.XMLSerializer,r.DOMParser=e(227).DOMParser},{227:227,228:228}],223:[function(e,t,r){const n=e(225),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),u=Symbol("dispose"),c=Symbol("noDisposeOnSet"),d=Symbol("lruList"),p=Symbol("cache"),f=Symbol("updateAgeOnGet"),h=()=>1,m=(e,t,r)=>{const n=e[p].get(t);if(n){const t=n.value;if(y(e,t)){if(g(e,n),!e[s])return}else r&&(e[f]&&(n.value.now=Date.now()),e[d].unshiftNode(n));return t.value}},y=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[l]&&r>e[l]},v=e=>{if(e[o]>e[i])for(let t=e[d].tail;e[o]>e[i]&&null!==t;){const r=t.prev;g(e,t),t=r}},g=(e,t)=>{if(t){const r=t.value;e[u]&&e[u](r.key,r.value),e[o]-=r.length,e[p].delete(r.key),e[d].removeNode(t)}};class b{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0}}const C=(e,t,r,n)=>{let i=r.value;y(e,i)&&(g(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};t.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[i]=e.max||1/0;const t=e.length||h;if(this[a]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[u]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,v(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,v(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[a]&&(this[a]=e,this[o]=0,this[d].forEach((e=>{e.length=this[a](e.value,e.key),this[o]+=e.length}))),v(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[d].length}rforEach(e,t){t=t||this;for(let r=this[d].tail;null!==r;){const n=r.prev;C(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[d].head;null!==r;){const n=r.next;C(this,e,r,t),r=n}}keys(){return this[d].toArray().map((e=>e.key))}values(){return this[d].toArray().map((e=>e.value))}reset(){this[u]&&this[d]&&this[d].length&&this[d].forEach((e=>this[u](e.key,e.value))),this[p]=new Map,this[d]=new n,this[o]=0}dump(){return this[d].map((e=>!y(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[d]}set(e,t,r){if((r=r||this[l])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,s=this[a](t,e);if(this[p].has(e)){if(s>this[i])return g(this,this[p].get(e)),!1;const a=this[p].get(e).value;return this[u]&&(this[c]||this[u](e,a.value)),a.now=n,a.maxAge=r,a.value=t,this[o]+=s-a.length,a.length=s,this.get(e),v(this),!0}const f=new b(e,t,s,n,r);return f.length>this[i]?(this[u]&&this[u](e,t),!1):(this[o]+=f.length,this[d].unshift(f),this[p].set(e,this[d].head),v(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!y(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[d].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{const e=i-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[p].forEach(((e,t)=>m(this,t,!1)))}}},{225:225}],338:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(232)),n(e(233)),n(e(234)),n(e(235)),n(e(236)),n(e(237)),n(e(238)),n(e(239)),n(e(240)),n(e(241)),n(e(243)),n(e(244)),n(e(245)),n(e(246)),n(e(247)),n(e(249)),n(e(248)),n(e(250)),n(e(251)),n(e(252)),n(e(253)),n(e(254)),n(e(255)),n(e(256)),n(e(257)),n(e(258)),n(e(259)),n(e(260)),n(e(261)),n(e(262)),n(e(263)),n(e(264)),n(e(265)),n(e(266)),n(e(267)),n(e(268))},{232:232,233:233,234:234,235:235,236:236,237:237,238:238,239:239,240:240,241:241,243:243,244:244,245:245,246:246,247:247,248:248,249:249,250:250,251:251,252:252,253:253,254:254,255:255,256:256,257:257,258:258,259:259,260:260,261:261,262:262,263:263,264:264,265:265,266:266,267:267,268:268}],168:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(186);r.ArrayExpressionConverter=class{convert(e){return e instanceof n.ArrayExpression?e:new n.ArrayExpression(e)}}},{186:186}],169:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(186);r.BoolExpressionConverter=class{convert(e){return e instanceof n.BoolExpression?e:new n.BoolExpression(e)}}},{186:186}],170:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(186);r.EnumExpressionConverter=class{constructor(e){this.enumValue=e,this.lowercaseIndex=Object.keys(e||{}).reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{})}convert(e){if(e instanceof n.EnumExpression)return e;if("string"==typeof e){let t=this.enumValue[e];return void 0===t&&(t=this.enumValue[this.lowercaseIndex[e]]),void 0!==t?new n.EnumExpression(t):new n.EnumExpression("="+e)}return new n.EnumExpression(e)}}},{186:186}],171:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(179);r.ExpressionConverter=class{convert(e){return e instanceof n.Expression?e:n.Expression.parse(e)}}},{179:179}],175:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(186);r.ObjectExpressionConverter=class{convert(e){return e instanceof n.ObjectExpression?e:new n.ObjectExpression(e)}}},{186:186}],173:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(186);r.IntExpressionConverter=class{convert(e){return e instanceof n.IntExpression?e:new n.IntExpression(e)}}},{186:186}],177:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(186);r.ValueExpressionConverter=class{convert(e){return e instanceof n.ValueExpression?e:new n.ValueExpression(e)}}},{186:186}],176:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(186);r.StringExpressionConverter=class{convert(e){return e instanceof n.StringExpression?e:new n.StringExpression(e)}}},{186:186}],174:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(186);r.NumberExpressionConverter=class{convert(e){return e instanceof n.NumberExpression?e:new n.NumberExpression(e)}}},{186:186}],182:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(185),i=e(179);r.ArrayExpression=class extends n.ExpressionProperty{constructor(e){super(e)}setValue(e){if(!(null==e||Array.isArray(e)||"string"==typeof e||e instanceof i.Expression))throw new Error("ArrayExpression accepts string, array or Expression as the value.");super.setValue(e)}}},{179:179,185:185}],185:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(179);r.ExpressionProperty=class{constructor(e,t){this.defaultValue=t,this.setValue(e)}toString(){return this.expressionText?"="+this.expressionText.replace(/^=/,""):this.value?this.value.toString():""}toExpression(){if(this.expression)return this.expression;if(this.expressionText)return this.expression=n.Expression.parse(this.expressionText.replace(/^=/,"")),this.expression;switch(typeof this.value){case"string":case"number":case"boolean":this.expression=n.Expression.parse(this.value.toString());break;default:void 0===this.value?this.expression=n.Expression.parse("undefined"):null===this.value?this.expression=n.Expression.parse("null"):this.expression=n.Expression.parse(`json(${JSON.stringify(this.value)})`)}return this.expression}getValue(e){const{value:t,error:r}=this.tryGetValue(e);if(r)throw r;return t}tryGetValue(e){if(!this.expression&&this.expressionText)try{this.expression=n.Expression.parse(this.expressionText.replace(/^=/,""))}catch(e){return{value:void 0,error:e.message}}return this.expression?this.expression.tryEvaluate(e):{value:this.value,error:void 0}}setValue(e){this.value=this.defaultValue,this.expression=void 0,this.expressionText=void 0,"string"==typeof e?this.expressionText=e.replace(/^=/,""):e instanceof n.Expression?(this.expression=e,this.expressionText=e.toString()):void 0!==e&&(this.value=e)}}},{179:179}],183:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(185),i=e(179);r.BoolExpression=class extends n.ExpressionProperty{constructor(e){super(e,!1)}setValue(e){if(null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&!(e instanceof i.Expression))throw new Error("BoolExpression accepts string, boolean or Expression as the value.");super.setValue(e)}}},{179:179,185:185}],184:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(185);r.EnumExpression=class extends n.ExpressionProperty{constructor(e){super(e)}setValue(e){super.setValue(void 0),"string"!=typeof e||e.startsWith("=")?super.setValue(e):this.value=e}}},{185:185}],187:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(185),i=e(179),o=e(196);r.IntExpression=class extends n.ExpressionProperty{constructor(e){super(e,0)}tryGetValue(e){const t=super.tryGetValue(e);return o.FunctionUtils.isNumber(t.value)&&(t.value=Math.trunc(t.value)),t}setValue(e){if(!(null==e||o.FunctionUtils.isNumber(e)||"string"==typeof e||e instanceof i.Expression))throw new Error("IntExpression accepts string, number or Expression as the value.");super.setValue(e)}}},{179:179,185:185,196:196}],188:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(185),i=e(179),o=e(196);r.NumberExpression=class extends n.ExpressionProperty{constructor(e){super(e,0)}setValue(e){if(!(null==e||o.FunctionUtils.isNumber(e)||"string"==typeof e||e instanceof i.Expression))throw new Error("NumberExpression accepts string, number or Expression as the value.");super.setValue(e)}}},{179:179,185:185,196:196}],189:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(185);r.ObjectExpression=class extends n.ExpressionProperty{constructor(e){super(e)}}},{185:185}],191:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(185);r.ValueExpression=class extends n.ExpressionProperty{constructor(e){super(e)}setValue(e){if(super.setValue(void 0),"string"==typeof e)return e.startsWith("=")?void(this.expressionText=e):(e.startsWith("\\=")&&(e=e.substr(1)),void(this.expressionText=`=\`${e.replace("`","\\`")}\``));super.setValue(e)}}},{185:185}],190:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(185),i=e(179);r.StringExpression=class extends n.ExpressionProperty{constructor(e){super(e)}setValue(e){if(super.setValue(void 0),e instanceof i.Expression)super.setValue(e);else{if("string"==typeof e)return e.startsWith("=")?void(this.expressionText=e):(e.startsWith("\\=")&&(e=e.substr(1)),void(this.expressionText=`=\`${e.replace("`","\\`")}\``));if(null!=e)throw new Error("StringExpression accepts string or Expression as the value.")}}}},{179:179,185:185}],426:[function(e,t,r){(function(t){(function(){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r};if(t.env.NODE_DEBUG){var i=t.env.NODE_DEBUG;i=i.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase()}function o(e,t){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(t)?n.showHidden=t:t&&r._extend(n,t),h(n.showHidden)&&(n.showHidden=!1),h(n.depth)&&(n.depth=2),h(n.colors)&&(n.colors=!1),h(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=a),l(n,e,n.depth)}function a(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function s(e,t){return e}function l(e,t,n){if(e.customInspect&&t&&b(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return f(i)||(i=l(e,i,n)),i}var o=function(e,t){if(h(t))return e.stylize("undefined","undefined");if(f(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return function(e){return"number"==typeof e}(t)?e.stylize(""+t,"number"):d(t)?e.stylize(""+t,"boolean"):p(t)?e.stylize("null","null"):void 0}(e,t);if(o)return o;var a=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),g(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return u(t);if(0===a.length){if(b(t)){var y=t.name?": "+t.name:"";return e.stylize("[Function"+y+"]","special")}if(m(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(v(t))return e.stylize(Date.prototype.toString.call(t),"date");if(g(t))return u(t)}var C,_="",T=!1,x=["{","}"];return function(e){return Array.isArray(e)}(t)&&(T=!0,x=["[","]"]),b(t)&&(_=" [Function"+(t.name?": "+t.name:"")+"]"),m(t)&&(_=" "+RegExp.prototype.toString.call(t)),v(t)&&(_=" "+Date.prototype.toUTCString.call(t)),g(t)&&(_=" "+u(t)),0!==a.length||T&&0!=t.length?n<0?m(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),C=T?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a<s;++a)E(t,String(a))?o.push(c(e,t,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(c(e,t,r,n,i,!0))})),o}(e,t,n,s,a):a.map((function(r){return c(e,t,n,s,r,T)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(C,_,x)):x[0]+_+x[1]}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function c(e,t,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),E(n,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=p(r)?l(e,u.value,null):l(e,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),h(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function d(e){return"boolean"==typeof e}function p(e){return null===e}function f(e){return"string"==typeof e}function h(e){return void 0===e}function m(e){return y(e)&&"[object RegExp]"===C(e)}function y(e){return"object"==typeof e&&null!==e}function v(e){return y(e)&&"[object Date]"===C(e)}function g(e){return y(e)&&("[object Error]"===C(e)||e instanceof Error)}function b(e){return"function"==typeof e}function C(e){return Object.prototype.toString.call(e)}function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=e(425),r.types.isRegExp=m,r.types.isDate=v,r.types.isNativeError=g,e(424),e(410),r._extend=function(e,t){if(!t||!y(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var _="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;r.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(_&&e[_]){var t;if("function"!=typeof(t=e[_]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,_,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),_&&Object.defineProperty(t,_,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},r.promisify.custom=_}).call(this)}).call(this,e(422))},{410:410,422:422,424:424,425:425}],420:[function(e,t,r){(function(e){(function(){var n="[object Arguments]",i="[object Map]",o="[object Object]",a="[object Set]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[n]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u[i]=u["[object Number]"]=u[o]=u["[object RegExp]"]=u[a]=u["[object String]"]=u["[object WeakMap]"]=!1;var c="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,p=c||d||Function("return this")(),f="object"==typeof r&&r&&!r.nodeType&&r,h=f&&"object"==typeof t&&t&&!t.nodeType&&t,m=h&&h.exports===f,y=m&&c.process,v=function(){try{return y&&y.binding&&y.binding("util")}catch(e){}}(),g=v&&v.isTypedArray;function b(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function C(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function E(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var _,T,x,S=Array.prototype,O=Function.prototype,w=Object.prototype,A=p["__core-js_shared__"],N=O.toString,P=w.hasOwnProperty,I=(_=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",R=w.toString,L=RegExp("^"+N.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=m?p.Buffer:void 0,M=p.Symbol,D=p.Uint8Array,U=w.propertyIsEnumerable,j=S.splice,F=M?M.toStringTag:void 0,B=Object.getOwnPropertySymbols,z=k?k.isBuffer:void 0,H=(T=Object.keys,x=Object,function(e){return T(x(e))}),q=he(p,"DataView"),V=he(p,"Map"),G=he(p,"Promise"),W=he(p,"Set"),$=he(p,"WeakMap"),Y=he(Object,"create"),K=ge(q),Z=ge(V),X=ge(G),Q=ge(W),J=ge($),ee=M?M.prototype:void 0,te=ee?ee.valueOf:void 0;function re(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ne(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ie(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function oe(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new ie;++t<r;)this.add(e[t])}function ae(e){var t=this.__data__=new ne(e);this.size=t.size}function se(e,t){for(var r=e.length;r--;)if(be(e[r][0],t))return r;return-1}function le(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=P.call(e,F),r=e[F];try{e[F]=void 0;var n=!0}catch(e){}var i=R.call(e);return n&&(t?e[F]=r:delete e[F]),i}(e):function(e){return R.call(e)}(e)}function ue(e){return Oe(e)&&le(e)==n}function ce(e,t,r,s,l){return e===t||(null==e||null==t||!Oe(e)&&!Oe(t)?e!=e&&t!=t:function(e,t,r,s,l,u){var c=Ee(e),d=Ee(t),p=c?"[object Array]":ye(e),f=d?"[object Array]":ye(t),h=(p=p==n?o:p)==o,m=(f=f==n?o:f)==o,y=p==f;if(y&&_e(e)){if(!_e(t))return!1;c=!0,h=!1}if(y&&!h)return u||(u=new ae),c||we(e)?de(e,t,r,s,l,u):function(e,t,r,n,o,s,l){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!s(new D(e),new D(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return be(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var u=C;case a:var c=1&n;if(u||(u=E),e.size!=t.size&&!c)return!1;var d=l.get(e);if(d)return d==t;n|=2,l.set(e,t);var p=de(u(e),u(t),n,o,s,l);return l.delete(e),p;case"[object Symbol]":if(te)return te.call(e)==te.call(t)}return!1}(e,t,p,r,s,l,u);if(!(1&r)){var v=h&&P.call(e,"__wrapped__"),g=m&&P.call(t,"__wrapped__");if(v||g){var b=v?e.value():e,_=g?t.value():t;return u||(u=new ae),l(b,_,r,s,u)}}return!!y&&(u||(u=new ae),function(e,t,r,n,i,o){var a=1&r,s=pe(e),l=s.length;if(l!=pe(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:P.call(t,c)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var p=!0;o.set(e,t),o.set(t,e);for(var f=a;++u<l;){var h=e[c=s[u]],m=t[c];if(n)var y=a?n(m,h,c,t,e,o):n(h,m,c,e,t,o);if(!(void 0===y?h===m||i(h,m,r,n,o):y)){p=!1;break}f||(f="constructor"==c)}if(p&&!f){var v=e.constructor,g=t.constructor;v!=g&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g)&&(p=!1)}return o.delete(e),o.delete(t),p}(e,t,r,s,l,u))}(e,t,r,s,ce,l))}function de(e,t,r,n,i,o){var a=1&r,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,p=2&r?new oe:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],h=t[c];if(n)var m=a?n(h,f,c,t,e,o):n(f,h,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(p){if(!b(t,(function(e,t){if(a=t,!p.has(a)&&(f===e||i(f,e,r,n,o)))return p.push(t);var a}))){d=!1;break}}else if(f!==h&&!i(f,h,r,n,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function pe(e){return function(e,t,r){var n=t(e);return Ee(e)?n:function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}(n,r(e))}(e,Ae,me)}function fe(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function he(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Se(e)||(t=e,I&&I in t))&&(Te(e)?L:s).test(ge(e));var t}(r)?r:void 0}re.prototype.clear=function(){this.__data__=Y?Y(null):{},this.size=0},re.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},re.prototype.get=function(e){var t=this.__data__;if(Y){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return P.call(t,e)?t[e]:void 0},re.prototype.has=function(e){var t=this.__data__;return Y?void 0!==t[e]:P.call(t,e)},re.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Y&&void 0===t?"__lodash_hash_undefined__":t,this},ne.prototype.clear=function(){this.__data__=[],this.size=0},ne.prototype.delete=function(e){var t=this.__data__,r=se(t,e);return!(r<0||(r==t.length-1?t.pop():j.call(t,r,1),--this.size,0))},ne.prototype.get=function(e){var t=this.__data__,r=se(t,e);return r<0?void 0:t[r][1]},ne.prototype.has=function(e){return se(this.__data__,e)>-1},ne.prototype.set=function(e,t){var r=this.__data__,n=se(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},ie.prototype.clear=function(){this.size=0,this.__data__={hash:new re,map:new(V||ne),string:new re}},ie.prototype.delete=function(e){var t=fe(this,e).delete(e);return this.size-=t?1:0,t},ie.prototype.get=function(e){return fe(this,e).get(e)},ie.prototype.has=function(e){return fe(this,e).has(e)},ie.prototype.set=function(e,t){var r=fe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},oe.prototype.add=oe.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},oe.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.clear=function(){this.__data__=new ne,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ne){var n=r.__data__;if(!V||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ie(n)}return r.set(e,t),this.size=r.size,this};var me=B?function(e){return null==e?[]:(e=Object(e),function(t){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];s=a,U.call(e,s)&&(o[i++]=a)}var s;return o}(B(e)))}:function(){return[]},ye=le;function ve(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}function ge(e){if(null!=e){try{return N.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function be(e,t){return e===t||e!=e&&t!=t}(q&&"[object DataView]"!=ye(new q(new ArrayBuffer(1)))||V&&ye(new V)!=i||G&&"[object Promise]"!=ye(G.resolve())||W&&ye(new W)!=a||$&&"[object WeakMap]"!=ye(new $))&&(ye=function(e){var t=le(e),r=t==o?e.constructor:void 0,n=r?ge(r):"";if(n)switch(n){case K:return"[object DataView]";case Z:return i;case X:return"[object Promise]";case Q:return a;case J:return"[object WeakMap]"}return t});var Ce=ue(function(){return arguments}())?ue:function(e){return Oe(e)&&P.call(e,"callee")&&!U.call(e,"callee")},Ee=Array.isArray,_e=z||function(){return!1};function Te(e){if(!Se(e))return!1;var t=le(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Se(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Oe(e){return null!=e&&"object"==typeof e}var we=g?function(e){return function(t){return e(t)}}(g):function(e){return Oe(e)&&xe(e.length)&&!!u[le(e)]};function Ae(e){return null!=(t=e)&&xe(t.length)&&!Te(t)?function(e){var t=Ee(e),r=!t&&Ce(e),n=!t&&!r&&_e(e),i=!t&&!r&&!n&&we(e),o=t||r||n||i,a=o?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],s=a.length;for(var l in e)!P.call(e,l)||o&&("length"==l||n&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ve(l,s))||a.push(l);return a}(e):function(e){if(r=(t=e)&&t.constructor,t!==("function"==typeof r&&r.prototype||w))return H(e);var t,r,n=[];for(var i in Object(e))P.call(e,i)&&"constructor"!=i&&n.push(i);return n}(e);var t}t.exports=function(e,t){return ce(e,t)}}).call(this)}).call(this,void 0!==j?j:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],197:[function(e,t,r){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});const i=e(273),o=e(250),a=e(294),s=e(268),l=n(e(355));class u extends o.Lexer{constructor(e){super(e),this._interp=new a.LexerATNSimulator(u._ATN,this)}get vocabulary(){return u.VOCABULARY}get grammarFileName(){return"CommonRegex.g4"}get ruleNames(){return u.ruleNames}get serializedATN(){return u._serializedATN}get channelNames(){return u.channelNames}get modeNames(){return u.modeNames}static get _ATN(){return u.__ATN||(u.__ATN=(new i.ATNDeserializer).deserialize(l.toCharArray(u._serializedATN))),u.__ATN}}u.Quoted=1,u.BlockQuoted=2,u.BellChar=3,u.ControlChar=4,u.EscapeChar=5,u.FormFeed=6,u.NewLine=7,u.CarriageReturn=8,u.Tab=9,u.Backslash=10,u.HexChar=11,u.Dot=12,u.DecimalDigit=13,u.NotDecimalDigit=14,u.CharWithProperty=15,u.CharWithoutProperty=16,u.WhiteSpace=17,u.NotWhiteSpace=18,u.WordChar=19,u.NotWordChar=20,u.CharacterClassStart=21,u.CharacterClassEnd=22,u.Caret=23,u.Hyphen=24,u.QuestionMark=25,u.Plus=26,u.Star=27,u.OpenBrace=28,u.CloseBrace=29,u.Comma=30,u.EndOfSubject=31,u.Pipe=32,u.OpenParen=33,u.CloseParen=34,u.LessThan=35,u.GreaterThan=36,u.SingleQuote=37,u.Underscore=38,u.Colon=39,u.Hash=40,u.Equals=41,u.Exclamation=42,u.Ampersand=43,u.ALC=44,u.BLC=45,u.CLC=46,u.DLC=47,u.ELC=48,u.FLC=49,u.GLC=50,u.HLC=51,u.ILC=52,u.JLC=53,u.KLC=54,u.LLC=55,u.MLC=56,u.NLC=57,u.OLC=58,u.PLC=59,u.QLC=60,u.RLC=61,u.SLC=62,u.TLC=63,u.ULC=64,u.VLC=65,u.WLC=66,u.XLC=67,u.YLC=68,u.ZLC=69,u.AUC=70,u.BUC=71,u.CUC=72,u.DUC=73,u.EUC=74,u.FUC=75,u.GUC=76,u.HUC=77,u.IUC=78,u.JUC=79,u.KUC=80,u.LUC=81,u.MUC=82,u.NUC=83,u.OUC=84,u.PUC=85,u.QUC=86,u.RUC=87,u.SUC=88,u.TUC=89,u.UUC=90,u.VUC=91,u.WUC=92,u.XUC=93,u.YUC=94,u.ZUC=95,u.D1=96,u.D2=97,u.D3=98,u.D4=99,u.D5=100,u.D6=101,u.D7=102,u.D8=103,u.D9=104,u.D0=105,u.OtherChar=106,u.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],u.modeNames=["DEFAULT_MODE"],u.ruleNames=["Quoted","BlockQuoted","BellChar","ControlChar","EscapeChar","FormFeed","NewLine","CarriageReturn","Tab","Backslash","HexChar","Dot","DecimalDigit","NotDecimalDigit","CharWithProperty","CharWithoutProperty","WhiteSpace","NotWhiteSpace","WordChar","NotWordChar","CharacterClassStart","CharacterClassEnd","Caret","Hyphen","QuestionMark","Plus","Star","OpenBrace","CloseBrace","Comma","EndOfSubject","Pipe","OpenParen","CloseParen","LessThan","GreaterThan","SingleQuote","Underscore","Colon","Hash","Equals","Exclamation","Ampersand","ALC","BLC","CLC","DLC","ELC","FLC","GLC","HLC","ILC","JLC","KLC","LLC","MLC","NLC","OLC","PLC","QLC","RLC","SLC","TLC","ULC","VLC","WLC","XLC","YLC","ZLC","AUC","BUC","CUC","DUC","EUC","FUC","GUC","HUC","IUC","JUC","KUC","LUC","MUC","NUC","OUC","PUC","QUC","RUC","SUC","TUC","UUC","VUC","WUC","XUC","YUC","ZUC","D1","D2","D3","D4","D5","D6","D7","D8","D9","D0","OtherChar","UnderscoreAlphaNumerics","AlphaNumerics","AlphaNumeric","NonAlphaNumeric","HexDigit","ASCII"],u._LITERAL_NAMES=[void 0,void 0,void 0,"'\\'","'\\'","'\\'","'\\'","'\\'","'\\'","'\\'","'\\'",void 0,"'.'","'\\'","'\\'",void 0,void 0,"'\\'","'\\'","'\\'","'\\'","'['","']'","'^'","'-'","'?'","'+'","'*'","'{'","'}'","','","'$'","'|'","'('","')'","'<'","'>'","'''","'_'","':'","'#'","'='","'!'","'&'","'a'","'b'","'c'","'d'","'e'","'f'","'g'","'h'","'i'","'j'","'k'","'l'","'m'","'n'","'o'","'p'","'q'","'r'","'s'","'t'","'u'","'v'","'w'","'x'","'y'","'z'","'A'","'B'","'C'","'D'","'E'","'F'","'G'","'H'","'I'","'J'","'K'","'L'","'M'","'N'","'O'","'P'","'Q'","'R'","'S'","'T'","'U'","'V'","'W'","'X'","'Y'","'Z'","'1'","'2'","'3'","'4'","'5'","'6'","'7'","'8'","'9'","'0'"],u._SYMBOLIC_NAMES=[void 0,"Quoted","BlockQuoted","BellChar","ControlChar","EscapeChar","FormFeed","NewLine","CarriageReturn","Tab","Backslash","HexChar","Dot","DecimalDigit","NotDecimalDigit","CharWithProperty","CharWithoutProperty","WhiteSpace","NotWhiteSpace","WordChar","NotWordChar","CharacterClassStart","CharacterClassEnd","Caret","Hyphen","QuestionMark","Plus","Star","OpenBrace","CloseBrace","Comma","EndOfSubject","Pipe","OpenParen","CloseParen","LessThan","GreaterThan","SingleQuote","Underscore","Colon","Hash","Equals","Exclamation","Ampersand","ALC","BLC","CLC","DLC","ELC","FLC","GLC","HLC","ILC","JLC","KLC","LLC","MLC","NLC","OLC","PLC","QLC","RLC","SLC","TLC","ULC","VLC","WLC","XLC","YLC","ZLC","AUC","BUC","CUC","DUC","EUC","FUC","GUC","HUC","IUC","JUC","KUC","LUC","MUC","NUC","OUC","PUC","QUC","RUC","SUC","TUC","UUC","VUC","WUC","XUC","YUC","ZUC","D1","D2","D3","D4","D5","D6","D7","D8","D9","D0","OtherChar"],u.VOCABULARY=new s.VocabularyImpl(u._LITERAL_NAMES,u._SYMBOLIC_NAMES,[]),u._serializedATN="줝쪺֍꾺体؇쉁lǼ\b\t\t\t\t\t\t\b\t\b\t\t\t\n\t\n\v\t\v\f\t\f\r\t\r\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t !\t!\"\t\"#\t#$\t$%\t%&\t&'\t'(\t()\t)*\t*+\t+,\t,-\t-.\t./\t/0\t01\t12\t23\t34\t45\t56\t67\t78\t89\t9:\t:;\t;<\t<=\t=>\t>?\t?@\t@A\tAB\tBC\tCD\tDE\tEF\tFG\tGH\tHI\tIJ\tJK\tKL\tLM\tMN\tNO\tOP\tPQ\tQR\tRS\tST\tTU\tUV\tVW\tWX\tXY\tYZ\tZ[\t[\\\t\\]\t]^\t^_\t_`\t`a\tab\tbc\tcd\tde\tef\tfg\tgh\thi\tij\tjk\tkl\tlm\tmn\tno\top\tpq\tqë\n\fî\v\b\b\b\t\t\t\n\n\n\v\v\f\f\f\f\f\f\f\f\f\f\fĔ\n\f\r\f\fĕ\f\f\fĚ\n\f\r\r  !!\"\"##$$%%&&''(())**++,,--..//00112233445566778899::;;<<==>>??@@AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYYZZ[[\\\\]]^^__``aabbccddeeffgghhiijjkklllǬ\nl\rllǭmmDZ\nm\rmmDznnooppqqìr\t\v\r\b\t\n\v\f\r!#%')+-/13579;= ?!A\"C#E$G%I&K'M(O)Q*S+U,W-Y.[/]0_1a2c3e4g5i6k7m8o9q:s;u<w=y>{?}@ABƒC…D‡E‰F‹GHI‘J“K•L—M™N›OPŸQ¡R£S¥T§U©V«W­X¯Y±Z³[µ\\·]¹^»_½`¿aÁbÃcÅdÇeÉfËgÍhÏiÑjÓkÕl×ÙÛÝßá2;C\\c|2;CHchǻ\t\v\r!#%')+-/13579;=?ACEGIKMOQSUWY[]_acegikmoqsuwy{}ƒ…‡‰‹‘“•—™›Ÿ¡£¥§©«­¯±³µ·¹»½¿ÁÃÅÇÉËÍÏÑÓÕãæò\tõ\vø\rûþāĄćĉěĝĠģ!Ī#ı%Ĵ'ķ)ĺ+Ľ-Ŀ/Ł1Ń3Ņ5Ň7ʼn9ŋ;ō=ŏ?őAœCŕEŗGřIśKŝMşOšQţSťUŧWũYū[ŭ]ů_űaųcŵeŷgŹiŻkŽmſoƁqƃsƅuƇwƉyƋ{ƍ}ƏƑƓƒƕ…Ɨ‡ƙ‰ƛ‹ƝƟơ‘ƣ“ƥ•Ƨ—Ʃ™ƫ›ƭƯŸƱ¡Ƴ£Ƶ¥Ʒ§ƹ©ƻ«ƽ­ƿ¯ǁ±ǃ³DžµLJ·lj¹Nj»Ǎ½Ǐ¿ǑÁǓÃǕÅǗÇǙÉǛËǝÍǟÏǡÑǣÓǥÕǧ×ǫÙǰÛǴÝǶßǸáǺãä^äåÝoåæç^çèSèìéë\vêéëîìíìêíïîìïð^ðñGñòó^óôcô\bõö^ö÷e÷\nøù^ùúgú\fûü^üýhýþÿ^ÿĀpĀāĂ^Ăăt㥹^ąĆvĆćĈ^ĈĉĊ^ĊċzċęČčßpčĎßpĎĚďĐ}ĐđßpđēßpĒĔßpēĒĔĕĕēĕĖĖėėĘĘĚęČęďĚěĜ0ĜĝĞ^ĞğfğĠġ^ġĢFĢģĤ^ĤĥrĥĦ}ĦħħĨ×lĨĩĩ Īī^īĬRĬĭ}ĭĮĮį×lįİİ\"ıIJ^IJijuij$Ĵĵ^ĵĶUĶ&ķĸ^ĸĹyĹ(ĺĻ^ĻļYļ*Ľľ]ľ,Ŀŀ_ŀ.Łł`ł0Ńń/ń2ŅņAņ4Ňň-ň6ʼnŊ,Ŋ8ŋŌ}Ō:ōŎŎ<ŏŐ.Ő>őŒ&Œ@œŔ~ŔBŕŖ*ŖDŗŘ+ŘFřŚ>ŚHśŜ@ŜJŝŞ)ŞLşŠaŠNšŢ<ŢPţŤ%ŤRťŦ?ŦTŧŨ#ŨVũŪ(ŪXūŬcŬZŭŮdŮ\\ůŰeŰ^űŲfŲ`ųŴgŴbŵŶhŶdŷŸiŸfŹźjźhŻżkżjŽžlžlſƀmƀnƁƂnƂpƃƄoƄrƅƆpƆtƇƈqƈvƉƊrƊxƋƌsƌzƍƎtƎ|ƏƐuƐ~Ƒƒvƒ€ƓƔwƔ‚ƕƖxƖ„ƗƘyƘ†ƙƚzƚˆƛƜ{ƜŠƝƞ|ƞŒƟƠCƠŽơƢDƢƣƤEƤ’ƥƦFƦ”ƧƨGƨ–ƩƪHƪ˜ƫƬIƬšƭƮJƮœƯưKưžƱƲLƲ ƳƴMƴ¢ƵƶNƶ¤ƷƸOƸ¦ƹƺPƺ¨ƻƼQƼªƽƾRƾ¬ƿǀSǀ®ǁǂTǂ°ǃDŽUD޲DždžVdž´LJLjWLj¶ljNJXNJ¸NjnjYnjºǍǎZǎ¼Ǐǐ[ǐ¾Ǒǒ\\ǒÀǓǔ3ǔÂǕǖ4ǖÄǗǘ5ǘÆǙǚ6ǚÈǛǜ7ǜÊǝǞ8ǞÌǟǠ9ǠÎǡǢ:ǢÐǣǤ;ǤÒǥǦ2ǦÔǧǨ\vǨÖǩǬaǪǬÛnǫǩǫǪǬǭǭǫǭǮǮØǯDZÛnǰǯDZDzDzǰDzdzdzÚǴǵ\tǵÜǶǷ\nǷÞǸǹ\tǹàǺǻ\tǻâ\tìĕęǫǭDz",r.CommonRegexLexer=u},{250:250,268:268,273:273,294:294,355:355}],250:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(239),o=e(347),a=e(348),s=e(248),l=e(294),u=e(252),c=e(242),d=e(261),p=e(266);class f extends d.Recognizer{constructor(e){super(),this._factory=i.CommonTokenFactory.DEFAULT,this._tokenStartCharIndex=-1,this._tokenStartLine=0,this._tokenStartCharPositionInLine=0,this._hitEOF=!1,this._channel=0,this._type=0,this._modeStack=new o.IntegerStack,this._mode=f.DEFAULT_MODE,this._input=e,this._tokenFactorySourcePair={source:this,stream:e}}static get DEFAULT_TOKEN_CHANNEL(){return p.Token.DEFAULT_CHANNEL}static get HIDDEN(){return p.Token.HIDDEN_CHANNEL}reset(e){(void 0===e||e)&&this._input.seek(0),this._token=void 0,this._type=p.Token.INVALID_TYPE,this._channel=p.Token.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartCharPositionInLine=-1,this._tokenStartLine=-1,this._text=void 0,this._hitEOF=!1,this._mode=f.DEFAULT_MODE,this._modeStack.clear(),this.interpreter.reset()}nextToken(){if(null==this._input)throw new Error("nextToken requires a non-null input stream.");let e=this._input.mark();try{e:for(;;){if(this._hitEOF)return this.emitEOF();this._token=void 0,this._channel=p.Token.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartCharPositionInLine=this.interpreter.charPositionInLine,this._tokenStartLine=this.interpreter.line,this._text=void 0;do{let e;this._type=p.Token.INVALID_TYPE;try{e=this.interpreter.match(this._input,this._mode)}catch(t){if(!(t instanceof u.LexerNoViableAltException))throw t;this.notifyListeners(t),this.recover(t),e=f.SKIP}if(this._input.LA(1)===s.IntStream.EOF&&(this._hitEOF=!0),this._type===p.Token.INVALID_TYPE&&(this._type=e),this._type===f.SKIP)continue e}while(this._type===f.MORE);return null==this._token?this.emit():this._token}}finally{this._input.release(e)}}skip(){this._type=f.SKIP}more(){this._type=f.MORE}mode(e){this._mode=e}pushMode(e){l.LexerATNSimulator.debug&&console.log("pushMode "+e),this._modeStack.push(this._mode),this.mode(e)}popMode(){if(this._modeStack.isEmpty)throw new Error("EmptyStackException");return l.LexerATNSimulator.debug&&console.log("popMode back to "+this._modeStack.peek()),this.mode(this._modeStack.pop()),this._mode}get tokenFactory(){return this._factory}set tokenFactory(e){this._factory=e}get inputStream(){return this._input}set inputStream(e){this.reset(!1),this._input=e,this._tokenFactorySourcePair={source:this,stream:this._input}}get sourceName(){return this._input.sourceName}emit(e){return e||(e=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.charIndex-1,this._tokenStartLine,this._tokenStartCharPositionInLine)),this._token=e,e}emitEOF(){let e=this.charPositionInLine,t=this.line,r=this._factory.create(this._tokenFactorySourcePair,p.Token.EOF,void 0,p.Token.DEFAULT_CHANNEL,this._input.index,this._input.index-1,t,e);return this.emit(r),r}get line(){return this.interpreter.line}set line(e){this.interpreter.line=e}get charPositionInLine(){return this.interpreter.charPositionInLine}set charPositionInLine(e){this.interpreter.charPositionInLine=e}get charIndex(){return this._input.index}get text(){return null!=this._text?this._text:this.interpreter.getText(this._input)}set text(e){this._text=e}get token(){return this._token}set token(e){this._token=e}set type(e){this._type=e}get type(){return this._type}set channel(e){this._channel=e}get channel(){return this._channel}getAllTokens(){let e=[],t=this.nextToken();for(;t.type!==p.Token.EOF;)e.push(t),t=this.nextToken();return e}notifyListeners(e){let t=this._input.getText(a.Interval.of(this._tokenStartCharIndex,this._input.index)),r="token recognition error at: '"+this.getErrorDisplay(t)+"'",n=this.getErrorListenerDispatch();n.syntaxError&&n.syntaxError(this,void 0,this._tokenStartLine,this._tokenStartCharPositionInLine,r,e)}getErrorDisplay(e){if("number"==typeof e){switch(e){case p.Token.EOF:return"<EOF>";case 10:return"\\n";case 9:return"\\t";case 13:return"\\r"}return String.fromCharCode(e)}return e.replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r")}getCharErrorDisplay(e){return"'"+this.getErrorDisplay(e)+"'"}recover(e){e instanceof u.LexerNoViableAltException?this._input.LA(1)!==s.IntStream.EOF&&this.interpreter.consume(this._input):this._input.consume()}}f.DEFAULT_MODE=0,f.MORE=-2,f.SKIP=-3,f.MIN_CHAR_VALUE=0,f.MAX_CHAR_VALUE=1114111,n([c.Override],f.prototype,"nextToken",null),n([c.Override],f.prototype,"tokenFactory",null),n([c.Override],f.prototype,"inputStream",null),n([c.Override],f.prototype,"sourceName",null),n([c.Override],f.prototype,"line",null),n([c.Override],f.prototype,"charPositionInLine",null),r.Lexer=f},{239:239,242:242,248:248,252:252,261:261,266:266,294:294,347:347,348:348}],268:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(266);class a{constructor(e,t,r){this.literalNames=e,this.symbolicNames=t,this.displayNames=r,this._maxTokenType=Math.max(this.displayNames.length,Math.max(this.literalNames.length,this.symbolicNames.length))-1}get maxTokenType(){return this._maxTokenType}getLiteralName(e){if(e>=0&&e<this.literalNames.length)return this.literalNames[e]}getSymbolicName(e){return e>=0&&e<this.symbolicNames.length?this.symbolicNames[e]:e===o.Token.EOF?"EOF":void 0}getDisplayName(e){if(e>=0&&e<this.displayNames.length){let t=this.displayNames[e];if(t)return t}return this.getLiteralName(e)||this.getSymbolicName(e)||String(e)}}a.EMPTY_VOCABULARY=new a([],[],[]),n([i.NotNull],a.prototype,"literalNames",void 0),n([i.NotNull],a.prototype,"symbolicNames",void 0),n([i.NotNull],a.prototype,"displayNames",void 0),n([i.Override],a.prototype,"maxTokenType",null),n([i.Override],a.prototype,"getLiteralName",null),n([i.Override],a.prototype,"getSymbolicName",null),n([i.Override,i.NotNull],a.prototype,"getDisplayName",null),n([i.NotNull],a,"EMPTY_VOCABULARY",void 0),r.VocabularyImpl=a},{242:242,266:266}],355:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.escapeWhitespace=function(e,t){return t?e.replace(/ /,"·"):e.replace(/\t/,"\\t").replace(/\n/,"\\n").replace(/\r/,"\\r")},r.join=function(e,t){let r="",n=!0;for(let i of e)n?n=!1:r+=t,r+=i;return r},r.equals=function(e,t){return e===t||void 0!==e&&void 0!==t&&e.equals(t)},r.toMap=function(e){let t=new Map;for(let r=0;r<e.length;r++)t.set(e[r],r);return t},r.toCharArray=function(e){if("string"==typeof e){let t=new Uint16Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}return e.toCharArray()}},{}],273:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(278),a=e(340),s=e(269),l=e(272),u=e(276),c=e(280),d=e(281),p=e(282),f=e(343),h=e(283),m=e(284),y=e(289),v=e(334),g=e(290),b=e(349),C=e(292),E=e(296),_=e(297),T=e(299),x=e(300),S=e(301),O=e(302),w=e(303),A=e(304),N=e(306),P=e(242),I=e(307),R=e(310),L=e(311),k=e(312),M=e(313),D=e(315),U=e(320),j=e(321),F=e(322),B=e(323),z=e(325),H=e(327),q=e(329),V=e(328),G=e(266),W=e(330),$=e(354),Y=e(332);var K;!function(e){e[e.UNICODE_BMP=0]="UNICODE_BMP",e[e.UNICODE_SMP=1]="UNICODE_SMP"}(K||(K={}));class Z{constructor(e){null==e&&(e=l.ATNDeserializationOptions.defaultOptions),this.deserializationOptions=e}static get SERIALIZED_VERSION(){return 3}static isFeatureSupported(e,t){let r=Z.SUPPORTED_UUIDS.findIndex((t=>t.equals(e)));return!(r<0)&&Z.SUPPORTED_UUIDS.findIndex((e=>e.equals(t)))>=r}static getUnicodeDeserializer(e){return 0===e?{readUnicode:(e,t)=>Z.toInt(e[t]),size:1}:{readUnicode:(e,t)=>Z.toInt32(e,t),size:2}}deserialize(e){e=e.slice(0);for(let t=1;t<e.length;t++)e[t]=e[t]-2&65535;let t=0,r=Z.toInt(e[t++]);if(r!==Z.SERIALIZED_VERSION){let e=`Could not deserialize ATN with version ${r} (expected ${Z.SERIALIZED_VERSION}).`;throw new Error(e)}let n=Z.toUUID(e,t);if(t+=8,Z.SUPPORTED_UUIDS.findIndex((e=>e.equals(n)))<0){let e=`Could not deserialize ATN with UUID ${n} (expected ${Z.SERIALIZED_UUID} or a legacy UUID).`;throw new Error(e)}let i=Z.isFeatureSupported(Z.ADDED_LEXER_ACTIONS,n),l=Z.toInt(e[t++]),f=Z.toInt(e[t++]),y=new s.ATN(l,f),b=[],E=[],T=Z.toInt(e[t++]);for(let r=0;r<T;r++){let r=Z.toInt(e[t++]);if(r===u.ATNStateType.INVALID_TYPE){y.addState(new C.InvalidState);continue}let n=Z.toInt(e[t++]);65535===n&&(n=-1);let i=this.stateFactory(r,n);if(r===u.ATNStateType.LOOP_END){let r=Z.toInt(e[t++]);b.push([i,r])}else if(i instanceof m.BlockStartState){let r=Z.toInt(e[t++]);E.push([i,r])}y.addState(i)}for(let e of b)e[0].loopBackState=y.states[e[1]];for(let e of E)e[0].endState=y.states[e[1]];let x=Z.toInt(e[t++]);for(let r=0;r<x;r++){let r=Z.toInt(e[t++]);y.states[r].nonGreedy=!0}let S=Z.toInt(e[t++]);for(let r=0;r<S;r++){let r=Z.toInt(e[t++]);y.states[r].sll=!0}let O=Z.toInt(e[t++]);for(let r=0;r<O;r++){let r=Z.toInt(e[t++]);y.states[r].isPrecedenceRule=!0}let w=Z.toInt(e[t++]);0===y.grammarType&&(y.ruleToTokenType=new Int32Array(w)),y.ruleToStartState=new Array(w);for(let r=0;r<w;r++){let i=Z.toInt(e[t++]),o=y.states[i];if(o.leftFactored=0!==Z.toInt(e[t++]),y.ruleToStartState[r]=o,0===y.grammarType){let i=Z.toInt(e[t++]);65535===i&&(i=G.Token.EOF),y.ruleToTokenType[r]=i,Z.isFeatureSupported(Z.ADDED_LEXER_ACTIONS,n)||Z.toInt(e[t++])}}y.ruleToStopState=new Array(w);for(let e of y.states)e instanceof F.RuleStopState&&(y.ruleToStopState[e.ruleIndex]=e,y.ruleToStartState[e.ruleIndex].stopState=e);let A=Z.toInt(e[t++]);for(let r=0;r<A;r++){let r=Z.toInt(e[t++]);y.modeToStartState.push(y.states[r])}y.modeToDFA=new Array(A);for(let e=0;e<A;e++)y.modeToDFA[e]=new v.DFA(y.modeToStartState[e]);let P=[];t=this.deserializeSets(e,t,P,Z.getUnicodeDeserializer(0)),Z.isFeatureSupported(Z.ADDED_UNICODE_SMP,n)&&(t=this.deserializeSets(e,t,P,Z.getUnicodeDeserializer(1)));let I=Z.toInt(e[t++]);for(let r=0;r<I;r++){let r=Z.toInt(e[t]),n=Z.toInt(e[t+1]),i=Z.toInt(e[t+2]),o=Z.toInt(e[t+3]),a=Z.toInt(e[t+4]),s=Z.toInt(e[t+5]),l=this.edgeFactory(y,i,r,n,o,a,s,P);y.states[r].addTransition(l),t+=6}let R=new a.Array2DHashSet({hashCode:e=>e.stopState^e.returnState^e.outermostPrecedenceReturn,equals:(e,t)=>e.stopState===t.stopState&&e.returnState===t.returnState&&e.outermostPrecedenceReturn===t.outermostPrecedenceReturn}),M=[];for(let e of y.states){let t=e.ruleIndex>=0&&y.ruleToStartState[e.ruleIndex].leftFactored;for(let r=0;r<e.numberOfTransitions;r++){let n=e.transition(r);if(!(n instanceof B.RuleTransition))continue;let i=n;if(!y.ruleToStartState[i.target.ruleIndex].leftFactored&&t)continue;let o=-1;y.ruleToStartState[i.target.ruleIndex].isPrecedenceRule&&0===i.precedence&&(o=i.target.ruleIndex);let a={stopState:i.target.ruleIndex,returnState:i.followState.stateNumber,outermostPrecedenceReturn:o};R.add(a)&&M.push(a)}}for(let e of M){let t=new g.EpsilonTransition(y.states[e.returnState],e.outermostPrecedenceReturn);y.ruleToStopState[e.stopState].addTransition(t)}for(let e of y.states){if(e instanceof m.BlockStartState){if(null==e.endState)throw new Error("IllegalStateException");if(null!=e.endState.startState)throw new Error("IllegalStateException");e.endState.startState=e}if(e instanceof k.PlusLoopbackState){let t=e;for(let e=0;e<t.numberOfTransitions;e++){let r=t.transition(e).target;r instanceof L.PlusBlockStartState&&(r.loopBackState=t)}}else if(e instanceof q.StarLoopbackState){let t=e;for(let e=0;e<t.numberOfTransitions;e++){let r=t.transition(e).target;r instanceof V.StarLoopEntryState&&(r.loopBackState=t)}}}let D=Z.toInt(e[t++]);for(let r=1;r<=D;r++){let n=Z.toInt(e[t++]),i=y.states[n];y.decisionToState.push(i),i.decision=r-1}if(0===y.grammarType)if(i){y.lexerActions=new Array(Z.toInt(e[t++]));for(let r=0;r<y.lexerActions.length;r++){let n=Z.toInt(e[t++]),i=Z.toInt(e[t++]);65535===i&&(i=-1);let o=Z.toInt(e[t++]);65535===o&&(o=-1);let a=this.lexerActionFactory(n,i,o);y.lexerActions[r]=a}}else{let e=[];for(let t of y.states)for(let r=0;r<t.numberOfTransitions;r++){let n=t.transition(r);if(!(n instanceof o.ActionTransition))continue;let i=n.ruleIndex,a=n.actionIndex,s=new _.LexerCustomAction(i,a);t.setTransition(r,new o.ActionTransition(n.target,i,e.length,!1)),e.push(s)}y.lexerActions=e}this.markPrecedenceDecisions(y),y.decisionToDFA=new Array(D);for(let e=0;e<D;e++)y.decisionToDFA[e]=new v.DFA(y.decisionToState[e],e);if(this.deserializationOptions.isVerifyATN&&this.verifyATN(y),this.deserializationOptions.isGenerateRuleBypassTransitions&&1===y.grammarType){y.ruleToTokenType=new Int32Array(y.ruleToStartState.length);for(let e=0;e<y.ruleToStartState.length;e++)y.ruleToTokenType[e]=y.maxTokenType+e+1;for(let e=0;e<y.ruleToStartState.length;e++){let t=new d.BasicBlockStartState;t.ruleIndex=e,y.addState(t);let r,n,i=new h.BlockEndState;if(i.ruleIndex=e,y.addState(i),t.endState=i,y.defineDecisionState(t),i.startState=t,y.ruleToStartState[e].isPrecedenceRule){r=void 0;for(let t of y.states){if(t.ruleIndex!==e)continue;if(!(t instanceof V.StarLoopEntryState))continue;let n=t.transition(t.numberOfTransitions-1).target;if(n instanceof N.LoopEndState&&n.epsilonOnlyTransitions&&n.transition(0).target instanceof F.RuleStopState){r=t;break}}if(!r)throw new Error("Couldn't identify final state of the precedence rule prefix section.");n=r.loopBackState.transition(0)}else r=y.ruleToStopState[e];for(let e of y.states)for(let t=0;t<e.numberOfTransitions;t++){let o=e.transition(t);o!==n&&o.target===r&&(o.target=i)}for(;y.ruleToStartState[e].numberOfTransitions>0;){let r=y.ruleToStartState[e].removeTransition(y.ruleToStartState[e].numberOfTransitions-1);t.addTransition(r)}y.ruleToStartState[e].addTransition(new g.EpsilonTransition(t)),i.addTransition(new g.EpsilonTransition(r));let o=new p.BasicState;y.addState(o),o.addTransition(new c.AtomTransition(i,y.ruleToTokenType[e])),t.addTransition(new g.EpsilonTransition(o))}this.deserializationOptions.isVerifyATN&&this.verifyATN(y)}if(this.deserializationOptions.isOptimize){for(;;){let e=0;e+=Z.inlineSetRules(y),e+=Z.combineChainedEpsilons(y);let t=0===y.grammarType;if(0===(e+=Z.optimizeSets(y,t)))break}this.deserializationOptions.isVerifyATN&&this.verifyATN(y)}return Z.identifyTailCalls(y),y}deserializeSets(e,t,r,n){let i=Z.toInt(e[t++]);for(let o=0;o<i;o++){let i=Z.toInt(e[t]);t++;let o=new b.IntervalSet;r.push(o),0!==Z.toInt(e[t++])&&o.add(-1);for(let r=0;r<i;r++){let r=n.readUnicode(e,t);t+=n.size;let i=n.readUnicode(e,t);t+=n.size,o.add(r,i)}}return t}markPrecedenceDecisions(e){let t=new Map;for(let r of e.states)if(r instanceof V.StarLoopEntryState&&e.ruleToStartState[r.ruleIndex].isPrecedenceRule){let n=r.transition(r.numberOfTransitions-1).target;n instanceof N.LoopEndState&&n.epsilonOnlyTransitions&&n.transition(0).target instanceof F.RuleStopState&&(t.set(r.ruleIndex,r),r.precedenceRuleDecision=!0,r.precedenceLoopbackStates=new f.BitSet(e.states.length))}for(let r of t)for(let t of e.ruleToStopState[r[0]].getTransitions())1===t.serializationType&&-1===t.outermostPrecedenceReturn&&r[1].precedenceLoopbackStates.set(t.target.stateNumber)}verifyATN(e){for(let t of e.states)if(this.checkCondition(null!=t,"ATN states should not be null."),t.stateType!==u.ATNStateType.INVALID_TYPE){if(this.checkCondition(t.onlyHasEpsilonTransitions||t.numberOfTransitions<=1),t instanceof L.PlusBlockStartState&&this.checkCondition(null!=t.loopBackState),t instanceof V.StarLoopEntryState){let e=t;if(this.checkCondition(null!=e.loopBackState),this.checkCondition(2===e.numberOfTransitions),e.transition(0).target instanceof H.StarBlockStartState)this.checkCondition(e.transition(1).target instanceof N.LoopEndState),this.checkCondition(!e.nonGreedy);else{if(!(e.transition(0).target instanceof N.LoopEndState))throw new Error("IllegalStateException");this.checkCondition(e.transition(1).target instanceof H.StarBlockStartState),this.checkCondition(e.nonGreedy)}}if(t instanceof q.StarLoopbackState&&(this.checkCondition(1===t.numberOfTransitions),this.checkCondition(t.transition(0).target instanceof V.StarLoopEntryState)),t instanceof N.LoopEndState&&this.checkCondition(null!=t.loopBackState),t instanceof j.RuleStartState&&this.checkCondition(null!=t.stopState),t instanceof m.BlockStartState&&this.checkCondition(null!=t.endState),t instanceof h.BlockEndState&&this.checkCondition(null!=t.startState),t instanceof y.DecisionState){let e=t;this.checkCondition(e.numberOfTransitions<=1||e.decision>=0)}else this.checkCondition(t.numberOfTransitions<=1||t instanceof F.RuleStopState)}}checkCondition(e,t){if(!e)throw new Error("IllegalStateException: "+t)}static inlineSetRules(e){let t=0,r=new Array(e.ruleToStartState.length);for(let t=0;t<e.ruleToStartState.length;t++){let n=e.ruleToStartState[t];for(;n.onlyHasEpsilonTransitions&&1===n.numberOfOptimizedTransitions&&1===n.getOptimizedTransition(0).serializationType;)n=n.getOptimizedTransition(0).target;if(1!==n.numberOfOptimizedTransitions)continue;let i=n.getOptimizedTransition(0),o=i.target;if(!i.isEpsilon&&o.onlyHasEpsilonTransitions&&1===o.numberOfOptimizedTransitions&&o.getOptimizedTransition(0).target instanceof F.RuleStopState)switch(i.serializationType){case 5:case 2:case 7:r[t]=i;break;default:continue}}for(let n of e.states){if(n.ruleIndex<0)continue;let i;for(let o=0;o<n.numberOfOptimizedTransitions;o++){let a=n.getOptimizedTransition(o);if(!(a instanceof B.RuleTransition)){null!=i&&i.push(a);continue}let s=a,l=r[s.target.ruleIndex];if(null==l){null!=i&&i.push(a);continue}if(null==i){i=[];for(let e=0;e<o;e++)i.push(n.getOptimizedTransition(o))}t++;let u=s.followState,d=new p.BasicState;switch(d.setRuleIndex(u.ruleIndex),e.addState(d),i.push(new g.EpsilonTransition(d)),l.serializationType){case 5:d.addTransition(new c.AtomTransition(u,l._label));break;case 2:d.addTransition(new U.RangeTransition(u,l.from,l.to));break;case 7:d.addTransition(new z.SetTransition(u,l.label));break;default:throw new Error("UnsupportedOperationException")}}if(null!=i){if(n.isOptimized)for(;n.numberOfOptimizedTransitions>0;)n.removeOptimizedTransition(n.numberOfOptimizedTransitions-1);for(let e of i)n.addOptimizedTransition(e)}}return R.ParserATNSimulator.debug&&console.log("ATN runtime optimizer removed "+t+" rule invocations by inlining sets."),t}static combineChainedEpsilons(e){let t=0;for(let r of e.states){if(!r.onlyHasEpsilonTransitions||r instanceof F.RuleStopState)continue;let e;e:for(let n=0;n<r.numberOfOptimizedTransitions;n++){let i=r.getOptimizedTransition(n),o=i.target;if(1===i.serializationType&&-1===i.outermostPrecedenceReturn&&o.stateType===u.ATNStateType.BASIC&&o.onlyHasEpsilonTransitions){for(let t=0;t<o.numberOfOptimizedTransitions;t++)if(1!==o.getOptimizedTransition(t).serializationType||-1!==o.getOptimizedTransition(t).outermostPrecedenceReturn){null!=e&&e.push(i);continue e}if(t++,null==e){e=[];for(let t=0;t<n;t++)e.push(r.getOptimizedTransition(t))}for(let t=0;t<o.numberOfOptimizedTransitions;t++){let r=o.getOptimizedTransition(t).target;e.push(new g.EpsilonTransition(r))}}else null!=e&&e.push(i)}if(null!=e){if(r.isOptimized)for(;r.numberOfOptimizedTransitions>0;)r.removeOptimizedTransition(r.numberOfOptimizedTransitions-1);for(let t of e)r.addOptimizedTransition(t)}}return R.ParserATNSimulator.debug&&console.log("ATN runtime optimizer removed "+t+" transitions by combining chained epsilon transitions."),t}static optimizeSets(e,t){if(t)return 0;let r=0,n=e.decisionToState;for(let t of n){let n=new b.IntervalSet;for(let e=0;e<t.numberOfOptimizedTransitions;e++){let r=t.getOptimizedTransition(e);if(!(r instanceof g.EpsilonTransition))continue;if(1!==r.target.numberOfOptimizedTransitions)continue;let i=r.target.getOptimizedTransition(0);i.target instanceof h.BlockEndState&&(i instanceof I.NotSetTransition||(i instanceof c.AtomTransition||i instanceof U.RangeTransition||i instanceof z.SetTransition)&&n.add(e))}if(n.size<=1)continue;let i=[];for(let e=0;e<t.numberOfOptimizedTransitions;e++)n.contains(e)||i.push(t.getOptimizedTransition(e));let o,a=t.getOptimizedTransition(n.minElement).target.getOptimizedTransition(0).target,s=new b.IntervalSet;for(let e of n.intervals)for(let r=e.a;r<=e.b;r++){let e=t.getOptimizedTransition(r).target.getOptimizedTransition(0);if(e instanceof I.NotSetTransition)throw new Error("Not yet implemented.");s.addAll(e.label)}if(1===s.intervals.length)if(1===s.size)o=new c.AtomTransition(a,s.minElement);else{let e=s.intervals[0];o=new U.RangeTransition(a,e.a,e.b)}else o=new z.SetTransition(a,s);let l=new p.BasicState;if(l.setRuleIndex(t.ruleIndex),e.addState(l),l.addTransition(o),i.push(new g.EpsilonTransition(l)),r+=t.numberOfOptimizedTransitions-i.length,t.isOptimized)for(;t.numberOfOptimizedTransitions>0;)t.removeOptimizedTransition(t.numberOfOptimizedTransitions-1);for(let e of i)t.addOptimizedTransition(e)}return R.ParserATNSimulator.debug&&console.log("ATN runtime optimizer removed "+r+" paths by collapsing sets."),r}static identifyTailCalls(e){for(let t of e.states){for(let r=0;r<t.numberOfTransitions;r++){let n=t.transition(r);n instanceof B.RuleTransition&&(n.tailCall=this.testTailCall(e,n,!1),n.optimizedTailCall=this.testTailCall(e,n,!0))}if(t.isOptimized)for(let r=0;r<t.numberOfOptimizedTransitions;r++){let n=t.getOptimizedTransition(r);n instanceof B.RuleTransition&&(n.tailCall=this.testTailCall(e,n,!1),n.optimizedTailCall=this.testTailCall(e,n,!0))}}}static testTailCall(e,t,r){if(!r&&t.tailCall)return!0;if(r&&t.optimizedTailCall)return!0;let n=new f.BitSet(e.states.length),i=[];for(i.push(t.followState);;){let e=i.pop();if(!e)break;if(n.get(e.stateNumber))continue;if(e instanceof F.RuleStopState)continue;if(!e.onlyHasEpsilonTransitions)return!1;let t=r?e.numberOfOptimizedTransitions:e.numberOfTransitions;for(let n=0;n<t;n++){let t=r?e.getOptimizedTransition(n):e.transition(n);if(1!==t.serializationType)return!1;i.push(t.target)}}return!0}static toInt(e){return e}static toInt32(e,t){return(e[t]|e[t+1]<<16)>>>0}static toUUID(e,t){let r=Z.toInt32(e,t),n=Z.toInt32(e,t+2),i=Z.toInt32(e,t+4),o=Z.toInt32(e,t+6);return new $.UUID(o,i,n,r)}edgeFactory(e,t,r,n,i,a,s,l){let u=e.states[n];switch(t){case 1:return new g.EpsilonTransition(u);case 2:return 0!==s?new U.RangeTransition(u,G.Token.EOF,a):new U.RangeTransition(u,i,a);case 3:return new B.RuleTransition(e.states[i],a,s,u);case 4:return new D.PredicateTransition(u,i,a,0!==s);case 10:return new M.PrecedencePredicateTransition(u,i);case 5:return 0!==s?new c.AtomTransition(u,G.Token.EOF):new c.AtomTransition(u,i);case 6:return new o.ActionTransition(u,i,a,0!==s);case 7:return new z.SetTransition(u,l[i]);case 8:return new I.NotSetTransition(u,l[i]);case 9:return new Y.WildcardTransition(u)}throw new Error("The specified transition type is not valid.")}stateFactory(e,t){let r;switch(e){case u.ATNStateType.INVALID_TYPE:return new C.InvalidState;case u.ATNStateType.BASIC:r=new p.BasicState;break;case u.ATNStateType.RULE_START:r=new j.RuleStartState;break;case u.ATNStateType.BLOCK_START:r=new d.BasicBlockStartState;break;case u.ATNStateType.PLUS_BLOCK_START:r=new L.PlusBlockStartState;break;case u.ATNStateType.STAR_BLOCK_START:r=new H.StarBlockStartState;break;case u.ATNStateType.TOKEN_START:r=new W.TokensStartState;break;case u.ATNStateType.RULE_STOP:r=new F.RuleStopState;break;case u.ATNStateType.BLOCK_END:r=new h.BlockEndState;break;case u.ATNStateType.STAR_LOOP_BACK:r=new q.StarLoopbackState;break;case u.ATNStateType.STAR_LOOP_ENTRY:r=new V.StarLoopEntryState;break;case u.ATNStateType.PLUS_LOOP_BACK:r=new k.PlusLoopbackState;break;case u.ATNStateType.LOOP_END:r=new N.LoopEndState;break;default:throw new Error(`The specified state type ${e} is not valid.`)}return r.ruleIndex=t,r}lexerActionFactory(e,t,r){switch(e){case 0:return new E.LexerChannelAction(t);case 1:return new _.LexerCustomAction(t,r);case 2:return new T.LexerModeAction(t);case 3:return x.LexerMoreAction.INSTANCE;case 4:return S.LexerPopModeAction.INSTANCE;case 5:return new O.LexerPushModeAction(t);case 6:return w.LexerSkipAction.INSTANCE;case 7:return new A.LexerTypeAction(t);default:throw new Error(`The specified lexer action type ${e} is not valid.`)}}}Z.BASE_SERIALIZED_UUID=$.UUID.fromString("E4178468-DF95-44D0-AD87-F22A5D5FB6D3"),Z.ADDED_LEXER_ACTIONS=$.UUID.fromString("AB35191A-1603-487E-B75A-479B831EAF6D"),Z.ADDED_UNICODE_SMP=$.UUID.fromString("C23FEA89-0605-4f51-AFB8-058BCAB8C91B"),Z.SUPPORTED_UUIDS=[Z.BASE_SERIALIZED_UUID,Z.ADDED_LEXER_ACTIONS,Z.ADDED_UNICODE_SMP],Z.SERIALIZED_UUID=Z.ADDED_UNICODE_SMP,n([P.NotNull],Z.prototype,"deserializationOptions",void 0),n([i(0,P.NotNull)],Z.prototype,"deserialize",null),n([i(0,P.NotNull)],Z.prototype,"markPrecedenceDecisions",null),n([P.NotNull,i(0,P.NotNull)],Z.prototype,"edgeFactory",null),r.ATNDeserializer=Z},{242:242,266:266,269:269,272:272,276:276,278:278,280:280,281:281,282:282,283:283,284:284,289:289,290:290,292:292,296:296,297:297,299:299,300:300,301:301,302:302,303:303,304:304,306:306,307:307,310:310,311:311,312:312,313:313,315:315,320:320,321:321,322:322,323:323,325:325,327:327,328:328,329:329,330:330,332:332,334:334,340:340,343:343,349:349,354:354}],294:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(333),a=e(269),s=e(270),l=e(271),u=e(274),c=e(336),d=e(348),p=e(248),f=e(250),h=e(295),m=e(252),y=e(242),v=e(308),g=e(316),b=e(322),C=e(266);let E=class e extends u.ATNSimulator{constructor(t,r){super(t),this.optimize_tail_calls=!0,this.startIndex=-1,this._line=1,this._charPositionInLine=0,this.mode=f.Lexer.DEFAULT_MODE,this.prevAccept=new e.SimState,this.recog=r}copyState(e){this._charPositionInLine=e.charPositionInLine,this._line=e._line,this.mode=e.mode,this.startIndex=e.startIndex}match(t,r){e.match_calls++,this.mode=r;let n=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();let e=this.atn.modeToDFA[r].s0;return null==e?this.matchATN(t):this.execATN(t,e)}finally{t.release(n)}}reset(){this.prevAccept.reset(),this.startIndex=-1,this._line=1,this._charPositionInLine=0,this.mode=f.Lexer.DEFAULT_MODE}matchATN(t){let r=this.atn.modeToStartState[this.mode];e.debug&&console.log(`matchATN mode ${this.mode} start: ${r}`);let n=this.mode,i=this.computeStartState(t,r),o=i.hasSemanticContext;o&&(i.hasSemanticContext=!1);let a=this.addDFAState(i);if(!o){let e=this.atn.modeToDFA[this.mode];e.s0?a=e.s0:e.s0=a}let s=this.execATN(t,a);return e.debug&&console.log("DFA after matchATN: "+this.atn.modeToDFA[n].toLexerString()),s}execATN(t,r){e.debug&&console.log("start state closure="+r.configs),r.isAcceptState&&this.captureSimState(this.prevAccept,t,r);let n=t.LA(1),i=r;for(;;){e.debug&&console.log("execATN loop starting closure: "+i.configs);let r=this.getExistingTargetState(i,n);if(null==r&&(r=this.computeTargetState(t,i,n)),r===u.ATNSimulator.ERROR)break;if(n!==p.IntStream.EOF&&this.consume(t),r.isAcceptState&&(this.captureSimState(this.prevAccept,t,r),n===p.IntStream.EOF))break;n=t.LA(1),i=r}return this.failOrAccept(this.prevAccept,t,i.configs,n)}getExistingTargetState(t,r){let n=t.getTarget(r);return e.debug&&null!=n&&console.log("reuse state "+t.stateNumber+" edge to "+n.stateNumber),n}computeTargetState(e,t,r){let n=new v.OrderedATNConfigSet;return this.getReachableConfigSet(e,t.configs,n,r),n.isEmpty?(n.hasSemanticContext||this.addDFAEdge(t,r,u.ATNSimulator.ERROR),u.ATNSimulator.ERROR):this.addDFAEdge(t,r,n)}failOrAccept(e,t,r,n){if(null!=e.dfaState){let r=e.dfaState.lexerActionExecutor;return this.accept(t,r,this.startIndex,e.index,e.line,e.charPos),e.dfaState.prediction}if(n===p.IntStream.EOF&&t.index===this.startIndex)return C.Token.EOF;throw new m.LexerNoViableAltException(this.recog,t,this.startIndex,r)}getReachableConfigSet(t,r,n,i){let o=a.ATN.INVALID_ALT_NUMBER;for(let a of r){let r=a.alt===o;if(r&&a.hasPassedThroughNonGreedyDecision)continue;e.debug&&console.log(`testing ${this.getTokenName(i)} at ${a.toString(this.recog,!0)}`);let s=a.state.numberOfOptimizedTransitions;for(let e=0;e<s;e++){let s=a.state.getOptimizedTransition(e),l=this.getReachableTarget(s,i);if(null!=l){let e,s=a.lexerActionExecutor;null!=s?(s=s.fixOffsetBeforeMatch(t.index-this.startIndex),e=a.transform(l,!0,s)):e=a.transform(l,!0);let u=i===p.IntStream.EOF;if(this.closure(t,e,n,r,!0,u)){o=a.alt;break}}}}}accept(t,r,n,i,o,a){e.debug&&console.log("ACTION "+r),t.seek(i),this._line=o,this._charPositionInLine=a,null!=r&&null!=this.recog&&r.execute(this.recog,t,n)}getReachableTarget(e,t){if(e.matches(t,f.Lexer.MIN_CHAR_VALUE,f.Lexer.MAX_CHAR_VALUE))return e.target}computeStartState(e,t){let r=g.PredictionContext.EMPTY_FULL,n=new v.OrderedATNConfigSet;for(let i=0;i<t.numberOfTransitions;i++){let o=t.transition(i).target,a=s.ATNConfig.create(o,i+1,r);this.closure(e,a,n,!1,!1,!1)}return n}closure(t,r,n,i,o,a){if(e.debug&&console.log("closure("+r.toString(this.recog,!0)+")"),r.state instanceof b.RuleStopState){e.debug&&(null!=this.recog?console.log(`closure at ${this.recog.ruleNames[r.state.ruleIndex]} rule stop ${r}`):console.log("closure at rule stop "+r));let s=r.context;if(s.isEmpty)return n.add(r),!0;s.hasEmpty&&(n.add(r.transform(r.state,!0,g.PredictionContext.EMPTY_FULL)),i=!0);for(let e=0;e<s.size;e++){let l=s.getReturnState(e);if(l===g.PredictionContext.EMPTY_FULL_STATE_KEY)continue;let u=s.getParent(e),c=this.atn.states[l],d=r.transform(c,!1,u);i=this.closure(t,d,n,i,o,a)}return i}r.state.onlyHasEpsilonTransitions||i&&r.hasPassedThroughNonGreedyDecision||n.add(r);let s=r.state;for(let e=0;e<s.numberOfOptimizedTransitions;e++){let l=s.getOptimizedTransition(e),u=this.getEpsilonTarget(t,r,l,n,o,a);null!=u&&(i=this.closure(t,u,n,i,o,a))}return i}getEpsilonTarget(t,r,n,i,o,a){let s;switch(n.serializationType){case 3:let l=n;if(this.optimize_tail_calls&&l.optimizedTailCall&&!r.context.hasEmpty)s=r.transform(n.target,!0);else{let e=r.context.getChild(l.followState.stateNumber);s=r.transform(n.target,!0,e)}break;case 10:throw new Error("Precedence predicates are not supported in lexers.");case 4:let u=n;e.debug&&console.log("EVAL rule "+u.ruleIndex+":"+u.predIndex),i.hasSemanticContext=!0,s=this.evaluatePredicate(t,u.ruleIndex,u.predIndex,o)?r.transform(n.target,!0):void 0;break;case 6:if(r.context.hasEmpty){let e=h.LexerActionExecutor.append(r.lexerActionExecutor,this.atn.lexerActions[n.actionIndex]);s=r.transform(n.target,!0,e);break}s=r.transform(n.target,!0);break;case 1:s=r.transform(n.target,!0);break;case 5:case 2:case 7:if(a&&n.matches(p.IntStream.EOF,f.Lexer.MIN_CHAR_VALUE,f.Lexer.MAX_CHAR_VALUE)){s=r.transform(n.target,!1);break}s=void 0;break;default:s=void 0}return s}evaluatePredicate(e,t,r,n){if(null==this.recog)return!0;if(!n)return this.recog.sempred(void 0,t,r);let i=this._charPositionInLine,o=this._line,a=e.index,s=e.mark();try{return this.consume(e),this.recog.sempred(void 0,t,r)}finally{this._charPositionInLine=i,this._line=o,e.seek(a),e.release(s)}}captureSimState(e,t,r){e.index=t.index,e.line=this._line,e.charPos=this._charPositionInLine,e.dfaState=r}addDFAEdge(t,r,n){if(n instanceof l.ATNConfigSet){let e=n.hasSemanticContext;e&&(n.hasSemanticContext=!1);let i=this.addDFAState(n);return e||this.addDFAEdge(t,r,i),i}e.debug&&console.log("EDGE "+t+" -> "+n+" upon "+String.fromCharCode(r)),null!=t&&t.setTarget(r,n)}addDFAState(e){let t=new c.DFAState(e),r=this.atn.modeToDFA[this.mode].states.get(t);if(null!=r)return r;e.optimizeConfigs(this);let n,i=new c.DFAState(e.clone(!0));for(let t of e)if(t.state instanceof b.RuleStopState){n=t;break}if(null!=n){let e=this.atn.ruleToTokenType[n.state.ruleIndex],t=n.lexerActionExecutor;i.acceptStateInfo=new o.AcceptStateInfo(e,t)}return this.atn.modeToDFA[this.mode].addState(i)}getDFA(e){return this.atn.modeToDFA[e]}getText(e){return e.getText(d.Interval.of(this.startIndex,e.index-1))}get line(){return this._line}set line(e){this._line=e}get charPositionInLine(){return this._charPositionInLine}set charPositionInLine(e){this._charPositionInLine=e}consume(e){e.LA(1)==="\n".charCodeAt(0)?(this._line++,this._charPositionInLine=0):this._charPositionInLine++,e.consume()}getTokenName(e){return-1===e?"EOF":"'"+String.fromCharCode(e)+"'"}};E.match_calls=0,n([y.NotNull],E.prototype,"prevAccept",void 0),n([i(0,y.NotNull)],E.prototype,"copyState",null),n([i(0,y.NotNull)],E.prototype,"match",null),n([y.Override],E.prototype,"reset",null),n([i(0,y.NotNull)],E.prototype,"matchATN",null),n([i(0,y.NotNull),i(1,y.NotNull)],E.prototype,"execATN",null),n([i(0,y.NotNull)],E.prototype,"getExistingTargetState",null),n([y.NotNull,i(0,y.NotNull),i(1,y.NotNull)],E.prototype,"computeTargetState",null),n([i(0,y.NotNull),i(1,y.NotNull),i(2,y.NotNull)],E.prototype,"getReachableConfigSet",null),n([i(0,y.NotNull)],E.prototype,"accept",null),n([y.NotNull,i(0,y.NotNull),i(1,y.NotNull)],E.prototype,"computeStartState",null),n([i(0,y.NotNull),i(1,y.NotNull),i(2,y.NotNull)],E.prototype,"closure",null),n([i(0,y.NotNull),i(1,y.NotNull),i(2,y.NotNull),i(3,y.NotNull)],E.prototype,"getEpsilonTarget",null),n([i(0,y.NotNull)],E.prototype,"evaluatePredicate",null),n([i(0,y.NotNull),i(1,y.NotNull),i(2,y.NotNull)],E.prototype,"captureSimState",null),n([y.NotNull,i(0,y.NotNull)],E.prototype,"addDFAState",null),n([y.NotNull],E.prototype,"getDFA",null),n([y.NotNull,i(0,y.NotNull)],E.prototype,"getText",null),n([i(0,y.NotNull)],E.prototype,"consume",null),n([y.NotNull],E.prototype,"getTokenName",null),E=n([i(0,y.NotNull)],E),r.LexerATNSimulator=E,function(e){e.debug=!1,e.dfa_debug=!1,e.SimState=class{constructor(){this.index=-1,this.line=0,this.charPos=-1}reset(){this.index=-1,this.line=0,this.charPos=-1,this.dfaState=void 0}}}(E=r.LexerATNSimulator||(r.LexerATNSimulator={})),r.LexerATNSimulator=E},{242:242,248:248,250:250,252:252,266:266,269:269,270:270,271:271,274:274,295:295,308:308,316:316,322:322,333:333,336:336,348:348}],198:[function(e,t,r){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});const i=e(273),o=e(254),a=e(255),s=e(257),l=e(310),u=e(260),c=e(266),d=e(268),p=n(e(355));class f extends a.Parser{constructor(e){super(e),this._interp=new l.ParserATNSimulator(f._ATN,this)}get vocabulary(){return f.VOCABULARY}get grammarFileName(){return"CommonRegex.g4"}get ruleNames(){return f.ruleNames}get serializedATN(){return f._serializedATN}parse(){let e=new h(this._ctx,this.state);this.enterRule(e,0,f.RULE_parse);try{this.enterOuterAlt(e,1),this.state=54,this.alternation(),this.state=55,this.match(f.EOF)}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}alternation(){let e,t=new m(this._ctx,this.state);this.enterRule(t,2,f.RULE_alternation);try{for(this.enterOuterAlt(t,1),this.state=57,this.expr(),this.state=62,this._errHandler.sync(this),e=this._input.LA(1);e===f.Pipe;)this.state=58,this.match(f.Pipe),this.state=59,this.expr(),this.state=64,this._errHandler.sync(this),e=this._input.LA(1)}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}expr(){let e,t=new y(this._ctx,this.state);this.enterRule(t,4,f.RULE_expr);try{for(this.enterOuterAlt(t,1),this.state=68,this._errHandler.sync(this),e=this._input.LA(1);!(-32&e)&&1<<e&(1<<f.Quoted|1<<f.BlockQuoted|1<<f.BellChar|1<<f.ControlChar|1<<f.EscapeChar|1<<f.FormFeed|1<<f.NewLine|1<<f.CarriageReturn|1<<f.Tab|1<<f.Backslash|1<<f.HexChar|1<<f.Dot|1<<f.DecimalDigit|1<<f.NotDecimalDigit|1<<f.CharWithProperty|1<<f.CharWithoutProperty|1<<f.WhiteSpace|1<<f.NotWhiteSpace|1<<f.WordChar|1<<f.NotWordChar|1<<f.CharacterClassStart|1<<f.CharacterClassEnd|1<<f.Caret|1<<f.Hyphen|1<<f.OpenBrace|1<<f.CloseBrace|1<<f.Comma|1<<f.EndOfSubject)||!(e-33&-32)&&1<<e-33&(1<<f.OpenParen-33|1<<f.LessThan-33|1<<f.GreaterThan-33|1<<f.SingleQuote-33|1<<f.Underscore-33|1<<f.Colon-33|1<<f.Hash-33|1<<f.Equals-33|1<<f.Exclamation-33|1<<f.Ampersand-33|1<<f.ALC-33|1<<f.BLC-33|1<<f.CLC-33|1<<f.DLC-33|1<<f.ELC-33|1<<f.FLC-33|1<<f.GLC-33|1<<f.HLC-33|1<<f.ILC-33|1<<f.JLC-33|1<<f.KLC-33|1<<f.LLC-33|1<<f.MLC-33|1<<f.NLC-33|1<<f.OLC-33|1<<f.PLC-33|1<<f.QLC-33|1<<f.RLC-33|1<<f.SLC-33|1<<f.TLC-33|1<<f.ULC-33)||!(e-65&-32)&&1<<e-65&(1<<f.VLC-65|1<<f.WLC-65|1<<f.XLC-65|1<<f.YLC-65|1<<f.ZLC-65|1<<f.AUC-65|1<<f.BUC-65|1<<f.CUC-65|1<<f.DUC-65|1<<f.EUC-65|1<<f.FUC-65|1<<f.GUC-65|1<<f.HUC-65|1<<f.IUC-65|1<<f.JUC-65|1<<f.KUC-65|1<<f.LUC-65|1<<f.MUC-65|1<<f.NUC-65|1<<f.OUC-65|1<<f.PUC-65|1<<f.QUC-65|1<<f.RUC-65|1<<f.SUC-65|1<<f.TUC-65|1<<f.UUC-65|1<<f.VUC-65|1<<f.WUC-65|1<<f.XUC-65|1<<f.YUC-65|1<<f.ZUC-65|1<<f.D1-65)||!(e-97&-32)&&1<<e-97&(1<<f.D2-97|1<<f.D3-97|1<<f.D4-97|1<<f.D5-97|1<<f.D6-97|1<<f.D7-97|1<<f.D8-97|1<<f.D9-97|1<<f.D0-97|1<<f.OtherChar-97);)this.state=65,this.element(),this.state=70,this._errHandler.sync(this),e=this._input.LA(1)}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}element(){let e=new v(this._ctx,this.state);this.enterRule(e,6,f.RULE_element);try{1===(this.enterOuterAlt(e,1),this.state=71,this.atom(),this.state=73,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,2,this._ctx))&&(this.state=72,this.quantifier())}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}quantifier(){let e=new g(this._ctx,this.state);this.enterRule(e,8,f.RULE_quantifier);try{switch(this.state=99,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,3,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=75,this.match(f.QuestionMark),this.state=76,this.quantifier_type();break;case 2:this.enterOuterAlt(e,2),this.state=77,this.match(f.Plus),this.state=78,this.quantifier_type();break;case 3:this.enterOuterAlt(e,3),this.state=79,this.match(f.Star),this.state=80,this.quantifier_type();break;case 4:this.enterOuterAlt(e,4),this.state=81,this.match(f.OpenBrace),this.state=82,this.number(),this.state=83,this.match(f.CloseBrace),this.state=84,this.quantifier_type();break;case 5:this.enterOuterAlt(e,5),this.state=86,this.match(f.OpenBrace),this.state=87,this.number(),this.state=88,this.match(f.Comma),this.state=89,this.match(f.CloseBrace),this.state=90,this.quantifier_type();break;case 6:this.enterOuterAlt(e,6),this.state=92,this.match(f.OpenBrace),this.state=93,this.number(),this.state=94,this.match(f.Comma),this.state=95,this.number(),this.state=96,this.match(f.CloseBrace),this.state=97,this.quantifier_type()}}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}quantifier_type(){let e=new b(this._ctx,this.state);this.enterRule(e,10,f.RULE_quantifier_type);try{switch(this.state=104,this._errHandler.sync(this),this._input.LA(1)){case f.Plus:this.enterOuterAlt(e,1),this.state=101,this.match(f.Plus);break;case f.QuestionMark:this.enterOuterAlt(e,2),this.state=102,this.match(f.QuestionMark);break;case f.EOF:case f.Quoted:case f.BlockQuoted:case f.BellChar:case f.ControlChar:case f.EscapeChar:case f.FormFeed:case f.NewLine:case f.CarriageReturn:case f.Tab:case f.Backslash:case f.HexChar:case f.Dot:case f.DecimalDigit:case f.NotDecimalDigit:case f.CharWithProperty:case f.CharWithoutProperty:case f.WhiteSpace:case f.NotWhiteSpace:case f.WordChar:case f.NotWordChar:case f.CharacterClassStart:case f.CharacterClassEnd:case f.Caret:case f.Hyphen:case f.OpenBrace:case f.CloseBrace:case f.Comma:case f.EndOfSubject:case f.Pipe:case f.OpenParen:case f.CloseParen:case f.LessThan:case f.GreaterThan:case f.SingleQuote:case f.Underscore:case f.Colon:case f.Hash:case f.Equals:case f.Exclamation:case f.Ampersand:case f.ALC:case f.BLC:case f.CLC:case f.DLC:case f.ELC:case f.FLC:case f.GLC:case f.HLC:case f.ILC:case f.JLC:case f.KLC:case f.LLC:case f.MLC:case f.NLC:case f.OLC:case f.PLC:case f.QLC:case f.RLC:case f.SLC:case f.TLC:case f.ULC:case f.VLC:case f.WLC:case f.XLC:case f.YLC:case f.ZLC:case f.AUC:case f.BUC:case f.CUC:case f.DUC:case f.EUC:case f.FUC:case f.GUC:case f.HUC:case f.IUC:case f.JUC:case f.KUC:case f.LUC:case f.MUC:case f.NUC:case f.OUC:case f.PUC:case f.QUC:case f.RUC:case f.SUC:case f.TUC:case f.UUC:case f.VUC:case f.WUC:case f.XUC:case f.YUC:case f.ZUC:case f.D1:case f.D2:case f.D3:case f.D4:case f.D5:case f.D6:case f.D7:case f.D8:case f.D9:case f.D0:case f.OtherChar:this.enterOuterAlt(e,3);break;default:throw new o.NoViableAltException(this)}}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}character_class(){let e,t=new C(this._ctx,this.state);this.enterRule(t,12,f.RULE_character_class);try{switch(this.state=123,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,7,this._ctx)){case 1:this.enterOuterAlt(t,1),this.state=106,this.match(f.CharacterClassStart),this.state=107,this.match(f.Caret),this.state=109,this._errHandler.sync(this),e=this._input.LA(1);do{this.state=108,this.cc_atom(),this.state=111,this._errHandler.sync(this),e=this._input.LA(1)}while(!(-32&e)&&1<<e&(1<<f.Quoted|1<<f.BlockQuoted|1<<f.BellChar|1<<f.ControlChar|1<<f.EscapeChar|1<<f.FormFeed|1<<f.NewLine|1<<f.CarriageReturn|1<<f.Tab|1<<f.Backslash|1<<f.HexChar|1<<f.Dot|1<<f.DecimalDigit|1<<f.NotDecimalDigit|1<<f.CharWithProperty|1<<f.CharWithoutProperty|1<<f.WhiteSpace|1<<f.NotWhiteSpace|1<<f.WordChar|1<<f.NotWordChar|1<<f.CharacterClassStart|1<<f.Caret|1<<f.Hyphen|1<<f.QuestionMark|1<<f.Plus|1<<f.Star|1<<f.OpenBrace|1<<f.CloseBrace|1<<f.Comma|1<<f.EndOfSubject)||!(e-32&-32)&&1<<e-32&(1<<f.Pipe-32|1<<f.OpenParen-32|1<<f.CloseParen-32|1<<f.LessThan-32|1<<f.GreaterThan-32|1<<f.SingleQuote-32|1<<f.Underscore-32|1<<f.Colon-32|1<<f.Hash-32|1<<f.Equals-32|1<<f.Exclamation-32|1<<f.Ampersand-32|1<<f.ALC-32|1<<f.BLC-32|1<<f.CLC-32|1<<f.DLC-32|1<<f.ELC-32|1<<f.FLC-32|1<<f.GLC-32|1<<f.HLC-32|1<<f.ILC-32|1<<f.JLC-32|1<<f.KLC-32|1<<f.LLC-32|1<<f.MLC-32|1<<f.NLC-32|1<<f.OLC-32|1<<f.PLC-32|1<<f.QLC-32|1<<f.RLC-32|1<<f.SLC-32|1<<f.TLC-32)||!(e-64&-32)&&1<<e-64&(1<<f.ULC-64|1<<f.VLC-64|1<<f.WLC-64|1<<f.XLC-64|1<<f.YLC-64|1<<f.ZLC-64|1<<f.AUC-64|1<<f.BUC-64|1<<f.CUC-64|1<<f.DUC-64|1<<f.EUC-64|1<<f.FUC-64|1<<f.GUC-64|1<<f.HUC-64|1<<f.IUC-64|1<<f.JUC-64|1<<f.KUC-64|1<<f.LUC-64|1<<f.MUC-64|1<<f.NUC-64|1<<f.OUC-64|1<<f.PUC-64|1<<f.QUC-64|1<<f.RUC-64|1<<f.SUC-64|1<<f.TUC-64|1<<f.UUC-64|1<<f.VUC-64|1<<f.WUC-64|1<<f.XUC-64|1<<f.YUC-64|1<<f.ZUC-64)||!(e-96&-32)&&1<<e-96&(1<<f.D1-96|1<<f.D2-96|1<<f.D3-96|1<<f.D4-96|1<<f.D5-96|1<<f.D6-96|1<<f.D7-96|1<<f.D8-96|1<<f.D9-96|1<<f.D0-96|1<<f.OtherChar-96));this.state=113,this.match(f.CharacterClassEnd);break;case 2:this.enterOuterAlt(t,2),this.state=115,this.match(f.CharacterClassStart),this.state=117,this._errHandler.sync(this),e=this._input.LA(1);do{this.state=116,this.cc_atom(),this.state=119,this._errHandler.sync(this),e=this._input.LA(1)}while(!(-32&e)&&1<<e&(1<<f.Quoted|1<<f.BlockQuoted|1<<f.BellChar|1<<f.ControlChar|1<<f.EscapeChar|1<<f.FormFeed|1<<f.NewLine|1<<f.CarriageReturn|1<<f.Tab|1<<f.Backslash|1<<f.HexChar|1<<f.Dot|1<<f.DecimalDigit|1<<f.NotDecimalDigit|1<<f.CharWithProperty|1<<f.CharWithoutProperty|1<<f.WhiteSpace|1<<f.NotWhiteSpace|1<<f.WordChar|1<<f.NotWordChar|1<<f.CharacterClassStart|1<<f.Caret|1<<f.Hyphen|1<<f.QuestionMark|1<<f.Plus|1<<f.Star|1<<f.OpenBrace|1<<f.CloseBrace|1<<f.Comma|1<<f.EndOfSubject)||!(e-32&-32)&&1<<e-32&(1<<f.Pipe-32|1<<f.OpenParen-32|1<<f.CloseParen-32|1<<f.LessThan-32|1<<f.GreaterThan-32|1<<f.SingleQuote-32|1<<f.Underscore-32|1<<f.Colon-32|1<<f.Hash-32|1<<f.Equals-32|1<<f.Exclamation-32|1<<f.Ampersand-32|1<<f.ALC-32|1<<f.BLC-32|1<<f.CLC-32|1<<f.DLC-32|1<<f.ELC-32|1<<f.FLC-32|1<<f.GLC-32|1<<f.HLC-32|1<<f.ILC-32|1<<f.JLC-32|1<<f.KLC-32|1<<f.LLC-32|1<<f.MLC-32|1<<f.NLC-32|1<<f.OLC-32|1<<f.PLC-32|1<<f.QLC-32|1<<f.RLC-32|1<<f.SLC-32|1<<f.TLC-32)||!(e-64&-32)&&1<<e-64&(1<<f.ULC-64|1<<f.VLC-64|1<<f.WLC-64|1<<f.XLC-64|1<<f.YLC-64|1<<f.ZLC-64|1<<f.AUC-64|1<<f.BUC-64|1<<f.CUC-64|1<<f.DUC-64|1<<f.EUC-64|1<<f.FUC-64|1<<f.GUC-64|1<<f.HUC-64|1<<f.IUC-64|1<<f.JUC-64|1<<f.KUC-64|1<<f.LUC-64|1<<f.MUC-64|1<<f.NUC-64|1<<f.OUC-64|1<<f.PUC-64|1<<f.QUC-64|1<<f.RUC-64|1<<f.SUC-64|1<<f.TUC-64|1<<f.UUC-64|1<<f.VUC-64|1<<f.WUC-64|1<<f.XUC-64|1<<f.YUC-64|1<<f.ZUC-64)||!(e-96&-32)&&1<<e-96&(1<<f.D1-96|1<<f.D2-96|1<<f.D3-96|1<<f.D4-96|1<<f.D5-96|1<<f.D6-96|1<<f.D7-96|1<<f.D8-96|1<<f.D9-96|1<<f.D0-96|1<<f.OtherChar-96));this.state=121,this.match(f.CharacterClassEnd)}}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}capture(){let e=new E(this._ctx,this.state);this.enterRule(e,14,f.RULE_capture);try{switch(this.state=137,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,8,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=125,this.match(f.OpenParen),this.state=126,this.match(f.QuestionMark),this.state=127,this.match(f.LessThan),this.state=128,this.name(),this.state=129,this.match(f.GreaterThan),this.state=130,this.alternation(),this.state=131,this.match(f.CloseParen);break;case 2:this.enterOuterAlt(e,2),this.state=133,this.match(f.OpenParen),this.state=134,this.alternation(),this.state=135,this.match(f.CloseParen)}}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}non_capture(){let e=new _(this._ctx,this.state);this.enterRule(e,16,f.RULE_non_capture);try{this.enterOuterAlt(e,1),this.state=139,this.match(f.OpenParen),this.state=140,this.match(f.QuestionMark),this.state=141,this.match(f.Colon),this.state=142,this.alternation(),this.state=143,this.match(f.CloseParen)}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}option(){let e,t=new T(this._ctx,this.state);this.enterRule(t,18,f.RULE_option);try{this.enterOuterAlt(t,1),this.state=145,this.match(f.OpenParen),this.state=146,this.match(f.QuestionMark),this.state=148,this._errHandler.sync(this),e=this._input.LA(1);do{this.state=147,this.option_flag(),this.state=150,this._errHandler.sync(this),e=this._input.LA(1)}while(!(e-52&-32)&&1<<e-52&(1<<f.ILC-52|1<<f.MLC-52|1<<f.SLC-52));this.state=152,this.match(f.CloseParen)}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}option_flag(){let e,t=new x(this._ctx,this.state);this.enterRule(t,20,f.RULE_option_flag);try{this.enterOuterAlt(t,1),this.state=154,(e=this._input.LA(1))-52&-32||!(1<<e-52&(1<<f.ILC-52|1<<f.MLC-52|1<<f.SLC-52))?this._errHandler.recoverInline(this):(this._input.LA(1)===c.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume())}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}atom(){let e=new S(this._ctx,this.state);this.enterRule(e,22,f.RULE_atom);try{switch(this.state=165,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,10,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=156,this.shared_atom();break;case 2:this.enterOuterAlt(e,2),this.state=157,this.literal();break;case 3:this.enterOuterAlt(e,3),this.state=158,this.character_class();break;case 4:this.enterOuterAlt(e,4),this.state=159,this.capture();break;case 5:this.enterOuterAlt(e,5),this.state=160,this.non_capture();break;case 6:this.enterOuterAlt(e,6),this.state=161,this.option();break;case 7:this.enterOuterAlt(e,7),this.state=162,this.match(f.Dot);break;case 8:this.enterOuterAlt(e,8),this.state=163,this.match(f.Caret);break;case 9:this.enterOuterAlt(e,9),this.state=164,this.match(f.EndOfSubject)}}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}cc_atom(){let e=new O(this._ctx,this.state);this.enterRule(e,24,f.RULE_cc_atom);try{switch(this.state=173,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,11,this._ctx)){case 1:this.enterOuterAlt(e,1),this.state=167,this.cc_literal(),this.state=168,this.match(f.Hyphen),this.state=169,this.cc_literal();break;case 2:this.enterOuterAlt(e,2),this.state=171,this.shared_atom();break;case 3:this.enterOuterAlt(e,3),this.state=172,this.cc_literal()}}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}shared_atom(){let e,t=new w(this._ctx,this.state);this.enterRule(t,26,f.RULE_shared_atom);try{this.enterOuterAlt(t,1),this.state=175,-32&(e=this._input.LA(1))||!(1<<e&(1<<f.ControlChar|1<<f.DecimalDigit|1<<f.NotDecimalDigit|1<<f.CharWithProperty|1<<f.CharWithoutProperty|1<<f.WhiteSpace|1<<f.NotWhiteSpace|1<<f.WordChar|1<<f.NotWordChar))?this._errHandler.recoverInline(this):(this._input.LA(1)===c.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume())}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}literal(){let e=new A(this._ctx,this.state);this.enterRule(e,28,f.RULE_literal);try{switch(this.state=179,this._errHandler.sync(this),this._input.LA(1)){case f.Quoted:case f.BlockQuoted:case f.BellChar:case f.EscapeChar:case f.FormFeed:case f.NewLine:case f.CarriageReturn:case f.Tab:case f.Backslash:case f.HexChar:case f.Hyphen:case f.OpenBrace:case f.CloseBrace:case f.Comma:case f.LessThan:case f.GreaterThan:case f.SingleQuote:case f.Underscore:case f.Colon:case f.Hash:case f.Equals:case f.Exclamation:case f.Ampersand:case f.ALC:case f.BLC:case f.CLC:case f.DLC:case f.ELC:case f.FLC:case f.GLC:case f.HLC:case f.ILC:case f.JLC:case f.KLC:case f.LLC:case f.MLC:case f.NLC:case f.OLC:case f.PLC:case f.QLC:case f.RLC:case f.SLC:case f.TLC:case f.ULC:case f.VLC:case f.WLC:case f.XLC:case f.YLC:case f.ZLC:case f.AUC:case f.BUC:case f.CUC:case f.DUC:case f.EUC:case f.FUC:case f.GUC:case f.HUC:case f.IUC:case f.JUC:case f.KUC:case f.LUC:case f.MUC:case f.NUC:case f.OUC:case f.PUC:case f.QUC:case f.RUC:case f.SUC:case f.TUC:case f.UUC:case f.VUC:case f.WUC:case f.XUC:case f.YUC:case f.ZUC:case f.D1:case f.D2:case f.D3:case f.D4:case f.D5:case f.D6:case f.D7:case f.D8:case f.D9:case f.D0:case f.OtherChar:this.enterOuterAlt(e,1),this.state=177,this.shared_literal();break;case f.CharacterClassEnd:this.enterOuterAlt(e,2),this.state=178,this.match(f.CharacterClassEnd);break;default:throw new o.NoViableAltException(this)}}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}cc_literal(){let e=new N(this._ctx,this.state);this.enterRule(e,30,f.RULE_cc_literal);try{switch(this.state=192,this._errHandler.sync(this),this._input.LA(1)){case f.Quoted:case f.BlockQuoted:case f.BellChar:case f.EscapeChar:case f.FormFeed:case f.NewLine:case f.CarriageReturn:case f.Tab:case f.Backslash:case f.HexChar:case f.Hyphen:case f.OpenBrace:case f.CloseBrace:case f.Comma:case f.LessThan:case f.GreaterThan:case f.SingleQuote:case f.Underscore:case f.Colon:case f.Hash:case f.Equals:case f.Exclamation:case f.Ampersand:case f.ALC:case f.BLC:case f.CLC:case f.DLC:case f.ELC:case f.FLC:case f.GLC:case f.HLC:case f.ILC:case f.JLC:case f.KLC:case f.LLC:case f.MLC:case f.NLC:case f.OLC:case f.PLC:case f.QLC:case f.RLC:case f.SLC:case f.TLC:case f.ULC:case f.VLC:case f.WLC:case f.XLC:case f.YLC:case f.ZLC:case f.AUC:case f.BUC:case f.CUC:case f.DUC:case f.EUC:case f.FUC:case f.GUC:case f.HUC:case f.IUC:case f.JUC:case f.KUC:case f.LUC:case f.MUC:case f.NUC:case f.OUC:case f.PUC:case f.QUC:case f.RUC:case f.SUC:case f.TUC:case f.UUC:case f.VUC:case f.WUC:case f.XUC:case f.YUC:case f.ZUC:case f.D1:case f.D2:case f.D3:case f.D4:case f.D5:case f.D6:case f.D7:case f.D8:case f.D9:case f.D0:case f.OtherChar:this.enterOuterAlt(e,1),this.state=181,this.shared_literal();break;case f.Dot:this.enterOuterAlt(e,2),this.state=182,this.match(f.Dot);break;case f.CharacterClassStart:this.enterOuterAlt(e,3),this.state=183,this.match(f.CharacterClassStart);break;case f.Caret:this.enterOuterAlt(e,4),this.state=184,this.match(f.Caret);break;case f.QuestionMark:this.enterOuterAlt(e,5),this.state=185,this.match(f.QuestionMark);break;case f.Plus:this.enterOuterAlt(e,6),this.state=186,this.match(f.Plus);break;case f.Star:this.enterOuterAlt(e,7),this.state=187,this.match(f.Star);break;case f.EndOfSubject:this.enterOuterAlt(e,8),this.state=188,this.match(f.EndOfSubject);break;case f.Pipe:this.enterOuterAlt(e,9),this.state=189,this.match(f.Pipe);break;case f.OpenParen:this.enterOuterAlt(e,10),this.state=190,this.match(f.OpenParen);break;case f.CloseParen:this.enterOuterAlt(e,11),this.state=191,this.match(f.CloseParen);break;default:throw new o.NoViableAltException(this)}}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}shared_literal(){let e=new P(this._ctx,this.state);this.enterRule(e,32,f.RULE_shared_literal);try{switch(this.state=220,this._errHandler.sync(this),this._input.LA(1)){case f.Backslash:this.enterOuterAlt(e,1),this.state=194,this.octal_char();break;case f.ALC:case f.BLC:case f.CLC:case f.DLC:case f.ELC:case f.FLC:case f.GLC:case f.HLC:case f.ILC:case f.JLC:case f.KLC:case f.LLC:case f.MLC:case f.NLC:case f.OLC:case f.PLC:case f.QLC:case f.RLC:case f.SLC:case f.TLC:case f.ULC:case f.VLC:case f.WLC:case f.XLC:case f.YLC:case f.ZLC:case f.AUC:case f.BUC:case f.CUC:case f.DUC:case f.EUC:case f.FUC:case f.GUC:case f.HUC:case f.IUC:case f.JUC:case f.KUC:case f.LUC:case f.MUC:case f.NUC:case f.OUC:case f.PUC:case f.QUC:case f.RUC:case f.SUC:case f.TUC:case f.UUC:case f.VUC:case f.WUC:case f.XUC:case f.YUC:case f.ZUC:this.enterOuterAlt(e,2),this.state=195,this.letter();break;case f.D1:case f.D2:case f.D3:case f.D4:case f.D5:case f.D6:case f.D7:case f.D8:case f.D9:case f.D0:this.enterOuterAlt(e,3),this.state=196,this.digit();break;case f.BellChar:this.enterOuterAlt(e,4),this.state=197,this.match(f.BellChar);break;case f.EscapeChar:this.enterOuterAlt(e,5),this.state=198,this.match(f.EscapeChar);break;case f.FormFeed:this.enterOuterAlt(e,6),this.state=199,this.match(f.FormFeed);break;case f.NewLine:this.enterOuterAlt(e,7),this.state=200,this.match(f.NewLine);break;case f.CarriageReturn:this.enterOuterAlt(e,8),this.state=201,this.match(f.CarriageReturn);break;case f.Tab:this.enterOuterAlt(e,9),this.state=202,this.match(f.Tab);break;case f.HexChar:this.enterOuterAlt(e,10),this.state=203,this.match(f.HexChar);break;case f.Quoted:this.enterOuterAlt(e,11),this.state=204,this.match(f.Quoted);break;case f.BlockQuoted:this.enterOuterAlt(e,12),this.state=205,this.match(f.BlockQuoted);break;case f.OpenBrace:this.enterOuterAlt(e,13),this.state=206,this.match(f.OpenBrace);break;case f.CloseBrace:this.enterOuterAlt(e,14),this.state=207,this.match(f.CloseBrace);break;case f.Comma:this.enterOuterAlt(e,15),this.state=208,this.match(f.Comma);break;case f.Hyphen:this.enterOuterAlt(e,16),this.state=209,this.match(f.Hyphen);break;case f.LessThan:this.enterOuterAlt(e,17),this.state=210,this.match(f.LessThan);break;case f.GreaterThan:this.enterOuterAlt(e,18),this.state=211,this.match(f.GreaterThan);break;case f.SingleQuote:this.enterOuterAlt(e,19),this.state=212,this.match(f.SingleQuote);break;case f.Underscore:this.enterOuterAlt(e,20),this.state=213,this.match(f.Underscore);break;case f.Colon:this.enterOuterAlt(e,21),this.state=214,this.match(f.Colon);break;case f.Hash:this.enterOuterAlt(e,22),this.state=215,this.match(f.Hash);break;case f.Equals:this.enterOuterAlt(e,23),this.state=216,this.match(f.Equals);break;case f.Exclamation:this.enterOuterAlt(e,24),this.state=217,this.match(f.Exclamation);break;case f.Ampersand:this.enterOuterAlt(e,25),this.state=218,this.match(f.Ampersand);break;case f.OtherChar:this.enterOuterAlt(e,26),this.state=219,this.match(f.OtherChar);break;default:throw new o.NoViableAltException(this)}}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}number(){let e=new I(this._ctx,this.state);this.enterRule(e,34,f.RULE_number);try{this.enterOuterAlt(e,1),this.state=222,this.digits()}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}octal_char(){let e,t=new R(this._ctx,this.state);this.enterRule(t,36,f.RULE_octal_char);try{switch(this.enterOuterAlt(t,1),this.state=233,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,15,this._ctx)){case 1:this.state=224,this.match(f.Backslash),this.state=225,(e=this._input.LA(1))-96&-32||!(1<<e-96&(1<<f.D1-96|1<<f.D2-96|1<<f.D3-96|1<<f.D0-96))?this._errHandler.recoverInline(this):(this._input.LA(1)===c.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume()),this.state=226,this.octal_digit(),this.state=227,this.octal_digit();break;case 2:this.state=229,this.match(f.Backslash),this.state=230,this.octal_digit(),this.state=231,this.octal_digit()}}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}octal_digit(){let e,t=new L(this._ctx,this.state);this.enterRule(t,38,f.RULE_octal_digit);try{this.enterOuterAlt(t,1),this.state=235,(e=this._input.LA(1))-96&-32||!(1<<e-96&(1<<f.D1-96|1<<f.D2-96|1<<f.D3-96|1<<f.D4-96|1<<f.D5-96|1<<f.D6-96|1<<f.D7-96|1<<f.D0-96))?this._errHandler.recoverInline(this):(this._input.LA(1)===c.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume())}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}digits(){let e,t=new k(this._ctx,this.state);this.enterRule(t,40,f.RULE_digits);try{this.enterOuterAlt(t,1),this.state=238,this._errHandler.sync(this),e=this._input.LA(1);do{this.state=237,this.digit(),this.state=240,this._errHandler.sync(this),e=this._input.LA(1)}while(!(e-96&-32)&&1<<e-96&(1<<f.D1-96|1<<f.D2-96|1<<f.D3-96|1<<f.D4-96|1<<f.D5-96|1<<f.D6-96|1<<f.D7-96|1<<f.D8-96|1<<f.D9-96|1<<f.D0-96))}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}digit(){let e,t=new M(this._ctx,this.state);this.enterRule(t,42,f.RULE_digit);try{this.enterOuterAlt(t,1),this.state=242,(e=this._input.LA(1))-96&-32||!(1<<e-96&(1<<f.D1-96|1<<f.D2-96|1<<f.D3-96|1<<f.D4-96|1<<f.D5-96|1<<f.D6-96|1<<f.D7-96|1<<f.D8-96|1<<f.D9-96|1<<f.D0-96))?this._errHandler.recoverInline(this):(this._input.LA(1)===c.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume())}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}name(){let e=new D(this._ctx,this.state);this.enterRule(e,44,f.RULE_name);try{this.enterOuterAlt(e,1),this.state=244,this.alpha_nums()}catch(t){if(!(t instanceof u.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}alpha_nums(){let e,t=new U(this._ctx,this.state);this.enterRule(t,46,f.RULE_alpha_nums);try{switch(this.enterOuterAlt(t,1),this.state=248,this._errHandler.sync(this),this._input.LA(1)){case f.ALC:case f.BLC:case f.CLC:case f.DLC:case f.ELC:case f.FLC:case f.GLC:case f.HLC:case f.ILC:case f.JLC:case f.KLC:case f.LLC:case f.MLC:case f.NLC:case f.OLC:case f.PLC:case f.QLC:case f.RLC:case f.SLC:case f.TLC:case f.ULC:case f.VLC:case f.WLC:case f.XLC:case f.YLC:case f.ZLC:case f.AUC:case f.BUC:case f.CUC:case f.DUC:case f.EUC:case f.FUC:case f.GUC:case f.HUC:case f.IUC:case f.JUC:case f.KUC:case f.LUC:case f.MUC:case f.NUC:case f.OUC:case f.PUC:case f.QUC:case f.RUC:case f.SUC:case f.TUC:case f.UUC:case f.VUC:case f.WUC:case f.XUC:case f.YUC:case f.ZUC:this.state=246,this.letter();break;case f.Underscore:this.state=247,this.match(f.Underscore);break;default:throw new o.NoViableAltException(this)}for(this.state=255,this._errHandler.sync(this),e=this._input.LA(1);!(e-38&-32)&&1<<e-38&(1<<f.Underscore-38|1<<f.ALC-38|1<<f.BLC-38|1<<f.CLC-38|1<<f.DLC-38|1<<f.ELC-38|1<<f.FLC-38|1<<f.GLC-38|1<<f.HLC-38|1<<f.ILC-38|1<<f.JLC-38|1<<f.KLC-38|1<<f.LLC-38|1<<f.MLC-38|1<<f.NLC-38|1<<f.OLC-38|1<<f.PLC-38|1<<f.QLC-38|1<<f.RLC-38|1<<f.SLC-38|1<<f.TLC-38|1<<f.ULC-38|1<<f.VLC-38|1<<f.WLC-38|1<<f.XLC-38|1<<f.YLC-38|1<<f.ZLC-38)||!(e-70&-32)&&1<<e-70&(1<<f.AUC-70|1<<f.BUC-70|1<<f.CUC-70|1<<f.DUC-70|1<<f.EUC-70|1<<f.FUC-70|1<<f.GUC-70|1<<f.HUC-70|1<<f.IUC-70|1<<f.JUC-70|1<<f.KUC-70|1<<f.LUC-70|1<<f.MUC-70|1<<f.NUC-70|1<<f.OUC-70|1<<f.PUC-70|1<<f.QUC-70|1<<f.RUC-70|1<<f.SUC-70|1<<f.TUC-70|1<<f.UUC-70|1<<f.VUC-70|1<<f.WUC-70|1<<f.XUC-70|1<<f.YUC-70|1<<f.ZUC-70|1<<f.D1-70|1<<f.D2-70|1<<f.D3-70|1<<f.D4-70|1<<f.D5-70|1<<f.D6-70)||!(e-102&-32)&&1<<e-102&(1<<f.D7-102|1<<f.D8-102|1<<f.D9-102|1<<f.D0-102);){switch(this.state=253,this._errHandler.sync(this),this._input.LA(1)){case f.ALC:case f.BLC:case f.CLC:case f.DLC:case f.ELC:case f.FLC:case f.GLC:case f.HLC:case f.ILC:case f.JLC:case f.KLC:case f.LLC:case f.MLC:case f.NLC:case f.OLC:case f.PLC:case f.QLC:case f.RLC:case f.SLC:case f.TLC:case f.ULC:case f.VLC:case f.WLC:case f.XLC:case f.YLC:case f.ZLC:case f.AUC:case f.BUC:case f.CUC:case f.DUC:case f.EUC:case f.FUC:case f.GUC:case f.HUC:case f.IUC:case f.JUC:case f.KUC:case f.LUC:case f.MUC:case f.NUC:case f.OUC:case f.PUC:case f.QUC:case f.RUC:case f.SUC:case f.TUC:case f.UUC:case f.VUC:case f.WUC:case f.XUC:case f.YUC:case f.ZUC:this.state=250,this.letter();break;case f.Underscore:this.state=251,this.match(f.Underscore);break;case f.D1:case f.D2:case f.D3:case f.D4:case f.D5:case f.D6:case f.D7:case f.D8:case f.D9:case f.D0:this.state=252,this.digit();break;default:throw new o.NoViableAltException(this)}this.state=257,this._errHandler.sync(this),e=this._input.LA(1)}}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}non_close_parens(){let e,t=new j(this._ctx,this.state);this.enterRule(t,48,f.RULE_non_close_parens);try{this.enterOuterAlt(t,1),this.state=259,this._errHandler.sync(this),e=this._input.LA(1);do{this.state=258,this.non_close_paren(),this.state=261,this._errHandler.sync(this),e=this._input.LA(1)}while(!(-32&e)&&1<<e&(1<<f.Quoted|1<<f.BlockQuoted|1<<f.BellChar|1<<f.ControlChar|1<<f.EscapeChar|1<<f.FormFeed|1<<f.NewLine|1<<f.CarriageReturn|1<<f.Tab|1<<f.Backslash|1<<f.HexChar|1<<f.Dot|1<<f.DecimalDigit|1<<f.NotDecimalDigit|1<<f.CharWithProperty|1<<f.CharWithoutProperty|1<<f.WhiteSpace|1<<f.NotWhiteSpace|1<<f.WordChar|1<<f.NotWordChar|1<<f.CharacterClassStart|1<<f.CharacterClassEnd|1<<f.Caret|1<<f.Hyphen|1<<f.QuestionMark|1<<f.Plus|1<<f.Star|1<<f.OpenBrace|1<<f.CloseBrace|1<<f.Comma|1<<f.EndOfSubject)||!(e-32&-32)&&1<<e-32&(1<<f.Pipe-32|1<<f.OpenParen-32|1<<f.LessThan-32|1<<f.GreaterThan-32|1<<f.SingleQuote-32|1<<f.Underscore-32|1<<f.Colon-32|1<<f.Hash-32|1<<f.Equals-32|1<<f.Exclamation-32|1<<f.Ampersand-32|1<<f.ALC-32|1<<f.BLC-32|1<<f.CLC-32|1<<f.DLC-32|1<<f.ELC-32|1<<f.FLC-32|1<<f.GLC-32|1<<f.HLC-32|1<<f.ILC-32|1<<f.JLC-32|1<<f.KLC-32|1<<f.LLC-32|1<<f.MLC-32|1<<f.NLC-32|1<<f.OLC-32|1<<f.PLC-32|1<<f.QLC-32|1<<f.RLC-32|1<<f.SLC-32|1<<f.TLC-32)||!(e-64&-32)&&1<<e-64&(1<<f.ULC-64|1<<f.VLC-64|1<<f.WLC-64|1<<f.XLC-64|1<<f.YLC-64|1<<f.ZLC-64|1<<f.AUC-64|1<<f.BUC-64|1<<f.CUC-64|1<<f.DUC-64|1<<f.EUC-64|1<<f.FUC-64|1<<f.GUC-64|1<<f.HUC-64|1<<f.IUC-64|1<<f.JUC-64|1<<f.KUC-64|1<<f.LUC-64|1<<f.MUC-64|1<<f.NUC-64|1<<f.OUC-64|1<<f.PUC-64|1<<f.QUC-64|1<<f.RUC-64|1<<f.SUC-64|1<<f.TUC-64|1<<f.UUC-64|1<<f.VUC-64|1<<f.WUC-64|1<<f.XUC-64|1<<f.YUC-64|1<<f.ZUC-64)||!(e-96&-32)&&1<<e-96&(1<<f.D1-96|1<<f.D2-96|1<<f.D3-96|1<<f.D4-96|1<<f.D5-96|1<<f.D6-96|1<<f.D7-96|1<<f.D8-96|1<<f.D9-96|1<<f.D0-96|1<<f.OtherChar-96))}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}non_close_paren(){let e,t=new F(this._ctx,this.state);this.enterRule(t,50,f.RULE_non_close_paren);try{this.enterOuterAlt(t,1),this.state=263,(e=this._input.LA(1))<=0||e===f.CloseParen?this._errHandler.recoverInline(this):(this._input.LA(1)===c.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume())}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}letter(){let e,t=new B(this._ctx,this.state);this.enterRule(t,52,f.RULE_letter);try{this.enterOuterAlt(t,1),this.state=265,!((e=this._input.LA(1))-44&-32)&&1<<e-44&(1<<f.ALC-44|1<<f.BLC-44|1<<f.CLC-44|1<<f.DLC-44|1<<f.ELC-44|1<<f.FLC-44|1<<f.GLC-44|1<<f.HLC-44|1<<f.ILC-44|1<<f.JLC-44|1<<f.KLC-44|1<<f.LLC-44|1<<f.MLC-44|1<<f.NLC-44|1<<f.OLC-44|1<<f.PLC-44|1<<f.QLC-44|1<<f.RLC-44|1<<f.SLC-44|1<<f.TLC-44|1<<f.ULC-44|1<<f.VLC-44|1<<f.WLC-44|1<<f.XLC-44|1<<f.YLC-44|1<<f.ZLC-44|1<<f.AUC-44|1<<f.BUC-44|1<<f.CUC-44|1<<f.DUC-44|1<<f.EUC-44|1<<f.FUC-44)||!(e-76&-32)&&1<<e-76&(1<<f.GUC-76|1<<f.HUC-76|1<<f.IUC-76|1<<f.JUC-76|1<<f.KUC-76|1<<f.LUC-76|1<<f.MUC-76|1<<f.NUC-76|1<<f.OUC-76|1<<f.PUC-76|1<<f.QUC-76|1<<f.RUC-76|1<<f.SUC-76|1<<f.TUC-76|1<<f.UUC-76|1<<f.VUC-76|1<<f.WUC-76|1<<f.XUC-76|1<<f.YUC-76|1<<f.ZUC-76)?(this._input.LA(1)===c.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this)}catch(e){if(!(e instanceof u.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}static get _ATN(){return f.__ATN||(f.__ATN=(new i.ATNDeserializer).deserialize(p.toCharArray(f._serializedATN))),f.__ATN}}f.Quoted=1,f.BlockQuoted=2,f.BellChar=3,f.ControlChar=4,f.EscapeChar=5,f.FormFeed=6,f.NewLine=7,f.CarriageReturn=8,f.Tab=9,f.Backslash=10,f.HexChar=11,f.Dot=12,f.DecimalDigit=13,f.NotDecimalDigit=14,f.CharWithProperty=15,f.CharWithoutProperty=16,f.WhiteSpace=17,f.NotWhiteSpace=18,f.WordChar=19,f.NotWordChar=20,f.CharacterClassStart=21,f.CharacterClassEnd=22,f.Caret=23,f.Hyphen=24,f.QuestionMark=25,f.Plus=26,f.Star=27,f.OpenBrace=28,f.CloseBrace=29,f.Comma=30,f.EndOfSubject=31,f.Pipe=32,f.OpenParen=33,f.CloseParen=34,f.LessThan=35,f.GreaterThan=36,f.SingleQuote=37,f.Underscore=38,f.Colon=39,f.Hash=40,f.Equals=41,f.Exclamation=42,f.Ampersand=43,f.ALC=44,f.BLC=45,f.CLC=46,f.DLC=47,f.ELC=48,f.FLC=49,f.GLC=50,f.HLC=51,f.ILC=52,f.JLC=53,f.KLC=54,f.LLC=55,f.MLC=56,f.NLC=57,f.OLC=58,f.PLC=59,f.QLC=60,f.RLC=61,f.SLC=62,f.TLC=63,f.ULC=64,f.VLC=65,f.WLC=66,f.XLC=67,f.YLC=68,f.ZLC=69,f.AUC=70,f.BUC=71,f.CUC=72,f.DUC=73,f.EUC=74,f.FUC=75,f.GUC=76,f.HUC=77,f.IUC=78,f.JUC=79,f.KUC=80,f.LUC=81,f.MUC=82,f.NUC=83,f.OUC=84,f.PUC=85,f.QUC=86,f.RUC=87,f.SUC=88,f.TUC=89,f.UUC=90,f.VUC=91,f.WUC=92,f.XUC=93,f.YUC=94,f.ZUC=95,f.D1=96,f.D2=97,f.D3=98,f.D4=99,f.D5=100,f.D6=101,f.D7=102,f.D8=103,f.D9=104,f.D0=105,f.OtherChar=106,f.RULE_parse=0,f.RULE_alternation=1,f.RULE_expr=2,f.RULE_element=3,f.RULE_quantifier=4,f.RULE_quantifier_type=5,f.RULE_character_class=6,f.RULE_capture=7,f.RULE_non_capture=8,f.RULE_option=9,f.RULE_option_flag=10,f.RULE_atom=11,f.RULE_cc_atom=12,f.RULE_shared_atom=13,f.RULE_literal=14,f.RULE_cc_literal=15,f.RULE_shared_literal=16,f.RULE_number=17,f.RULE_octal_char=18,f.RULE_octal_digit=19,f.RULE_digits=20,f.RULE_digit=21,f.RULE_name=22,f.RULE_alpha_nums=23,f.RULE_non_close_parens=24,f.RULE_non_close_paren=25,f.RULE_letter=26,f.ruleNames=["parse","alternation","expr","element","quantifier","quantifier_type","character_class","capture","non_capture","option","option_flag","atom","cc_atom","shared_atom","literal","cc_literal","shared_literal","number","octal_char","octal_digit","digits","digit","name","alpha_nums","non_close_parens","non_close_paren","letter"],f._LITERAL_NAMES=[void 0,void 0,void 0,"'\\'","'\\'","'\\'","'\\'","'\\'","'\\'","'\\'","'\\'",void 0,"'.'","'\\'","'\\'",void 0,void 0,"'\\'","'\\'","'\\'","'\\'","'['","']'","'^'","'-'","'?'","'+'","'*'","'{'","'}'","','","'$'","'|'","'('","')'","'<'","'>'","'''","'_'","':'","'#'","'='","'!'","'&'","'a'","'b'","'c'","'d'","'e'","'f'","'g'","'h'","'i'","'j'","'k'","'l'","'m'","'n'","'o'","'p'","'q'","'r'","'s'","'t'","'u'","'v'","'w'","'x'","'y'","'z'","'A'","'B'","'C'","'D'","'E'","'F'","'G'","'H'","'I'","'J'","'K'","'L'","'M'","'N'","'O'","'P'","'Q'","'R'","'S'","'T'","'U'","'V'","'W'","'X'","'Y'","'Z'","'1'","'2'","'3'","'4'","'5'","'6'","'7'","'8'","'9'","'0'"],f._SYMBOLIC_NAMES=[void 0,"Quoted","BlockQuoted","BellChar","ControlChar","EscapeChar","FormFeed","NewLine","CarriageReturn","Tab","Backslash","HexChar","Dot","DecimalDigit","NotDecimalDigit","CharWithProperty","CharWithoutProperty","WhiteSpace","NotWhiteSpace","WordChar","NotWordChar","CharacterClassStart","CharacterClassEnd","Caret","Hyphen","QuestionMark","Plus","Star","OpenBrace","CloseBrace","Comma","EndOfSubject","Pipe","OpenParen","CloseParen","LessThan","GreaterThan","SingleQuote","Underscore","Colon","Hash","Equals","Exclamation","Ampersand","ALC","BLC","CLC","DLC","ELC","FLC","GLC","HLC","ILC","JLC","KLC","LLC","MLC","NLC","OLC","PLC","QLC","RLC","SLC","TLC","ULC","VLC","WLC","XLC","YLC","ZLC","AUC","BUC","CUC","DUC","EUC","FUC","GUC","HUC","IUC","JUC","KUC","LUC","MUC","NUC","OUC","PUC","QUC","RUC","SUC","TUC","UUC","VUC","WUC","XUC","YUC","ZUC","D1","D2","D3","D4","D5","D6","D7","D8","D9","D0","OtherChar"],f.VOCABULARY=new d.VocabularyImpl(f._LITERAL_NAMES,f._SYMBOLIC_NAMES,[]),f._serializedATN='줝쪺֍꾺体؇쉁lĎ\t\t\t\t\t\t\b\t\b\t\t\t\n\t\n\v\t\v\f\t\f\r\t\r\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t?\n\fB\vE\n\fH\vL\nf\nk\n\b\b\b\bp\n\b\r\b\bq\b\b\b\b\bx\n\b\r\b\by\b\b\b~\n\b\t\t\t\t\t\t\t\t\t\t\t\t\tŒ\n\t\n\n\n\n\n\n\v\v\v\v—\n\v\r\v\v˜\v\v\f\f\r\r\r\r\r\r\r\r\r\r¨\n\r°\n¶\nÃ\nß\nì\nñ\n\ròû\nĀ\n\fă\vĆ\n\rć\b\n\f "$&(*,.0246\t66::@@bdkkbhkkbk$$.aĶ8;F\bI\ne\fj}‹“œ§¯±µ Â"Þ$à&ë(í*ð,ô.ö0ú2ą4ĉ6ċ899::;@<="=?><?B@>@AAB@CE\bDCEHFDFGGHFIK\rJL\nKJKLL\tMNNf\fOPPf\fQRRf\fSTTU$UVVW\fWfXYYZ$Z[ [\\\\]\f]f^__`$`a ab$bccd\fdfeMeOeQeSeXe^f\vgkhkikjgjhjik\rlmmonponpqqoqrrsstt~uwvxwvxyywyzz{{||~}l}u~€#€‚%‚ƒ.ƒ„&„……†$†Œ‡ˆ#ˆ‰‰Š$ŠŒ‹‹‡ŒŽ#Ž)‘‘’$’“”#”–•—\f–•—˜˜–˜™™šš›$›œ\tž¨Ÿ¨ ¨\b¡¨\t¢¨\n£¨\v¤¨¥¨¦¨!§ž§Ÿ§ §¡§¢§£§¤§¥§¦¨©ª ª««¬ ¬°­°®° ¯©¯­¯®°±²\t²³¶"´¶µ³µ´¶·Ã"¸Ã¹ÃºÃ»Ã¼Ã½Ã¾Ã!¿Ã"ÀÃ#ÁÃ$·¸¹º»¼½¾¿ÂÀÂÁÃ!Äß&Åß6Æß,ÇßÈßÉß\bÊß\tËß\nÌß\vÍß\rÎßÏßÐßÑßÒß ÓßÔß%Õß&Öß\'×ß(Øß)Ùß*Úß+Ûß,Üß-ÝßlÞÄÞÅÞÆÞÇÞÈÞÉÞÊÞËÞÌÞÍÞÎÞÏÞÐÞÑÞÒÞÓÞÔÞÕÞÖÞ×ÞØÞÙÞÚÞÛÞÜÞÝß#àá*á%âã\fãä\täå(åæ(æìçè\fèé(éê(êìëâëçì\'íî\tî)ïñ,ðïñòòðòóó+ôõ\tõ-ö÷0÷/øû6ùû(úøúùûāüĀ6ýĀ(þĀ,ÿüÿýÿþĀăāÿāĂĂ1ăāĄĆ4ąĄĆććąćĈĈ3ĉĊ\nĊ5ċČ\t\bČ7@FKejqy}‹˜§¯µÂÞëòúÿāć',r.CommonRegexParser=f;class h extends s.ParserRuleContext{alternation(){return this.getRuleContext(0,m)}EOF(){return this.getToken(f.EOF,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_parse}enterRule(e){e.enterParse&&e.enterParse(this)}exitRule(e){e.exitParse&&e.exitParse(this)}accept(e){return e.visitParse?e.visitParse(this):e.visitChildren(this)}}r.ParseContext=h;class m extends s.ParserRuleContext{expr(e){return void 0===e?this.getRuleContexts(y):this.getRuleContext(e,y)}Pipe(e){return void 0===e?this.getTokens(f.Pipe):this.getToken(f.Pipe,e)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_alternation}enterRule(e){e.enterAlternation&&e.enterAlternation(this)}exitRule(e){e.exitAlternation&&e.exitAlternation(this)}accept(e){return e.visitAlternation?e.visitAlternation(this):e.visitChildren(this)}}r.AlternationContext=m;class y extends s.ParserRuleContext{element(e){return void 0===e?this.getRuleContexts(v):this.getRuleContext(e,v)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_expr}enterRule(e){e.enterExpr&&e.enterExpr(this)}exitRule(e){e.exitExpr&&e.exitExpr(this)}accept(e){return e.visitExpr?e.visitExpr(this):e.visitChildren(this)}}r.ExprContext=y;class v extends s.ParserRuleContext{atom(){return this.getRuleContext(0,S)}quantifier(){return this.tryGetRuleContext(0,g)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_element}enterRule(e){e.enterElement&&e.enterElement(this)}exitRule(e){e.exitElement&&e.exitElement(this)}accept(e){return e.visitElement?e.visitElement(this):e.visitChildren(this)}}r.ElementContext=v;class g extends s.ParserRuleContext{QuestionMark(){return this.tryGetToken(f.QuestionMark,0)}quantifier_type(){return this.getRuleContext(0,b)}Plus(){return this.tryGetToken(f.Plus,0)}Star(){return this.tryGetToken(f.Star,0)}OpenBrace(){return this.tryGetToken(f.OpenBrace,0)}number(e){return void 0===e?this.getRuleContexts(I):this.getRuleContext(e,I)}CloseBrace(){return this.tryGetToken(f.CloseBrace,0)}Comma(){return this.tryGetToken(f.Comma,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_quantifier}enterRule(e){e.enterQuantifier&&e.enterQuantifier(this)}exitRule(e){e.exitQuantifier&&e.exitQuantifier(this)}accept(e){return e.visitQuantifier?e.visitQuantifier(this):e.visitChildren(this)}}r.QuantifierContext=g;class b extends s.ParserRuleContext{Plus(){return this.tryGetToken(f.Plus,0)}QuestionMark(){return this.tryGetToken(f.QuestionMark,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_quantifier_type}enterRule(e){e.enterQuantifier_type&&e.enterQuantifier_type(this)}exitRule(e){e.exitQuantifier_type&&e.exitQuantifier_type(this)}accept(e){return e.visitQuantifier_type?e.visitQuantifier_type(this):e.visitChildren(this)}}r.Quantifier_typeContext=b;class C extends s.ParserRuleContext{CharacterClassStart(){return this.getToken(f.CharacterClassStart,0)}Caret(){return this.tryGetToken(f.Caret,0)}CharacterClassEnd(){return this.getToken(f.CharacterClassEnd,0)}cc_atom(e){return void 0===e?this.getRuleContexts(O):this.getRuleContext(e,O)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_character_class}enterRule(e){e.enterCharacter_class&&e.enterCharacter_class(this)}exitRule(e){e.exitCharacter_class&&e.exitCharacter_class(this)}accept(e){return e.visitCharacter_class?e.visitCharacter_class(this):e.visitChildren(this)}}r.Character_classContext=C;class E extends s.ParserRuleContext{OpenParen(){return this.getToken(f.OpenParen,0)}QuestionMark(){return this.tryGetToken(f.QuestionMark,0)}LessThan(){return this.tryGetToken(f.LessThan,0)}name(){return this.tryGetRuleContext(0,D)}GreaterThan(){return this.tryGetToken(f.GreaterThan,0)}alternation(){return this.getRuleContext(0,m)}CloseParen(){return this.getToken(f.CloseParen,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_capture}enterRule(e){e.enterCapture&&e.enterCapture(this)}exitRule(e){e.exitCapture&&e.exitCapture(this)}accept(e){return e.visitCapture?e.visitCapture(this):e.visitChildren(this)}}r.CaptureContext=E;class _ extends s.ParserRuleContext{OpenParen(){return this.getToken(f.OpenParen,0)}QuestionMark(){return this.getToken(f.QuestionMark,0)}Colon(){return this.getToken(f.Colon,0)}alternation(){return this.getRuleContext(0,m)}CloseParen(){return this.getToken(f.CloseParen,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_non_capture}enterRule(e){e.enterNon_capture&&e.enterNon_capture(this)}exitRule(e){e.exitNon_capture&&e.exitNon_capture(this)}accept(e){return e.visitNon_capture?e.visitNon_capture(this):e.visitChildren(this)}}r.Non_captureContext=_;class T extends s.ParserRuleContext{OpenParen(){return this.getToken(f.OpenParen,0)}QuestionMark(){return this.getToken(f.QuestionMark,0)}CloseParen(){return this.getToken(f.CloseParen,0)}option_flag(e){return void 0===e?this.getRuleContexts(x):this.getRuleContext(e,x)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_option}enterRule(e){e.enterOption&&e.enterOption(this)}exitRule(e){e.exitOption&&e.exitOption(this)}accept(e){return e.visitOption?e.visitOption(this):e.visitChildren(this)}}r.OptionContext=T;class x extends s.ParserRuleContext{ILC(){return this.tryGetToken(f.ILC,0)}MLC(){return this.tryGetToken(f.MLC,0)}SLC(){return this.tryGetToken(f.SLC,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_option_flag}enterRule(e){e.enterOption_flag&&e.enterOption_flag(this)}exitRule(e){e.exitOption_flag&&e.exitOption_flag(this)}accept(e){return e.visitOption_flag?e.visitOption_flag(this):e.visitChildren(this)}}r.Option_flagContext=x;class S extends s.ParserRuleContext{shared_atom(){return this.tryGetRuleContext(0,w)}literal(){return this.tryGetRuleContext(0,A)}character_class(){return this.tryGetRuleContext(0,C)}capture(){return this.tryGetRuleContext(0,E)}non_capture(){return this.tryGetRuleContext(0,_)}option(){return this.tryGetRuleContext(0,T)}Dot(){return this.tryGetToken(f.Dot,0)}Caret(){return this.tryGetToken(f.Caret,0)}EndOfSubject(){return this.tryGetToken(f.EndOfSubject,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_atom}enterRule(e){e.enterAtom&&e.enterAtom(this)}exitRule(e){e.exitAtom&&e.exitAtom(this)}accept(e){return e.visitAtom?e.visitAtom(this):e.visitChildren(this)}}r.AtomContext=S;class O extends s.ParserRuleContext{cc_literal(e){return void 0===e?this.getRuleContexts(N):this.getRuleContext(e,N)}Hyphen(){return this.tryGetToken(f.Hyphen,0)}shared_atom(){return this.tryGetRuleContext(0,w)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_cc_atom}enterRule(e){e.enterCc_atom&&e.enterCc_atom(this)}exitRule(e){e.exitCc_atom&&e.exitCc_atom(this)}accept(e){return e.visitCc_atom?e.visitCc_atom(this):e.visitChildren(this)}}r.Cc_atomContext=O;class w extends s.ParserRuleContext{ControlChar(){return this.tryGetToken(f.ControlChar,0)}DecimalDigit(){return this.tryGetToken(f.DecimalDigit,0)}NotDecimalDigit(){return this.tryGetToken(f.NotDecimalDigit,0)}CharWithProperty(){return this.tryGetToken(f.CharWithProperty,0)}CharWithoutProperty(){return this.tryGetToken(f.CharWithoutProperty,0)}WhiteSpace(){return this.tryGetToken(f.WhiteSpace,0)}NotWhiteSpace(){return this.tryGetToken(f.NotWhiteSpace,0)}WordChar(){return this.tryGetToken(f.WordChar,0)}NotWordChar(){return this.tryGetToken(f.NotWordChar,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_shared_atom}enterRule(e){e.enterShared_atom&&e.enterShared_atom(this)}exitRule(e){e.exitShared_atom&&e.exitShared_atom(this)}accept(e){return e.visitShared_atom?e.visitShared_atom(this):e.visitChildren(this)}}r.Shared_atomContext=w;class A extends s.ParserRuleContext{shared_literal(){return this.tryGetRuleContext(0,P)}CharacterClassEnd(){return this.tryGetToken(f.CharacterClassEnd,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_literal}enterRule(e){e.enterLiteral&&e.enterLiteral(this)}exitRule(e){e.exitLiteral&&e.exitLiteral(this)}accept(e){return e.visitLiteral?e.visitLiteral(this):e.visitChildren(this)}}r.LiteralContext=A;class N extends s.ParserRuleContext{shared_literal(){return this.tryGetRuleContext(0,P)}Dot(){return this.tryGetToken(f.Dot,0)}CharacterClassStart(){return this.tryGetToken(f.CharacterClassStart,0)}Caret(){return this.tryGetToken(f.Caret,0)}QuestionMark(){return this.tryGetToken(f.QuestionMark,0)}Plus(){return this.tryGetToken(f.Plus,0)}Star(){return this.tryGetToken(f.Star,0)}EndOfSubject(){return this.tryGetToken(f.EndOfSubject,0)}Pipe(){return this.tryGetToken(f.Pipe,0)}OpenParen(){return this.tryGetToken(f.OpenParen,0)}CloseParen(){return this.tryGetToken(f.CloseParen,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_cc_literal}enterRule(e){e.enterCc_literal&&e.enterCc_literal(this)}exitRule(e){e.exitCc_literal&&e.exitCc_literal(this)}accept(e){return e.visitCc_literal?e.visitCc_literal(this):e.visitChildren(this)}}r.Cc_literalContext=N;class P extends s.ParserRuleContext{octal_char(){return this.tryGetRuleContext(0,R)}letter(){return this.tryGetRuleContext(0,B)}digit(){return this.tryGetRuleContext(0,M)}BellChar(){return this.tryGetToken(f.BellChar,0)}EscapeChar(){return this.tryGetToken(f.EscapeChar,0)}FormFeed(){return this.tryGetToken(f.FormFeed,0)}NewLine(){return this.tryGetToken(f.NewLine,0)}CarriageReturn(){return this.tryGetToken(f.CarriageReturn,0)}Tab(){return this.tryGetToken(f.Tab,0)}HexChar(){return this.tryGetToken(f.HexChar,0)}Quoted(){return this.tryGetToken(f.Quoted,0)}BlockQuoted(){return this.tryGetToken(f.BlockQuoted,0)}OpenBrace(){return this.tryGetToken(f.OpenBrace,0)}CloseBrace(){return this.tryGetToken(f.CloseBrace,0)}Comma(){return this.tryGetToken(f.Comma,0)}Hyphen(){return this.tryGetToken(f.Hyphen,0)}LessThan(){return this.tryGetToken(f.LessThan,0)}GreaterThan(){return this.tryGetToken(f.GreaterThan,0)}SingleQuote(){return this.tryGetToken(f.SingleQuote,0)}Underscore(){return this.tryGetToken(f.Underscore,0)}Colon(){return this.tryGetToken(f.Colon,0)}Hash(){return this.tryGetToken(f.Hash,0)}Equals(){return this.tryGetToken(f.Equals,0)}Exclamation(){return this.tryGetToken(f.Exclamation,0)}Ampersand(){return this.tryGetToken(f.Ampersand,0)}OtherChar(){return this.tryGetToken(f.OtherChar,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_shared_literal}enterRule(e){e.enterShared_literal&&e.enterShared_literal(this)}exitRule(e){e.exitShared_literal&&e.exitShared_literal(this)}accept(e){return e.visitShared_literal?e.visitShared_literal(this):e.visitChildren(this)}}r.Shared_literalContext=P;class I extends s.ParserRuleContext{digits(){return this.getRuleContext(0,k)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_number}enterRule(e){e.enterNumber&&e.enterNumber(this)}exitRule(e){e.exitNumber&&e.exitNumber(this)}accept(e){return e.visitNumber?e.visitNumber(this):e.visitChildren(this)}}r.NumberContext=I;class R extends s.ParserRuleContext{Backslash(){return this.tryGetToken(f.Backslash,0)}octal_digit(e){return void 0===e?this.getRuleContexts(L):this.getRuleContext(e,L)}D0(){return this.tryGetToken(f.D0,0)}D1(){return this.tryGetToken(f.D1,0)}D2(){return this.tryGetToken(f.D2,0)}D3(){return this.tryGetToken(f.D3,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_octal_char}enterRule(e){e.enterOctal_char&&e.enterOctal_char(this)}exitRule(e){e.exitOctal_char&&e.exitOctal_char(this)}accept(e){return e.visitOctal_char?e.visitOctal_char(this):e.visitChildren(this)}}r.Octal_charContext=R;class L extends s.ParserRuleContext{D0(){return this.tryGetToken(f.D0,0)}D1(){return this.tryGetToken(f.D1,0)}D2(){return this.tryGetToken(f.D2,0)}D3(){return this.tryGetToken(f.D3,0)}D4(){return this.tryGetToken(f.D4,0)}D5(){return this.tryGetToken(f.D5,0)}D6(){return this.tryGetToken(f.D6,0)}D7(){return this.tryGetToken(f.D7,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_octal_digit}enterRule(e){e.enterOctal_digit&&e.enterOctal_digit(this)}exitRule(e){e.exitOctal_digit&&e.exitOctal_digit(this)}accept(e){return e.visitOctal_digit?e.visitOctal_digit(this):e.visitChildren(this)}}r.Octal_digitContext=L;class k extends s.ParserRuleContext{digit(e){return void 0===e?this.getRuleContexts(M):this.getRuleContext(e,M)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_digits}enterRule(e){e.enterDigits&&e.enterDigits(this)}exitRule(e){e.exitDigits&&e.exitDigits(this)}accept(e){return e.visitDigits?e.visitDigits(this):e.visitChildren(this)}}r.DigitsContext=k;class M extends s.ParserRuleContext{D0(){return this.tryGetToken(f.D0,0)}D1(){return this.tryGetToken(f.D1,0)}D2(){return this.tryGetToken(f.D2,0)}D3(){return this.tryGetToken(f.D3,0)}D4(){return this.tryGetToken(f.D4,0)}D5(){return this.tryGetToken(f.D5,0)}D6(){return this.tryGetToken(f.D6,0)}D7(){return this.tryGetToken(f.D7,0)}D8(){return this.tryGetToken(f.D8,0)}D9(){return this.tryGetToken(f.D9,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_digit}enterRule(e){e.enterDigit&&e.enterDigit(this)}exitRule(e){e.exitDigit&&e.exitDigit(this)}accept(e){return e.visitDigit?e.visitDigit(this):e.visitChildren(this)}}r.DigitContext=M;class D extends s.ParserRuleContext{alpha_nums(){return this.getRuleContext(0,U)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_name}enterRule(e){e.enterName&&e.enterName(this)}exitRule(e){e.exitName&&e.exitName(this)}accept(e){return e.visitName?e.visitName(this):e.visitChildren(this)}}r.NameContext=D;class U extends s.ParserRuleContext{letter(e){return void 0===e?this.getRuleContexts(B):this.getRuleContext(e,B)}Underscore(e){return void 0===e?this.getTokens(f.Underscore):this.getToken(f.Underscore,e)}digit(e){return void 0===e?this.getRuleContexts(M):this.getRuleContext(e,M)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_alpha_nums}enterRule(e){e.enterAlpha_nums&&e.enterAlpha_nums(this)}exitRule(e){e.exitAlpha_nums&&e.exitAlpha_nums(this)}accept(e){return e.visitAlpha_nums?e.visitAlpha_nums(this):e.visitChildren(this)}}r.Alpha_numsContext=U;class j extends s.ParserRuleContext{non_close_paren(e){return void 0===e?this.getRuleContexts(F):this.getRuleContext(e,F)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_non_close_parens}enterRule(e){e.enterNon_close_parens&&e.enterNon_close_parens(this)}exitRule(e){e.exitNon_close_parens&&e.exitNon_close_parens(this)}accept(e){return e.visitNon_close_parens?e.visitNon_close_parens(this):e.visitChildren(this)}}r.Non_close_parensContext=j;class F extends s.ParserRuleContext{CloseParen(){return this.getToken(f.CloseParen,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_non_close_paren}enterRule(e){e.enterNon_close_paren&&e.enterNon_close_paren(this)}exitRule(e){e.exitNon_close_paren&&e.exitNon_close_paren(this)}accept(e){return e.visitNon_close_paren?e.visitNon_close_paren(this):e.visitChildren(this)}}r.Non_close_parenContext=F;class B extends s.ParserRuleContext{ALC(){return this.tryGetToken(f.ALC,0)}BLC(){return this.tryGetToken(f.BLC,0)}CLC(){return this.tryGetToken(f.CLC,0)}DLC(){return this.tryGetToken(f.DLC,0)}ELC(){return this.tryGetToken(f.ELC,0)}FLC(){return this.tryGetToken(f.FLC,0)}GLC(){return this.tryGetToken(f.GLC,0)}HLC(){return this.tryGetToken(f.HLC,0)}ILC(){return this.tryGetToken(f.ILC,0)}JLC(){return this.tryGetToken(f.JLC,0)}KLC(){return this.tryGetToken(f.KLC,0)}LLC(){return this.tryGetToken(f.LLC,0)}MLC(){return this.tryGetToken(f.MLC,0)}NLC(){return this.tryGetToken(f.NLC,0)}OLC(){return this.tryGetToken(f.OLC,0)}PLC(){return this.tryGetToken(f.PLC,0)}QLC(){return this.tryGetToken(f.QLC,0)}RLC(){return this.tryGetToken(f.RLC,0)}SLC(){return this.tryGetToken(f.SLC,0)}TLC(){return this.tryGetToken(f.TLC,0)}ULC(){return this.tryGetToken(f.ULC,0)}VLC(){return this.tryGetToken(f.VLC,0)}WLC(){return this.tryGetToken(f.WLC,0)}XLC(){return this.tryGetToken(f.XLC,0)}YLC(){return this.tryGetToken(f.YLC,0)}ZLC(){return this.tryGetToken(f.ZLC,0)}AUC(){return this.tryGetToken(f.AUC,0)}BUC(){return this.tryGetToken(f.BUC,0)}CUC(){return this.tryGetToken(f.CUC,0)}DUC(){return this.tryGetToken(f.DUC,0)}EUC(){return this.tryGetToken(f.EUC,0)}FUC(){return this.tryGetToken(f.FUC,0)}GUC(){return this.tryGetToken(f.GUC,0)}HUC(){return this.tryGetToken(f.HUC,0)}IUC(){return this.tryGetToken(f.IUC,0)}JUC(){return this.tryGetToken(f.JUC,0)}KUC(){return this.tryGetToken(f.KUC,0)}LUC(){return this.tryGetToken(f.LUC,0)}MUC(){return this.tryGetToken(f.MUC,0)}NUC(){return this.tryGetToken(f.NUC,0)}OUC(){return this.tryGetToken(f.OUC,0)}PUC(){return this.tryGetToken(f.PUC,0)}QUC(){return this.tryGetToken(f.QUC,0)}RUC(){return this.tryGetToken(f.RUC,0)}SUC(){return this.tryGetToken(f.SUC,0)}TUC(){return this.tryGetToken(f.TUC,0)}UUC(){return this.tryGetToken(f.UUC,0)}VUC(){return this.tryGetToken(f.VUC,0)}WUC(){return this.tryGetToken(f.WUC,0)}XUC(){return this.tryGetToken(f.XUC,0)}YUC(){return this.tryGetToken(f.YUC,0)}ZUC(){return this.tryGetToken(f.ZUC,0)}constructor(e,t){super(e,t)}get ruleIndex(){return f.RULE_letter}enterRule(e){e.enterLetter&&e.enterLetter(this)}exitRule(e){e.exitLetter&&e.exitLetter(this)}accept(e){return e.visitLetter?e.visitLetter(this):e.visitChildren(this)}}r.LetterContext=B},{254:254,255:255,257:257,260:260,266:266,268:268,273:273,310:310,355:355}],254:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(255),o=e(260);class a extends o.RecognitionException{constructor(e,t,r,n,o,a){e instanceof i.Parser&&(void 0===t&&(t=e.inputStream),void 0===r&&(r=e.currentToken),void 0===n&&(n=e.currentToken),void 0===a&&(a=e.context)),super(e,t,a),this._deadEndConfigs=o,this._startToken=r,this.setOffendingToken(e,n)}get startToken(){return this._startToken}get deadEndConfigs(){return this._deadEndConfigs}}n([e(242).NotNull],a.prototype,"_startToken",void 0),r.NoViableAltException=a},{242:242,255:255,260:260}],257:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(357),o=e(348),a=e(242),s=e(262),l=e(361);class u extends s.RuleContext{constructor(e,t){null==t?super():super(e,t)}static emptyContext(){return u.EMPTY}copyFrom(e){if(this._parent=e._parent,this.invokingState=e.invokingState,this._start=e._start,this._stop=e._stop,e.children){this.children=[];for(let t of e.children)t instanceof i.ErrorNode&&this.addChild(t)}}enterRule(e){}exitRule(e){}addAnyChild(e){return this.children?this.children.push(e):this.children=[e],e}addChild(e){return e instanceof l.TerminalNode?(e.setParent(this),void this.addAnyChild(e)):e instanceof s.RuleContext?void this.addAnyChild(e):(e=new l.TerminalNode(e),this.addAnyChild(e),e.setParent(this),e)}addErrorNode(e){if(e instanceof i.ErrorNode){const t=e;return t.setParent(this),this.addAnyChild(t)}{const t=e;let r=new i.ErrorNode(t);return this.addAnyChild(r),r.setParent(this),r}}removeLastChild(){this.children&&this.children.pop()}get parent(){let e=super.parent;if(void 0===e||e instanceof u)return e;throw new TypeError("Invalid parent type for ParserRuleContext")}getChild(e,t){if(!this.children||e<0||e>=this.children.length)throw new RangeError("index parameter must be between >= 0 and <= number of children.");if(null==t)return this.children[e];let r=this.tryGetChild(e,t);if(void 0===r)throw new Error("The specified node does not exist");return r}tryGetChild(e,t){if(!this.children||e<0||e>=this.children.length)return;let r=-1;for(let n of this.children)if(n instanceof t&&++r===e)return n}getToken(e,t){let r=this.tryGetToken(e,t);if(void 0===r)throw new Error("The specified token does not exist");return r}tryGetToken(e,t){if(!this.children||t<0||t>=this.children.length)return;let r=-1;for(let n of this.children)if(n instanceof l.TerminalNode&&n.symbol.type===e&&++r===t)return n}getTokens(e){let t=[];if(!this.children)return t;for(let r of this.children)r instanceof l.TerminalNode&&r.symbol.type===e&&t.push(r);return t}get ruleContext(){return this}getRuleContext(e,t){return this.getChild(e,t)}tryGetRuleContext(e,t){return this.tryGetChild(e,t)}getRuleContexts(e){let t=[];if(!this.children)return t;for(let r of this.children)r instanceof e&&t.push(r);return t}get childCount(){return this.children?this.children.length:0}get sourceInterval(){return this._start?!this._stop||this._stop.tokenIndex<this._start.tokenIndex?o.Interval.of(this._start.tokenIndex,this._start.tokenIndex-1):o.Interval.of(this._start.tokenIndex,this._stop.tokenIndex):o.Interval.INVALID}get start(){return this._start}get stop(){return this._stop}toInfoString(e){return"ParserRuleContext"+e.getRuleInvocationStack(this).reverse()+"{start="+this._start+", stop="+this._stop+"}"}}u.EMPTY=new u,n([a.Override],u.prototype,"parent",null),n([a.Override],u.prototype,"childCount",null),n([a.Override],u.prototype,"sourceInterval",null),r.ParserRuleContext=u},{242:242,262:262,348:348,357:357,361:361}],260:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RecognitionException=class extends Error{constructor(e,t,r,n){super(n),this._offendingState=-1,this._recognizer=e,this.input=t,this.ctx=r,e&&(this._offendingState=e.state)}get offendingState(){return this._offendingState}setOffendingState(e){this._offendingState=e}get expectedTokens(){if(this._recognizer)return this._recognizer.atn.getExpectedTokens(this._offendingState,this.ctx)}get context(){return this.ctx}get inputStream(){return this.input}getOffendingToken(e){if(!e||e===this._recognizer)return this.offendingToken}setOffendingToken(e,t){e===this._recognizer&&(this.offendingToken=t)}get recognizer(){return this._recognizer}}},{}],255:[function(e,t,r){(function(t){(function(){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){e.done?i(e.value):new r((function(t){t(e.value)})).then(a,s)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(r,"__esModule",{value:!0});const a=e(355),s=e(272),l=e(273),u=e(243),c=e(357),d=e(347),p=e(250),f=e(242),h=e(309),m=e(310),y=e(259),v=e(261),g=e(361),b=e(266);class C{constructor(e,t){this.ruleNames=e,this.tokenStream=t}enterEveryRule(e){console.log("enter "+this.ruleNames[e.ruleIndex]+", LT(1)="+this.tokenStream.LT(1).text)}exitEveryRule(e){console.log("exit "+this.ruleNames[e.ruleIndex]+", LT(1)="+this.tokenStream.LT(1).text)}visitErrorNode(e){}visitTerminal(e){let t=e.parent.ruleContext,r=e.symbol;console.log("consume "+r+" rule "+this.ruleNames[t.ruleIndex])}}n([f.Override],C.prototype,"enterEveryRule",null),n([f.Override],C.prototype,"exitEveryRule",null),n([f.Override],C.prototype,"visitErrorNode",null),n([f.Override],C.prototype,"visitTerminal",null);class E extends v.Recognizer{constructor(e){super(),this._errHandler=new u.DefaultErrorStrategy,this._precedenceStack=new d.IntegerStack,this._buildParseTrees=!0,this._parseListeners=[],this._syntaxErrors=0,this.matchedEOF=!1,this._precedenceStack.push(0),this.inputStream=e}reset(e){(void 0===e||e)&&this.inputStream.seek(0),this._errHandler.reset(this),this._ctx=void 0,this._syntaxErrors=0,this.matchedEOF=!1,this.isTrace=!1,this._precedenceStack.clear(),this._precedenceStack.push(0);let t=this.interpreter;null!=t&&t.reset()}match(e){let t=this.currentToken;return t.type===e?(e===b.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(this.createErrorNode(this._ctx,t))),t}matchWildcard(){let e=this.currentToken;return e.type>0?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(this.createErrorNode(this._ctx,e))),e}set buildParseTree(e){this._buildParseTrees=e}get buildParseTree(){return this._buildParseTrees}getParseListeners(){return this._parseListeners}addParseListener(e){if(null==e)throw new TypeError("listener cannot be null");this._parseListeners.push(e)}removeParseListener(e){let t=this._parseListeners.findIndex((t=>t===e));-1!==t&&this._parseListeners.splice(t,1)}removeParseListeners(){this._parseListeners.length=0}triggerEnterRuleEvent(){for(let e of this._parseListeners)e.enterEveryRule&&e.enterEveryRule(this._ctx),this._ctx.enterRule(e)}triggerExitRuleEvent(){for(let e=this._parseListeners.length-1;e>=0;e--){let t=this._parseListeners[e];this._ctx.exitRule(t),t.exitEveryRule&&t.exitEveryRule(this._ctx)}}get numberOfSyntaxErrors(){return this._syntaxErrors}get tokenFactory(){return this._input.tokenSource.tokenFactory}getATNWithBypassAlts(){let e=this.serializedATN;if(null==e)throw new Error("The current parser does not support an ATN with bypass alternatives.");let t=E.bypassAltsAtnCache.get(e);if(null==t){let r=new s.ATNDeserializationOptions;r.isGenerateRuleBypassTransitions=!0,t=new l.ATNDeserializer(r).deserialize(a.toCharArray(e)),E.bypassAltsAtnCache.set(e,t)}return t}compileParseTreePattern(t,r,n){return o(this,void 0,void 0,(function*(){if(!n){if(this.inputStream){let e=this.inputStream.tokenSource;e instanceof p.Lexer&&(n=e)}if(!n)throw new Error("Parser can't discover a lexer to use")}let i=n;return new((yield Promise.resolve().then((()=>e(367)))).ParseTreePatternMatcher)(i,this).compile(t,r)}))}get errorHandler(){return this._errHandler}set errorHandler(e){this._errHandler=e}get inputStream(){return this._input}set inputStream(e){this.reset(!1),this._input=e}get currentToken(){return this._input.LT(1)}notifyErrorListeners(e,t,r){void 0===t?t=this.currentToken:null===t&&(t=void 0),this._syntaxErrors++;let n=-1,i=-1;null!=t&&(n=t.line,i=t.charPositionInLine);let o=this.getErrorListenerDispatch();o.syntaxError&&o.syntaxError(this,t,n,i,e,r)}consume(){let e=this.currentToken;e.type!==E.EOF&&this.inputStream.consume();let t=0!==this._parseListeners.length;if(this._buildParseTrees||t)if(this._errHandler.inErrorRecoveryMode(this)){let r=this._ctx.addErrorNode(this.createErrorNode(this._ctx,e));if(t)for(let e of this._parseListeners)e.visitErrorNode&&e.visitErrorNode(r)}else{let r=this.createTerminalNode(this._ctx,e);if(this._ctx.addChild(r),t)for(let e of this._parseListeners)e.visitTerminal&&e.visitTerminal(r)}return e}createTerminalNode(e,t){return new g.TerminalNode(t)}createErrorNode(e,t){return new c.ErrorNode(t)}addContextToParseTree(){let e=this._ctx._parent;null!=e&&e.addChild(this._ctx)}enterRule(e,t,r){this.state=t,this._ctx=e,this._ctx._start=this._input.LT(1),this._buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}enterLeftFactoredRule(e,t,r){if(this.state=t,this._buildParseTrees){let t=this._ctx.getChild(this._ctx.childCount-1);this._ctx.removeLastChild(),t._parent=e,e.addChild(t)}this._ctx=e,this._ctx._start=this._input.LT(1),this._buildParseTrees&&this.addContextToParseTree(),this.triggerEnterRuleEvent()}exitRule(){this.matchedEOF?this._ctx._stop=this._input.LT(1):this._ctx._stop=this._input.tryLT(-1),this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx._parent}enterOuterAlt(e,t){if(e.altNumber=t,this._buildParseTrees&&this._ctx!==e){let t=this._ctx._parent;null!=t&&(t.removeLastChild(),t.addChild(e))}this._ctx=e}get precedence(){return this._precedenceStack.isEmpty?-1:this._precedenceStack.peek()}enterRecursionRule(e,t,r,n){this.state=t,this._precedenceStack.push(n),this._ctx=e,this._ctx._start=this._input.LT(1),this.triggerEnterRuleEvent()}pushNewRecursionContext(e,t,r){let n=this._ctx;n._parent=e,n.invokingState=t,n._stop=this._input.tryLT(-1),this._ctx=e,this._ctx._start=n._start,this._buildParseTrees&&this._ctx.addChild(n),this.triggerEnterRuleEvent()}unrollRecursionContexts(e){this._precedenceStack.pop(),this._ctx._stop=this._input.tryLT(-1);let t=this._ctx;if(this._parseListeners.length>0)for(;this._ctx!==e;)this.triggerExitRuleEvent(),this._ctx=this._ctx._parent;else this._ctx=e;t._parent=e,this._buildParseTrees&&null!=e&&e.addChild(t)}getInvokingContext(e){let t=this._ctx;for(;t&&t.ruleIndex!==e;)t=t._parent;return t}get context(){return this._ctx}set context(e){this._ctx=e}precpred(e,t){return t>=this._precedenceStack.peek()}getErrorListenerDispatch(){return new y.ProxyParserErrorListener(this.getErrorListeners())}inContext(e){return!1}isExpectedToken(e){let t=this.interpreter.atn,r=this._ctx,n=t.states[this.state],i=t.nextTokens(n);if(i.contains(e))return!0;if(!i.contains(b.Token.EPSILON))return!1;for(;null!=r&&r.invokingState>=0&&i.contains(b.Token.EPSILON);){let n=t.states[r.invokingState].transition(0);if((i=t.nextTokens(n.followState)).contains(e))return!0;r=r._parent}return!(!i.contains(b.Token.EPSILON)||e!==b.Token.EOF)}get isMatchedEOF(){return this.matchedEOF}getExpectedTokens(){return this.atn.getExpectedTokens(this.state,this.context)}getExpectedTokensWithinCurrentRule(){let e=this.interpreter.atn,t=e.states[this.state];return e.nextTokens(t)}getRuleIndex(e){let t=this.getRuleIndexMap().get(e);return null!=t?t:-1}get ruleContext(){return this._ctx}getRuleInvocationStack(e=this._ctx){let t=e,r=this.ruleNames,n=[];for(;null!=t;){let e=t.ruleIndex;e<0?n.push("n/a"):n.push(r[e]),t=t._parent}return n}getDFAStrings(){let e=[];for(let t of this._interp.atn.decisionToDFA)e.push(t.toString(this.vocabulary,this.ruleNames));return e}dumpDFA(){let e=!1;for(let r of this._interp.atn.decisionToDFA)r.isEmpty||(e&&console.log(),console.log("Decision "+r.decision+":"),t.stdout.write(r.toString(this.vocabulary,this.ruleNames)),e=!0)}get sourceName(){return this._input.sourceName}get parseInfo(){return Promise.resolve().then((()=>e(319))).then((e=>{let t=this.interpreter;if(t instanceof e.ProfilingATNSimulator)return new h.ParseInfo(t)}))}setProfile(t){return o(this,void 0,void 0,(function*(){let r=yield Promise.resolve().then((()=>e(319))),n=this.interpreter;t?n instanceof r.ProfilingATNSimulator||(this.interpreter=new r.ProfilingATNSimulator(this)):n instanceof r.ProfilingATNSimulator&&(this.interpreter=new m.ParserATNSimulator(this.atn,this)),this.interpreter.setPredictionMode(n.getPredictionMode())}))}set isTrace(e){e?(this._tracer?this.removeParseListener(this._tracer):this._tracer=new C(this.ruleNames,this._input),this.addParseListener(this._tracer)):this._tracer&&(this.removeParseListener(this._tracer),this._tracer=void 0)}get isTrace(){return null!=this._tracer}}E.bypassAltsAtnCache=new Map,n([f.NotNull],E.prototype,"_errHandler",void 0),n([f.NotNull],E.prototype,"match",null),n([f.NotNull],E.prototype,"matchWildcard",null),n([f.NotNull],E.prototype,"getParseListeners",null),n([i(0,f.NotNull)],E.prototype,"addParseListener",null),n([f.NotNull],E.prototype,"getATNWithBypassAlts",null),n([f.NotNull,i(0,f.NotNull)],E.prototype,"errorHandler",null),n([f.Override],E.prototype,"inputStream",null),n([f.NotNull],E.prototype,"currentToken",null),n([i(0,f.NotNull)],E.prototype,"enterRule",null),n([f.Override,i(0,f.Nullable)],E.prototype,"precpred",null),n([f.Override],E.prototype,"getErrorListenerDispatch",null),n([f.NotNull],E.prototype,"getExpectedTokens",null),n([f.NotNull],E.prototype,"getExpectedTokensWithinCurrentRule",null),n([f.Override],E.prototype,"parseInfo",null),r.Parser=E}).call(this)}).call(this,e(422))},{242:242,243:243,250:250,259:259,261:261,266:266,272:272,273:273,309:309,310:310,319:319,347:347,355:355,357:357,361:361,367:367,422:422}],266:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(248);var i;(i=r.Token||(r.Token={})).INVALID_TYPE=0,i.EPSILON=-2,i.MIN_USER_TOKEN_TYPE=1,i.EOF=n.IntStream.EOF,i.DEFAULT_CHANNEL=0,i.HIDDEN_CHANNEL=1,i.MIN_USER_CHANNEL_VALUE=2},{248:248}],310:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(333),a=e(278),s=e(340),l=e(342),u=e(269),c=e(270),d=e(271),p=e(274),f=e(276),h=e(280),m=e(343),y=e(285),v=e(289),g=e(336),b=e(346),C=e(348),E=e(248),_=e(242),T=e(307),x=e(254),S=e(352),O=e(257),w=e(316),A=e(317),N=e(318),P=e(322),I=e(323),R=e(324),L=e(325),k=e(326),M=e(266),D=e(268);let U=class e extends p.ATNSimulator{constructor(e,t){super(e),this.predictionMode=N.PredictionMode.LL,this.force_global_context=!1,this.always_try_local_context=!0,this.enable_global_context_dfa=!1,this.optimize_unique_closure=!0,this.optimize_ll1=!0,this.optimize_tail_calls=!0,this.tail_call_preserves_sll=!0,this.treat_sllk1_conflict_as_ambiguity=!1,this.reportAmbiguities=!1,this.userWantsCtxSensitive=!0,this._parser=t}getPredictionMode(){return this.predictionMode}setPredictionMode(e){this.predictionMode=e}reset(){}adaptivePredict(t,r,n,i){void 0===i&&(i=!1);let o,a=this.atn.decisionToDFA[r];if(this.optimize_ll1&&!a.isPrecedenceDfa&&!a.isEmpty){let e=t.LA(1);if(e>=0&&e<=65535){let t=(r<<16>>>0)+e,n=this.atn.LL1Table.get(t);if(null!=n)return n}}this.dfa=a,this.force_global_context?i=!0:this.always_try_local_context||(i=i||a.isContextSensitive),this.userWantsCtxSensitive=i||this.predictionMode!==N.PredictionMode.SLL&&null!=n&&!this.atn.decisionToState[r].sll,null==n&&(n=O.ParserRuleContext.emptyContext()),a.isEmpty||(o=this.getStartState(a,t,n,i)),null==o&&(null==n&&(n=O.ParserRuleContext.emptyContext()),e.debug&&console.log("ATN decision "+a.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+n.toString(this._parser)),o=this.computeStartState(a,n,i));let s=t.mark(),l=t.index;try{let r=this.execDFA(a,t,l,o);return e.debug&&console.log("DFA after predictATN: "+a.toString(this._parser.vocabulary,this._parser.ruleNames)),r}finally{this.dfa=void 0,t.seek(l),t.release(s)}}getStartState(e,t,r,n){if(!n){if(e.isPrecedenceDfa){let t=e.getPrecedenceStartState(this._parser.precedence,!1);if(null==t)return;return new k.SimulatorState(r,t,!1,r)}if(null==e.s0)return;return new k.SimulatorState(r,e.s0,!1,r)}if(!this.enable_global_context_dfa)return;let i,o=r;for(i=e.isPrecedenceDfa?e.getPrecedenceStartState(this._parser.precedence,!0):e.s0full;null!=o&&null!=i&&i.isContextSensitive;)o=this.skipTailCalls(o),i=i.getContextTarget(this.getReturnState(o)),o.isEmpty||(o=o.parent);return null!=i?new k.SimulatorState(r,i,n,o):void 0}execDFA(t,r,n,i){let o=i.outerContext;e.dfa_debug&&console.log("DFA decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(r)+", outerContext="+o.toString(this._parser)),e.dfa_debug&&console.log(t.toString(this._parser.vocabulary,this._parser.ruleNames));let a=i.s0,s=r.LA(1),l=i.remainingOuterContext;for(;;){if(e.dfa_debug&&console.log("DFA state "+a.stateNumber+" LA(1)=="+this.getLookaheadName(r)),i.useContext)for(;a.isContextSymbol(s);){let e;if(null!=l&&(l=this.skipTailCalls(l),e=a.getContextTarget(this.getReturnState(l))),null==e){let e=new k.SimulatorState(i.outerContext,a,i.useContext,l);return this.execATN(t,r,n,e)}l=l.parent,a=e}if(this.isAcceptState(a,i.useContext)){null!=a.predicates?e.dfa_debug&&console.log("accept "+a):e.dfa_debug&&console.log("accept; predict "+a.prediction+" in state "+a.stateNumber);break}let u=this.getExistingTargetState(a,s);if(null==u){let u;if(e.dfa_debug&&s>=0&&console.log("no edge for "+this._parser.vocabulary.getDisplayName(s)),e.dfa_debug){let e=C.Interval.of(n,this._parser.inputStream.index);console.log("ATN exec upon "+this._parser.inputStream.getText(e)+" at DFA state "+a.stateNumber)}let c=new k.SimulatorState(o,a,i.useContext,l);return u=this.execATN(t,r,n,c),e.dfa_debug&&console.log("back from DFA update, alt="+u+", dfa=\n"+t.toString(this._parser.vocabulary,this._parser.ruleNames)),e.dfa_debug&&console.log("DFA decision "+t.decision+" predicts "+u),u}if(u===p.ATNSimulator.ERROR){let e=new k.SimulatorState(o,a,i.useContext,l);return this.handleNoViableAlt(r,n,e)}a=u,this.isAcceptState(a,i.useContext)||s===E.IntStream.EOF||(r.consume(),s=r.LA(1))}if(!i.useContext&&null!=a.configs.conflictInfo&&t.atnStartState instanceof v.DecisionState&&!(!this.userWantsCtxSensitive||!a.configs.dipsIntoOuterContext&&a.configs.isExactConflict||this.treat_sllk1_conflict_as_ambiguity&&r.index===n)){let e,s=a.predicates;if(null!=s){let t=r.index;if(t!==n&&r.seek(n),1===(e=this.evalSemanticContext(s,o,!0)).cardinality())return e.nextSetBit(0);t!==n&&r.seek(t)}if(this.reportAmbiguities){let s=new k.SimulatorState(o,a,i.useContext,l);this.reportAttemptingFullContext(t,e,s,n,r.index)}return r.seek(n),this.adaptivePredict(r,t.decision,o,!0)}let u=a.predicates;if(null!=u){let e=r.index;n!==e&&r.seek(n);let i=this.evalSemanticContext(u,o,this.reportAmbiguities&&this.predictionMode===N.PredictionMode.LL_EXACT_AMBIG_DETECTION);switch(i.cardinality()){case 0:throw this.noViableAlt(r,o,a.configs,n);case 1:return i.nextSetBit(0);default:return n!==e&&r.seek(e),this.reportAmbiguity(t,a,n,e,a.configs.isExactConflict,i,a.configs),i.nextSetBit(0)}}return e.dfa_debug&&console.log("DFA decision "+t.decision+" predicts "+a.prediction),a.prediction}isAcceptState(e,t){return!!e.isAcceptState&&(null==e.configs.conflictingAlts||!t||this.predictionMode!==N.PredictionMode.LL_EXACT_AMBIG_DETECTION||e.configs.isExactConflict)}execATN(t,r,n,i){e.debug&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(r));let o=i.outerContext,a=i.useContext,s=r.LA(1),l=i,c=new A.PredictionContextCache;for(;;){let i=this.computeReachSet(t,l,s,c);if(null==i)return this.setDFAEdge(l.s0,r.LA(1),p.ATNSimulator.ERROR),this.handleNoViableAlt(r,n,l);let d=i.s0;if(this.isAcceptState(d,a)){let l=d.configs.conflictingAlts,c=null==l?d.prediction:u.ATN.INVALID_ALT_NUMBER;if(c!==u.ATN.INVALID_ALT_NUMBER){if(this.optimize_ll1&&r.index===n&&!t.isPrecedenceDfa&&i.outerContext===i.remainingOuterContext&&t.decision>=0&&!d.configs.hasSemanticContext&&s>=0&&s<=65535){let e=(t.decision<<16>>>0)+s;this.atn.LL1Table.set(e,c)}a&&this.always_try_local_context&&this.reportContextSensitivity(t,c,i,n,r.index)}c=d.prediction;let p=null!=l&&this.userWantsCtxSensitive;if(p&&(p=!a&&(d.configs.dipsIntoOuterContext||!d.configs.isExactConflict)&&(!this.treat_sllk1_conflict_as_ambiguity||r.index!==n)),d.configs.hasSemanticContext){let e=d.predicates;if(null!=e){let t=r.index;switch(t!==n&&r.seek(n),(l=this.evalSemanticContext(e,o,p||this.reportAmbiguities)).cardinality()){case 0:throw this.noViableAlt(r,o,d.configs,n);case 1:return l.nextSetBit(0)}t!==n&&r.seek(t)}}if(p){e.debug&&console.log("RETRY with outerContext="+o);let a=this.computeStartState(t,o,!0);return this.reportAmbiguities&&this.reportAttemptingFullContext(t,l,i,n,r.index),r.seek(n),this.execATN(t,r,n,a)}return null!=l&&(this.reportAmbiguities&&l.cardinality()>1&&this.reportAmbiguity(t,d,n,r.index,d.configs.isExactConflict,l,d.configs),c=l.nextSetBit(0)),c}l=i,s!==E.IntStream.EOF&&(r.consume(),s=r.LA(1))}}handleNoViableAlt(e,t,r){if(null!=r.s0){let n=new m.BitSet,i=0;for(let e of r.s0.configs)(e.reachesIntoOuterContext||e.state instanceof P.RuleStopState)&&(n.set(e.alt),i=Math.max(i,e.alt));switch(n.cardinality()){case 0:break;case 1:return n.nextSetBit(0);default:if(!r.s0.configs.hasSemanticContext)return n.nextSetBit(0);let o=new d.ATNConfigSet;for(let e of r.s0.configs)(e.reachesIntoOuterContext||e.state instanceof P.RuleStopState)&&o.add(e);let a=this.getPredsForAmbigAlts(n,o,i);if(null!=a){let i=this.getPredicatePredictions(n,a);if(null!=i){let n=e.index;try{e.seek(t);let n=this.evalSemanticContext(i,r.outerContext,!1);if(!n.isEmpty)return n.nextSetBit(0)}finally{e.seek(n)}}}return n.nextSetBit(0)}}throw this.noViableAlt(e,r.outerContext,r.s0.configs,t)}computeReachSet(e,t,r,n){let i=t.useContext,o=t.remainingOuterContext,a=t.s0;if(i)for(;a.isContextSymbol(r);){let e;if(null!=o&&(o=this.skipTailCalls(o),e=a.getContextTarget(this.getReturnState(o))),null==e)break;o=o.parent,a=e}if(this.isAcceptState(a,i))return new k.SimulatorState(t.outerContext,a,i,o);let s=a,l=this.getExistingTargetState(s,r);if(null==l){let t=this.computeTargetState(e,s,o,r,i,n);l=t[0],o=t[1]}return l!==p.ATNSimulator.ERROR?new k.SimulatorState(t.outerContext,l,i,o):void 0}getExistingTargetState(e,t){return e.getTarget(t)}computeTargetState(t,r,n,i,o,a){let s,l,c=r.configs.toArray(),f=new d.ATNConfigSet;do{let t=!o||null!=n;t||(f.isOutermostConfigSet=!0);let r,p=new d.ATNConfigSet;for(let t of c){if(e.debug&&console.log("testing "+this.getTokenName(i)+" at "+t.toString()),t.state instanceof P.RuleStopState){(o&&!t.reachesIntoOuterContext||i===E.IntStream.EOF)&&(null==r&&(r=[]),r.push(t));continue}let n=t.state.numberOfOptimizedTransitions;for(let e=0;e<n;e++){let r=t.state.getOptimizedTransition(e),n=this.getReachableTarget(t,r,i);null!=n&&p.add(t.transform(n,!1),a)}}if(this.optimize_unique_closure&&null==r&&i!==M.Token.EOF&&p.uniqueAlt!==u.ATN.INVALID_ALT_NUMBER){p.isOutermostConfigSet=f.isOutermostConfigSet,f=p;break}let h=!1,m=i===M.Token.EOF;if(this.closure(p,f,h,t,a,m),l=f.dipsIntoOuterContext,i===E.IntStream.EOF&&(f=this.removeAllConfigsNotInRuleStopState(f,a)),!(null==r||o&&N.PredictionMode.hasConfigInRuleStopState(f)))for(let e of r)f.add(e,a);if(o&&l){f.clear(),n=this.skipTailCalls(n);let e=this.getReturnState(n);if(null==s&&(s=new b.IntegerList),n=n.isEmpty?void 0:n.parent,s.add(e),e!==w.PredictionContext.EMPTY_FULL_STATE_KEY)for(let t=0;t<c.length;t++)c[t]=c[t].appendContext(e,a)}}while(o&&l);return f.isEmpty?(this.setDFAEdge(r,i,p.ATNSimulator.ERROR),[p.ATNSimulator.ERROR,n]):[this.addDFAEdge(t,r,i,s,f,a),n]}removeAllConfigsNotInRuleStopState(e,t){if(N.PredictionMode.allConfigsInRuleStopStates(e))return e;let r=new d.ATNConfigSet;for(let n of e)n.state instanceof P.RuleStopState&&r.add(n,t);return r}computeStartState(e,t,r){let n=e.isPrecedenceDfa?e.getPrecedenceStartState(this._parser.precedence,r):r?e.s0full:e.s0;if(null!=n){if(!r)return new k.SimulatorState(t,n,r,t);n.setContextSensitive(this.atn)}e.decision;let i=e.atnStartState,o=0,a=t,s=r?w.PredictionContext.EMPTY_FULL:w.PredictionContext.EMPTY_LOCAL,l=new A.PredictionContextCache;if(r){if(!this.enable_global_context_dfa)for(;null!=a;)a.isEmpty?(o=w.PredictionContext.EMPTY_FULL_STATE_KEY,a=void 0):(o=this.getReturnState(a),s=s.appendSingleContext(o,l),a=a.parent);for(;null!=n&&n.isContextSensitive&&null!=a;){let e;if((a=this.skipTailCalls(a)).isEmpty?(e=n.getContextTarget(w.PredictionContext.EMPTY_FULL_STATE_KEY),o=w.PredictionContext.EMPTY_FULL_STATE_KEY,a=void 0):(o=this.getReturnState(a),e=n.getContextTarget(o),s=s.appendSingleContext(o,l),a=a.parent),null==e)break;n=e}}if(null!=n&&!n.isContextSensitive)return new k.SimulatorState(t,n,r,a);let u=new d.ATNConfigSet;for(;;){let p=new d.ATNConfigSet,f=i.numberOfTransitions;for(let e=0;e<f;e++){let t=i.transition(e).target;p.add(c.ATNConfig.create(t,e+1,s))}let h=null!=a;h||(u.isOutermostConfigSet=!0);let m=!0;this.closure(p,u,m,h,l,!1);let y,v=u.dipsIntoOuterContext;if(r&&!this.enable_global_context_dfa){n=this.addDFAState(e,u,l);break}if(null==n?e.isPrecedenceDfa?(u=this.applyPrecedenceFilter(u,t,l),y=this.addDFAState(e,u,l),e.setPrecedenceStartState(this._parser.precedence,r,y)):(y=this.addDFAState(e,u,l),r?e.s0full?y=e.s0full:e.s0full=y:e.s0?y=e.s0:e.s0=y):(e.isPrecedenceDfa&&(u=this.applyPrecedenceFilter(u,t,l)),y=this.addDFAState(e,u,l),n.setContextTarget(o,y)),n=y,!r||!v)break;y.setContextSensitive(this.atn),u.clear(),a=this.skipTailCalls(a);let g=this.getReturnState(a);a=a.isEmpty?void 0:a.parent,g!==w.PredictionContext.EMPTY_FULL_STATE_KEY&&(s=s.appendSingleContext(g,l)),o=g}return new k.SimulatorState(t,n,r,a)}applyPrecedenceFilter(e,t,r){let n=new Map,i=new d.ATNConfigSet;for(let o of e){if(1!==o.alt)continue;let e=o.semanticContext.evalPrecedence(this._parser,t);null!=e&&(n.set(o.state.stateNumber,o.context),e!==o.semanticContext?i.add(o.transform(o.state,!1,e),r):i.add(o,r))}for(let t of e)if(1!==t.alt){if(!t.isPrecedenceFilterSuppressed){let e=n.get(t.state.stateNumber);if(null!=e&&e.equals(t.context))continue}i.add(t,r)}return i}getReachableTarget(e,t,r){if(t.matches(r,0,this.atn.maxTokenType))return t.target}predicateDFAState(t,r,n){let i=this.getConflictingAltsFromConfigSet(r);if(!i)throw new Error("This unhandled scenario is intended to be unreachable, but I'm currently not sure of why we know that's the case.");e.debug&&console.log("predicateDFAState "+t);let o,a=this.getPredsForAmbigAlts(i,r,n);return null!=a&&(o=this.getPredicatePredictions(i,a),t.predicates=o),o}getPredsForAmbigAlts(t,r,n){let i=new Array(n+1),o=i.length;for(let e of r)t.get(e.alt)&&(i[e.alt]=R.SemanticContext.or(i[e.alt],e.semanticContext));let a=0;for(let e=0;e<o;e++)null==i[e]?i[e]=R.SemanticContext.NONE:i[e]!==R.SemanticContext.NONE&&a++;let s=i;return 0===a&&(s=void 0),e.debug&&console.log("getPredsForAmbigAlts result "+(s?l.Arrays.toString(s):"undefined")),s}getPredicatePredictions(e,t){let r=[],n=!1;for(let i=1;i<t.length;i++){let o=t[i];null!=e&&e.get(i)&&o===R.SemanticContext.NONE?r.push(new g.DFAState.PredPrediction(o,i)):o!==R.SemanticContext.NONE&&(n=!0,r.push(new g.DFAState.PredPrediction(o,i)))}if(n)return r}evalSemanticContext(t,r,n){let i=new m.BitSet;for(let o of t){if(o.pred===R.SemanticContext.NONE){if(i.set(o.alt),!n)break;continue}let t=this.evalSemanticContextImpl(o.pred,r,o.alt);if((e.debug||e.dfa_debug)&&console.log("eval pred "+o+"="+t),t&&((e.debug||e.dfa_debug)&&console.log("PREDICT "+o.alt),i.set(o.alt),!n))break}return i}evalSemanticContextImpl(e,t,r){return e.eval(this._parser,t)}closure(e,t,r,n,i,o){null==i&&(i=A.PredictionContextCache.UNCACHED);let a=e,l=new s.Array2DHashSet(S.ObjectEqualityComparator.INSTANCE);for(;a.size>0;){let e=new d.ATNConfigSet;for(let s of a)this.closureImpl(s,t,e,l,r,n,i,0,o);a=e}}closureImpl(t,r,n,i,o,s,l,u,d){if(e.debug&&console.log("closure("+t.toString(this._parser,!0)+")"),t.state instanceof P.RuleStopState)if(t.context.isEmpty){if(!s)return void r.add(t,l);e.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),t.context===w.PredictionContext.EMPTY_FULL?t=t.transform(t.state,!1,w.PredictionContext.EMPTY_LOCAL):!t.reachesIntoOuterContext&&w.PredictionContext.isEmptyLocal(t.context)&&r.add(t,l)}else{let e=t.context.hasEmpty,a=t.context.size-(e?1:0);for(let e=0;e<a;e++){let a=t.context.getParent(e),p=this.atn.states[t.context.getReturnState(e)],f=c.ATNConfig.create(p,t.alt,a,t.semanticContext);f.outerContextDepth=t.outerContextDepth,f.isPrecedenceFilterSuppressed=t.isPrecedenceFilterSuppressed,this.closureImpl(f,r,n,i,o,s,l,u-1,d)}if(!e||!s)return;t=t.transform(t.state,!1,w.PredictionContext.EMPTY_LOCAL)}let p=t.state;p.onlyHasEpsilonTransitions||(r.add(t,l),e.debug&&console.log("added config "+r));for(let c=0;c<p.numberOfOptimizedTransitions;c++){if(0===c&&p.stateType===f.ATNStateType.STAR_LOOP_ENTRY&&p.precedenceRuleDecision&&!t.context.hasEmpty){let e=p,r=!0;for(let n=0;n<t.context.size;n++)if(!e.precedenceLoopbackStates.get(t.context.getReturnState(n))){r=!1;break}if(r)continue}let h=p.getOptimizedTransition(c),m=!(h instanceof a.ActionTransition)&&o,y=this.getEpsilonTarget(t,h,m,0===u,l,d);if(null!=y){if(h instanceof I.RuleTransition&&null!=n&&!o){n.add(y,l);continue}let a=u;if(t.state instanceof P.RuleStopState){if(null!=this.dfa&&this.dfa.isPrecedenceDfa&&h.outermostPrecedenceReturn===this.dfa.atnStartState.ruleIndex&&(y.isPrecedenceFilterSuppressed=!0),y.outerContextDepth=y.outerContextDepth+1,!i.add(y))continue;a--,e.debug&&console.log("dips into outer ctx: "+y)}else if(h instanceof I.RuleTransition)!this.optimize_tail_calls||!h.optimizedTailCall||this.tail_call_preserves_sll&&w.PredictionContext.isEmptyLocal(t.context)?a>=0&&a++:0===a&&(a--,!this.tail_call_preserves_sll&&w.PredictionContext.isEmptyLocal(t.context)&&(y.outerContextDepth=y.outerContextDepth+1));else if(!h.isEpsilon&&!i.add(y))continue;this.closureImpl(y,r,n,i,m,s,l,a,d)}}}getRuleName(e){return null!=this._parser&&e>=0?this._parser.ruleNames[e]:"<rule "+e+">"}getEpsilonTarget(e,t,r,n,i,o){switch(t.serializationType){case 3:return this.ruleTransition(e,t,i);case 10:return this.precedenceTransition(e,t,r,n);case 4:return this.predTransition(e,t,r,n);case 6:return this.actionTransition(e,t);case 1:return e.transform(t.target,!1);case 5:case 2:case 7:return o&&t.matches(M.Token.EOF,0,1)?e.transform(t.target,!1):void 0;default:return}}actionTransition(t,r){return e.debug&&console.log("ACTION edge "+r.ruleIndex+":"+r.actionIndex),t.transform(r.target,!1)}precedenceTransition(t,r,n,i){let o;if(e.debug&&(console.log("PRED (collectPredicates="+n+") "+r.precedence+">=_p, ctx dependent=true"),null!=this._parser&&console.log("context surrounding pred is "+this._parser.getRuleInvocationStack())),n&&i){let e=R.SemanticContext.and(t.semanticContext,r.predicate);o=t.transform(r.target,!1,e)}else o=t.transform(r.target,!1);return e.debug&&console.log("config from pred transition="+o),o}predTransition(t,r,n,i){let o;if(e.debug&&(console.log("PRED (collectPredicates="+n+") "+r.ruleIndex+":"+r.predIndex+", ctx dependent="+r.isCtxDependent),null!=this._parser&&console.log("context surrounding pred is "+this._parser.getRuleInvocationStack())),n&&(!r.isCtxDependent||r.isCtxDependent&&i)){let e=R.SemanticContext.and(t.semanticContext,r.predicate);o=t.transform(r.target,!1,e)}else o=t.transform(r.target,!1);return e.debug&&console.log("config from pred transition="+o),o}ruleTransition(t,r,n){e.debug&&console.log("CALL rule "+this.getRuleName(r.target.ruleIndex)+", ctx="+t.context);let i,o=r.followState;return i=!this.optimize_tail_calls||!r.optimizedTailCall||this.tail_call_preserves_sll&&w.PredictionContext.isEmptyLocal(t.context)?null!=n?n.getChild(t.context,o.stateNumber):t.context.getChild(o.stateNumber):t.context,t.transform(r.target,!1,i)}isConflicted(t,r){if(t.uniqueAlt!==u.ATN.INVALID_ALT_NUMBER||t.size<=1)return;let n=t.toArray();n.sort(e.STATE_ALT_SORT_COMPARATOR);let i=!t.dipsIntoOuterContext,o=new m.BitSet,a=n[0].alt;o.set(a);let s,l=n[0].state.nonStopStateNumber;for(let e of n){let t=e.state.nonStopStateNumber;if(t!==l){if(e.alt!==a)return;l=t}}if(i){l=n[0].state.nonStopStateNumber,s=new m.BitSet;let e=a;for(let t of n){if(t.state.nonStopStateNumber!==l)break;let r=t.alt;s.set(r),e=r}l=n[0].state.nonStopStateNumber;let t=a;for(let r of n){let n=r.state.nonStopStateNumber,o=r.alt;if(n!==l){if(t!==e){i=!1;break}l=n,t=a}else if(o!==t){if(o!==s.nextSetBit(t+1)){i=!1;break}t=o}}}l=n[0].state.nonStopStateNumber;let c=0,d=0,p=n[0].context;for(let e=1;e<n.length;e++){let t=n[e];if(t.alt!==a)break;if(t.state.nonStopStateNumber!==l)break;d=e,p=r.join(p,n[e].context)}for(let e=d+1;e<n.length;e++){let t=n[e],s=t.state;if(o.set(t.alt),s.nonStopStateNumber!==l){l=s.nonStopStateNumber,c=e,d=e,p=t.context;for(let e=c+1;e<n.length;e++){let t=n[e];if(t.alt!==a)break;if(t.state.nonStopStateNumber!==l)break;d=e,p=r.join(p,t.context)}e=d;continue}let u=t.context,f=t.alt,h=e;for(let e=h+1;e<n.length;e++){let t=n[e];if(t.alt!==f)break;if(t.state.nonStopStateNumber!==l)break;h=e,u=r.join(u,t.context)}e=h;let m=r.join(p,u);if(!p.equals(m))return;i=i&&p.equals(u)}return new y.ConflictInfo(o,i)}getConflictingAltsFromConfigSet(e){let t=e.conflictingAlts;return null==t&&e.uniqueAlt!==u.ATN.INVALID_ALT_NUMBER&&(t=new m.BitSet).set(e.uniqueAlt),t}getTokenName(e){if(e===M.Token.EOF)return"EOF";let t=(null!=this._parser?this._parser.vocabulary:D.VocabularyImpl.EMPTY_VOCABULARY).getDisplayName(e);return t===String(e)?t:t+"<"+e+">"}getLookaheadName(e){return this.getTokenName(e.LA(1))}dumpDeadEndConfigs(e){console.log("dead end configs: ");let t=e.deadEndConfigs;if(t)for(let e of t){let t="no edges";if(e.state.numberOfOptimizedTransitions>0){let r=e.state.getOptimizedTransition(0);r instanceof h.AtomTransition?t="Atom "+this.getTokenName(r._label):r instanceof L.SetTransition&&(t=(r instanceof T.NotSetTransition?"~":"")+"Set "+r.set.toString())}console.log(e.toString(this._parser,!0)+":"+t)}}noViableAlt(e,t,r,n){return new x.NoViableAltException(this._parser,e,e.get(n),e.LT(1),r,t)}getUniqueAlt(e){let t=u.ATN.INVALID_ALT_NUMBER;for(let r of e)if(t===u.ATN.INVALID_ALT_NUMBER)t=r.alt;else if(r.alt!==t)return u.ATN.INVALID_ALT_NUMBER;return t}configWithAltAtStopState(e,t){for(let r of e)if(r.alt===t&&r.state instanceof P.RuleStopState)return!0;return!1}addDFAEdge(t,r,n,i,o,a){let s=r,l=this.addDFAState(t,o,a);if(null!=i)for(let e of i.toArray()){if(e===w.PredictionContext.EMPTY_FULL_STATE_KEY&&s.configs.isOutermostConfigSet)continue;s.setContextSensitive(this.atn),s.setContextSymbol(n);let r=s.getContextTarget(e);null==r?(r=this.addDFAContextState(t,s.configs,e,a),s.setContextTarget(e,r),s=r):s=r}return e.debug&&console.log("EDGE "+s+" -> "+l+" upon "+this.getTokenName(n)),this.setDFAEdge(s,n,l),e.debug&&console.log("DFA=\n"+t.toString(null!=this._parser?this._parser.vocabulary:D.VocabularyImpl.EMPTY_VOCABULARY,null!=this._parser?this._parser.ruleNames:void 0)),l}setDFAEdge(e,t,r){null!=e&&e.setTarget(t,r)}addDFAContextState(e,t,r,n){if(r!==w.PredictionContext.EMPTY_FULL_STATE_KEY){let i=new d.ATNConfigSet;for(let e of t)i.add(e.appendContext(r,n));return this.addDFAState(e,i,n)}return(t=t.clone(!0)).isOutermostConfigSet=!0,this.addDFAState(e,t,n)}addDFAState(t,r,n){let i=this.enable_global_context_dfa||!r.isOutermostConfigSet;if(i){r.isReadOnly||r.optimizeConfigs(this);let e=this.createDFAState(t,r),n=t.states.get(e);if(null!=n)return n}r.isReadOnly||null==r.conflictInfo&&(r.conflictInfo=this.isConflicted(r,n));let a=this.createDFAState(t,r.clone(!0)),s=this.atn.getDecisionState(t.decision),l=this.getUniqueAlt(r);if(l!==u.ATN.INVALID_ALT_NUMBER)a.acceptStateInfo=new o.AcceptStateInfo(l);else if(null!=r.conflictingAlts){let e=r.conflictingAlts;e&&(a.acceptStateInfo=new o.AcceptStateInfo(e.nextSetBit(0)))}if(a.isAcceptState&&r.hasSemanticContext&&this.predicateDFAState(a,r,s.numberOfTransitions),!i)return a;let c=t.addState(a);return e.debug&&c===a&&console.log("adding new DFA state: "+a),c}createDFAState(e,t){return new g.DFAState(t)}reportAttemptingFullContext(t,r,n,i,o){if(e.debug||e.retry_debug){let e=C.Interval.of(i,o);console.log("reportAttemptingFullContext decision="+t.decision+":"+n.s0.configs+", input="+this._parser.inputStream.getText(e))}if(null!=this._parser){let e=this._parser.getErrorListenerDispatch();e.reportAttemptingFullContext&&e.reportAttemptingFullContext(this._parser,t,i,o,r,n)}}reportContextSensitivity(t,r,n,i,o){if(e.debug||e.retry_debug){let e=C.Interval.of(i,o);console.log("reportContextSensitivity decision="+t.decision+":"+n.s0.configs+", input="+this._parser.inputStream.getText(e))}if(null!=this._parser){let e=this._parser.getErrorListenerDispatch();e.reportContextSensitivity&&e.reportContextSensitivity(this._parser,t,i,o,r,n)}}reportAmbiguity(t,r,n,i,o,a,s){if(e.debug||e.retry_debug){let e=C.Interval.of(n,i);console.log("reportAmbiguity "+a+":"+s+", input="+this._parser.inputStream.getText(e))}if(null!=this._parser){let e=this._parser.getErrorListenerDispatch();e.reportAmbiguity&&e.reportAmbiguity(this._parser,t,n,i,o,a,s)}}getReturnState(e){return e.isEmpty?w.PredictionContext.EMPTY_FULL_STATE_KEY:this.atn.states[e.invokingState].transition(0).followState.stateNumber}skipTailCalls(e){if(!this.optimize_tail_calls)return e;for(;!e.isEmpty&&this.atn.states[e.invokingState].transition(0).tailCall;)e=e.parent;return e}get parser(){return this._parser}};U.debug=!1,U.dfa_debug=!1,U.retry_debug=!1,U.STATE_ALT_SORT_COMPARATOR=(e,t)=>{let r=e.state.nonStopStateNumber-t.state.nonStopStateNumber;return 0!==r||0!=(r=e.alt-t.alt)?r:0},n([_.NotNull],U.prototype,"predictionMode",void 0),n([_.NotNull],U.prototype,"getPredictionMode",null),n([i(0,_.NotNull)],U.prototype,"setPredictionMode",null),n([_.Override],U.prototype,"reset",null),n([i(0,_.NotNull)],U.prototype,"adaptivePredict",null),n([i(0,_.NotNull),i(1,_.NotNull),i(2,_.NotNull)],U.prototype,"getStartState",null),n([i(0,_.NotNull),i(1,_.NotNull),i(3,_.NotNull)],U.prototype,"execDFA",null),n([i(0,_.NotNull),i(1,_.NotNull),i(3,_.NotNull)],U.prototype,"execATN",null),n([i(0,_.NotNull),i(2,_.NotNull)],U.prototype,"handleNoViableAlt",null),n([i(0,_.NotNull)],U.prototype,"getExistingTargetState",null),n([_.NotNull,i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"computeTargetState",null),n([_.NotNull,i(0,_.NotNull)],U.prototype,"removeAllConfigsNotInRuleStopState",null),n([_.NotNull],U.prototype,"computeStartState",null),n([_.NotNull,i(0,_.NotNull)],U.prototype,"applyPrecedenceFilter",null),n([i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"getReachableTarget",null),n([i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"getPredsForAmbigAlts",null),n([i(0,_.NotNull)],U.prototype,"evalSemanticContext",null),n([i(0,_.NotNull)],U.prototype,"evalSemanticContextImpl",null),n([i(1,_.NotNull),i(4,_.Nullable)],U.prototype,"closure",null),n([i(0,_.NotNull),i(1,_.NotNull),i(2,_.Nullable),i(3,_.NotNull),i(6,_.NotNull)],U.prototype,"closureImpl",null),n([_.NotNull],U.prototype,"getRuleName",null),n([i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"getEpsilonTarget",null),n([_.NotNull,i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"actionTransition",null),n([_.Nullable,i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"precedenceTransition",null),n([_.Nullable,i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"predTransition",null),n([_.NotNull,i(0,_.NotNull),i(1,_.NotNull),i(2,_.Nullable)],U.prototype,"ruleTransition",null),n([i(0,_.NotNull)],U.prototype,"isConflicted",null),n([_.NotNull],U.prototype,"getTokenName",null),n([i(0,_.NotNull)],U.prototype,"dumpDeadEndConfigs",null),n([_.NotNull,i(0,_.NotNull),i(1,_.NotNull),i(2,_.NotNull)],U.prototype,"noViableAlt",null),n([i(0,_.NotNull)],U.prototype,"getUniqueAlt",null),n([i(0,_.NotNull)],U.prototype,"configWithAltAtStopState",null),n([_.NotNull,i(0,_.NotNull),i(1,_.NotNull),i(4,_.NotNull)],U.prototype,"addDFAEdge",null),n([i(0,_.Nullable),i(2,_.Nullable)],U.prototype,"setDFAEdge",null),n([_.NotNull,i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"addDFAContextState",null),n([_.NotNull,i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"addDFAState",null),n([_.NotNull,i(0,_.NotNull),i(1,_.NotNull)],U.prototype,"createDFAState",null),n([i(0,_.NotNull),i(2,_.NotNull)],U.prototype,"reportAttemptingFullContext",null),n([i(0,_.NotNull),i(2,_.NotNull)],U.prototype,"reportContextSensitivity",null),n([i(0,_.NotNull),i(5,_.NotNull),i(6,_.NotNull)],U.prototype,"reportAmbiguity",null),U=n([i(0,_.NotNull)],U),r.ParserATNSimulator=U},{242:242,248:248,254:254,257:257,266:266,268:268,269:269,270:270,271:271,274:274,276:276,278:278,280:280,285:285,289:289,307:307,316:316,317:317,318:318,322:322,323:323,324:324,325:325,326:326,333:333,336:336,340:340,342:342,343:343,346:346,348:348,352:352}],203:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});class n extends Array{static wrap(e){if(e instanceof n)return e;{const t=new n;return t.push(e),t}}getValue(e){if(0!==this.length)for(const t of Array.from(this).reverse())if(void 0!==t.getValue(e))return t.getValue(e)}setValue(e,t){throw new Error(`Can't set value to ${e}, stacked memory is read-only`)}version(){return"0"}}r.StackedMemory=n},{}],205:[function(e,t,r){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});const i=e(338),o=e(363),a=e(167),s=e(179),l=e(192),u=e(208),c=n(e(207)),d=e(210),p=e(196);class f{constructor(e){this.ExpressionTransformer=class extends o.AbstractParseTreeVisitor{constructor(e){super(),this.escapeRegex=new RegExp(/\\[^\r\n]?/g),this._lookupFunction=void 0,this.transform=e=>this.visit(e),this.visitParenthesisExp=e=>this.visit(e.expression()),this.defaultResult=()=>new a.Constant(""),this.makeExpression=(e,...t)=>{if(!this._lookupFunction(e))throw new Error(e+" does not have an evaluator, it's not a built-in function or a custom function.");return s.Expression.makeExpression(e,this._lookupFunction(e),...t)},this._lookupFunction=e}visitUnaryOpExp(e){const t=e.getChild(0).text,r=this.visit(e.expression());return t===l.ExpressionType.Subtract||t===l.ExpressionType.Add?this.makeExpression(t,new a.Constant(0),r):this.makeExpression(t,r)}visitBinaryOpExp(e){const t=e.getChild(1).text,r=this.visit(e.expression(0)),n=this.visit(e.expression(1));return this.makeExpression(t,r,n)}visitTripleOpExp(e){const t=this.visit(e.expression(0)),r=this.visit(e.expression(1)),n=this.visit(e.expression(2));return this.makeExpression(l.ExpressionType.If,t,r,n)}visitFuncInvokeExp(e){const t=this.processArgsList(e.argsList());let r=e.primaryExpression().text;return void 0!==e.NON()&&(r+=e.NON().text),this.makeExpression(r,...t)}visitIdAtom(e){const t=e.text;return"false"===t?new a.Constant(!1):"true"===t?new a.Constant(!0):"null"===t?new a.Constant(null):"undefined"===t?new a.Constant(void 0):this.makeExpression(l.ExpressionType.Accessor,new a.Constant(t))}visitIndexAccessExp(e){const t=this.visit(e.expression()),r=this.visit(e.primaryExpression());return this.makeExpression(l.ExpressionType.Element,r,t)}visitMemberAccessExp(e){const t=e.IDENTIFIER().text,r=this.visit(e.primaryExpression());return this.makeExpression(l.ExpressionType.Accessor,new a.Constant(t),r)}visitNumericAtom(e){const t=parseFloat(e.text);if(p.FunctionUtils.isNumber(t))return new a.Constant(t);throw new Error(e.text+" is not a number.")}visitArrayCreationExp(e){const t=this.processArgsList(e.argsList());return this.makeExpression(l.ExpressionType.CreateArray,...t)}visitStringAtom(e){let t=e.text;if(t.startsWith("'")&&t.endsWith("'"))t=t.substr(1,t.length-2).replace(/\\'/g,"'");else{if(!t.startsWith('"')||!t.endsWith('"'))throw new Error("Invalid string "+t);t=t.substr(1,t.length-2).replace(/\\"/g,'"')}return new a.Constant(this.evalEscape(t))}visitJsonCreationExp(e){let t=this.makeExpression(l.ExpressionType.Json,new a.Constant("{}"));if(e.keyValuePairList())for(const r of e.keyValuePairList().keyValuePair()){let e="";const n=r.key().children[0];n instanceof o.TerminalNode&&(e=n.symbol.type===c.ExpressionAntlrParser.IDENTIFIER?n.text:n.text.substring(1,n.text.length-1)),t=this.makeExpression(l.ExpressionType.SetProperty,t,new a.Constant(e),this.visit(r.expression()))}return t}visitStringInterpolationAtom(e){const t=[new a.Constant("")];for(const r of e.stringInterpolation().children)if(r instanceof o.TerminalNode)switch(r.symbol.type){case c.ExpressionAntlrParser.TEMPLATE:{const e=this.trimExpression(r.text);t.push(s.Expression.parse(e,this._lookupFunction));break}case c.ExpressionAntlrParser.ESCAPE_CHARACTER:t.push(new a.Constant(r.text.replace(/\\`/g,"`").replace(/\\\$/g,"$")))}else t.push(new a.Constant(r.text));return this.makeExpression(l.ExpressionType.Concat,...t)}processArgsList(e){const t=[];if(!e)return t;for(const r of e.children)if(r instanceof c.LambdaContext){const e=this.makeExpression(l.ExpressionType.Accessor,new a.Constant(r.IDENTIFIER().text)),n=this.visit(r.expression());t.push(e),t.push(n)}else r instanceof c.ExpressionContext&&t.push(this.visit(r));return t}trimExpression(e){let t=e.trim();return t.startsWith("$")&&(t=t.substr(1)),(t=t.trim()).startsWith("{")&&t.endsWith("}")&&(t=t.substr(1,t.length-2)),t.trim()}evalEscape(e){const t={"\\r":"\r","\\n":"\n","\\t":"\t","\\\\":"\\"};return e.replace(this.escapeRegex,(e=>e in t?t[e]:e))}},this.EvaluatorLookup=e||s.Expression.lookup}static antlrParse(e){if(f.expressionDict.has({key:e}))return f.expressionDict.get({key:e});const t=new i.ANTLRInputStream(e),r=new u.ExpressionAntlrLexer(t);r.removeErrorListeners();const n=new i.CommonTokenStream(r),o=new u.ExpressionAntlrParser(n);let a;o.removeErrorListeners(),o.addErrorListener(d.ParseErrorListener.Instance),o.buildParseTree=!0;const s=o.file();return void 0!==s&&(a=s.expression()),f.expressionDict.set({key:e},a),a}parse(e){return null==e||""===e?new a.Constant(""):new this.ExpressionTransformer(this.EvaluatorLookup).transform(f.antlrParse(e))}}f.expressionDict=new WeakMap,r.ExpressionParser=f},{167:167,179:179,192:192,196:196,207:207,208:208,210:210,338:338,363:363}],210:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});class n{syntaxError(e,t,r,n,i,o){throw Error(`syntax error at line ${r}:${n} Invalid expression format.`)}}n.Instance=new n,r.ParseErrorListener=n},{}],208:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(206)),n(e(207))},{206:206,207:207}],207:[function(e,t,r){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});const i=e(269),o=e(273),a=e(246),s=e(254),l=e(255),u=e(257),c=e(310),d=e(260),p=e(266),f=e(268),h=n(e(355));class m extends l.Parser{constructor(e){super(e),this._interp=new c.ParserATNSimulator(m._ATN,this)}get vocabulary(){return m.VOCABULARY}get grammarFileName(){return"ExpressionAntlrParser.g4"}get ruleNames(){return m.ruleNames}get serializedATN(){return m._serializedATN}file(){let e=new y(this._ctx,this.state);this.enterRule(e,0,m.RULE_file);try{this.enterOuterAlt(e,1),this.state=20,this.expression(0),this.state=21,this.match(m.EOF)}catch(t){if(!(t instanceof d.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}expression(e){void 0===e&&(e=0);let t,r=this._ctx,n=this.state,o=new v(this._ctx,n),l=o;this.enterRecursionRule(o,2,m.RULE_expression,e);try{let e;switch(this.enterOuterAlt(o,1),this.state=27,this._errHandler.sync(this),this._input.LA(1)){case m.PLUS:case m.SUBSTRACT:case m.NON:o=new g(o),this._ctx=o,l=o,this.state=24,-32&(t=this._input.LA(1))||!(1<<t&(1<<m.PLUS|1<<m.SUBSTRACT|1<<m.NON))?this._errHandler.recoverInline(this):(this._input.LA(1)===p.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume()),this.state=25,this.expression(12);break;case m.STRING_INTERPOLATION_START:case m.OPEN_BRACKET:case m.OPEN_SQUARE_BRACKET:case m.OPEN_CURLY_BRACKET:case m.NUMBER:case m.IDENTIFIER:case m.STRING:o=new E(o),this._ctx=o,l=o,this.state=26,this.primaryExpression(0);break;default:throw new s.NoViableAltException(this)}for(this._ctx._stop=this._input.tryLT(-1),this.state=64,this._errHandler.sync(this),e=this.interpreter.adaptivePredict(this._input,2,this._ctx);2!==e&&e!==i.ATN.INVALID_ALT_NUMBER;){if(1===e)switch(null!=this._parseListeners&&this.triggerExitRuleEvent(),l=o,this.state=62,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,1,this._ctx)){case 1:if(o=new b(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=29,!this.precpred(this._ctx,11))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 11)");this.state=30,this.match(m.XOR),this.state=31,this.expression(11);break;case 2:if(o=new b(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=32,!this.precpred(this._ctx,10))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=33,-32&(t=this._input.LA(1))||!(1<<t&(1<<m.ASTERISK|1<<m.SLASH|1<<m.PERCENT))?this._errHandler.recoverInline(this):(this._input.LA(1)===p.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume()),this.state=34,this.expression(11);break;case 3:if(o=new b(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=35,!this.precpred(this._ctx,9))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 9)");this.state=36,(t=this._input.LA(1))!==m.PLUS&&t!==m.SUBSTRACT?this._errHandler.recoverInline(this):(this._input.LA(1)===p.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume()),this.state=37,this.expression(10);break;case 4:if(o=new b(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=38,!this.precpred(this._ctx,8))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 8)");this.state=39,(t=this._input.LA(1))!==m.DOUBLE_EQUAL&&t!==m.NOT_EQUAL?this._errHandler.recoverInline(this):(this._input.LA(1)===p.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume()),this.state=40,this.expression(9);break;case 5:if(o=new b(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=41,!this.precpred(this._ctx,7))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 7)");this.state=42,this.match(m.SINGLE_AND),this.state=43,this.expression(8);break;case 6:if(o=new b(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=44,!this.precpred(this._ctx,6))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 6)");this.state=45,-32&(t=this._input.LA(1))||!(1<<t&(1<<m.LESS_THAN|1<<m.MORE_THAN|1<<m.LESS_OR_EQUAl|1<<m.MORE_OR_EQUAL))?this._errHandler.recoverInline(this):(this._input.LA(1)===p.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume()),this.state=46,this.expression(7);break;case 7:if(o=new b(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=47,!this.precpred(this._ctx,5))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 5)");this.state=48,this.match(m.DOUBLE_AND),this.state=49,this.expression(6);break;case 8:if(o=new b(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=50,!this.precpred(this._ctx,4))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 4)");this.state=51,this.match(m.DOUBLE_VERTICAL_CYLINDER),this.state=52,this.expression(5);break;case 9:if(o=new b(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=53,!this.precpred(this._ctx,3))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 3)");this.state=54,this.match(m.NULL_COALESCE),this.state=55,this.expression(4);break;case 10:if(o=new C(new v(r,n)),this.pushNewRecursionContext(o,2,m.RULE_expression),this.state=56,!this.precpred(this._ctx,2))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 2)");this.state=57,this.match(m.QUESTION_MARK),this.state=58,this.expression(0),this.state=59,this.match(m.COLON),this.state=60,this.expression(3)}this.state=66,this._errHandler.sync(this),e=this.interpreter.adaptivePredict(this._input,2,this._ctx)}}catch(e){if(!(e instanceof d.RecognitionException))throw e;o.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.unrollRecursionContexts(r)}return o}primaryExpression(e){void 0===e&&(e=0);let t,r=this._ctx,n=this.state,o=new _(this._ctx,n),l=o;this.enterRecursionRule(o,4,m.RULE_primaryExpression,e);try{let e;switch(this.enterOuterAlt(o,1),this.state=86,this._errHandler.sync(this),this._input.LA(1)){case m.OPEN_BRACKET:o=new T(o),this._ctx=o,l=o,this.state=68,this.match(m.OPEN_BRACKET),this.state=69,this.expression(0),this.state=70,this.match(m.CLOSE_BRACKET);break;case m.OPEN_SQUARE_BRACKET:o=new x(o),this._ctx=o,l=o,this.state=72,this.match(m.OPEN_SQUARE_BRACKET),this.state=74,this._errHandler.sync(this),(!(-32&(t=this._input.LA(1)))&&!!(1<<t&(1<<m.STRING_INTERPOLATION_START|1<<m.PLUS|1<<m.SUBSTRACT|1<<m.NON|1<<m.OPEN_BRACKET|1<<m.OPEN_SQUARE_BRACKET|1<<m.OPEN_CURLY_BRACKET|1<<m.NUMBER))||t===m.IDENTIFIER||t===m.STRING)&&(this.state=73,this.argsList()),this.state=76,this.match(m.CLOSE_SQUARE_BRACKET);break;case m.OPEN_CURLY_BRACKET:o=new S(o),this._ctx=o,l=o,this.state=77,this.match(m.OPEN_CURLY_BRACKET),this.state=79,this._errHandler.sync(this),(t=this._input.LA(1))!==m.IDENTIFIER&&t!==m.STRING||(this.state=78,this.keyValuePairList()),this.state=81,this.match(m.CLOSE_CURLY_BRACKET);break;case m.NUMBER:o=new O(o),this._ctx=o,l=o,this.state=82,this.match(m.NUMBER);break;case m.STRING:o=new w(o),this._ctx=o,l=o,this.state=83,this.match(m.STRING);break;case m.IDENTIFIER:o=new A(o),this._ctx=o,l=o,this.state=84,this.match(m.IDENTIFIER);break;case m.STRING_INTERPOLATION_START:o=new N(o),this._ctx=o,l=o,this.state=85,this.stringInterpolation();break;default:throw new s.NoViableAltException(this)}for(this._ctx._stop=this._input.tryLT(-1),this.state=107,this._errHandler.sync(this),e=this.interpreter.adaptivePredict(this._input,9,this._ctx);2!==e&&e!==i.ATN.INVALID_ALT_NUMBER;){if(1===e)switch(null!=this._parseListeners&&this.triggerExitRuleEvent(),l=o,this.state=105,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,8,this._ctx)){case 1:if(o=new P(new _(r,n)),this.pushNewRecursionContext(o,4,m.RULE_primaryExpression),this.state=88,!this.precpred(this._ctx,3))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 3)");this.state=89,this.match(m.DOT),this.state=90,this.match(m.IDENTIFIER);break;case 2:if(o=new I(new _(r,n)),this.pushNewRecursionContext(o,4,m.RULE_primaryExpression),this.state=91,!this.precpred(this._ctx,2))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 2)");this.state=93,this._errHandler.sync(this),(t=this._input.LA(1))===m.NON&&(this.state=92,this.match(m.NON)),this.state=95,this.match(m.OPEN_BRACKET),this.state=97,this._errHandler.sync(this),(!(-32&(t=this._input.LA(1)))&&!!(1<<t&(1<<m.STRING_INTERPOLATION_START|1<<m.PLUS|1<<m.SUBSTRACT|1<<m.NON|1<<m.OPEN_BRACKET|1<<m.OPEN_SQUARE_BRACKET|1<<m.OPEN_CURLY_BRACKET|1<<m.NUMBER))||t===m.IDENTIFIER||t===m.STRING)&&(this.state=96,this.argsList()),this.state=99,this.match(m.CLOSE_BRACKET);break;case 3:if(o=new R(new _(r,n)),this.pushNewRecursionContext(o,4,m.RULE_primaryExpression),this.state=100,!this.precpred(this._ctx,1))throw new a.FailedPredicateException(this,"this.precpred(this._ctx, 1)");this.state=101,this.match(m.OPEN_SQUARE_BRACKET),this.state=102,this.expression(0),this.state=103,this.match(m.CLOSE_SQUARE_BRACKET)}this.state=109,this._errHandler.sync(this),e=this.interpreter.adaptivePredict(this._input,9,this._ctx)}}catch(e){if(!(e instanceof d.RecognitionException))throw e;o.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.unrollRecursionContexts(r)}return o}stringInterpolation(){let e,t=new L(this._ctx,this.state);this.enterRule(t,6,m.RULE_stringInterpolation);try{for(this.enterOuterAlt(t,1),this.state=110,this.match(m.STRING_INTERPOLATION_START),this.state=116,this._errHandler.sync(this),e=this._input.LA(1);!(e-36&-32)&&1<<e-36&(1<<m.TEMPLATE-36|1<<m.ESCAPE_CHARACTER-36|1<<m.TEXT_CONTENT-36);){switch(this.state=114,this._errHandler.sync(this),this._input.LA(1)){case m.ESCAPE_CHARACTER:this.state=111,this.match(m.ESCAPE_CHARACTER);break;case m.TEMPLATE:this.state=112,this.match(m.TEMPLATE);break;case m.TEXT_CONTENT:this.state=113,this.textContent();break;default:throw new s.NoViableAltException(this)}this.state=118,this._errHandler.sync(this),e=this._input.LA(1)}this.state=119,this.match(m.STRING_INTERPOLATION_START)}catch(e){if(!(e instanceof d.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}textContent(){let e=new k(this._ctx,this.state);this.enterRule(e,8,m.RULE_textContent);try{let t;this.enterOuterAlt(e,1),this.state=122,this._errHandler.sync(this),t=1;do{if(1!==t)throw new s.NoViableAltException(this);this.state=121,this.match(m.TEXT_CONTENT),this.state=124,this._errHandler.sync(this),t=this.interpreter.adaptivePredict(this._input,12,this._ctx)}while(2!==t&&t!==i.ATN.INVALID_ALT_NUMBER)}catch(t){if(!(t instanceof d.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}argsList(){let e,t=new M(this._ctx,this.state);this.enterRule(t,10,m.RULE_argsList);try{switch(this.enterOuterAlt(t,1),this.state=128,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,13,this._ctx)){case 1:this.state=126,this.lambda();break;case 2:this.state=127,this.expression(0)}for(this.state=137,this._errHandler.sync(this),e=this._input.LA(1);e===m.COMMA;){switch(this.state=130,this.match(m.COMMA),this.state=133,this._errHandler.sync(this),this.interpreter.adaptivePredict(this._input,14,this._ctx)){case 1:this.state=131,this.lambda();break;case 2:this.state=132,this.expression(0)}this.state=139,this._errHandler.sync(this),e=this._input.LA(1)}}catch(e){if(!(e instanceof d.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}lambda(){let e=new D(this._ctx,this.state);this.enterRule(e,12,m.RULE_lambda);try{this.enterOuterAlt(e,1),this.state=140,this.match(m.IDENTIFIER),this.state=141,this.match(m.ARROW),this.state=142,this.expression(0)}catch(t){if(!(t instanceof d.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}keyValuePairList(){let e,t=new U(this._ctx,this.state);this.enterRule(t,14,m.RULE_keyValuePairList);try{for(this.enterOuterAlt(t,1),this.state=144,this.keyValuePair(),this.state=149,this._errHandler.sync(this),e=this._input.LA(1);e===m.COMMA;)this.state=145,this.match(m.COMMA),this.state=146,this.keyValuePair(),this.state=151,this._errHandler.sync(this),e=this._input.LA(1)}catch(e){if(!(e instanceof d.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}keyValuePair(){let e=new j(this._ctx,this.state);this.enterRule(e,16,m.RULE_keyValuePair);try{this.enterOuterAlt(e,1),this.state=152,this.key(),this.state=153,this.match(m.COLON),this.state=154,this.expression(0)}catch(t){if(!(t instanceof d.RecognitionException))throw t;e.exception=t,this._errHandler.reportError(this,t),this._errHandler.recover(this,t)}finally{this.exitRule()}return e}key(){let e,t=new F(this._ctx,this.state);this.enterRule(t,18,m.RULE_key);try{this.enterOuterAlt(t,1),this.state=156,(e=this._input.LA(1))!==m.IDENTIFIER&&e!==m.STRING?this._errHandler.recoverInline(this):(this._input.LA(1)===p.Token.EOF&&(this.matchedEOF=!0),this._errHandler.reportMatch(this),this.consume())}catch(e){if(!(e instanceof d.RecognitionException))throw e;t.exception=e,this._errHandler.reportError(this,e),this._errHandler.recover(this,e)}finally{this.exitRule()}return t}sempred(e,t,r){switch(t){case 1:return this.expression_sempred(e,r);case 2:return this.primaryExpression_sempred(e,r)}return!0}expression_sempred(e,t){switch(t){case 0:return this.precpred(this._ctx,11);case 1:return this.precpred(this._ctx,10);case 2:return this.precpred(this._ctx,9);case 3:return this.precpred(this._ctx,8);case 4:return this.precpred(this._ctx,7);case 5:return this.precpred(this._ctx,6);case 6:return this.precpred(this._ctx,5);case 7:return this.precpred(this._ctx,4);case 8:return this.precpred(this._ctx,3);case 9:return this.precpred(this._ctx,2)}return!0}primaryExpression_sempred(e,t){switch(t){case 10:return this.precpred(this._ctx,3);case 11:return this.precpred(this._ctx,2);case 12:return this.precpred(this._ctx,1)}return!0}static get _ATN(){return m.__ATN||(m.__ATN=(new o.ATNDeserializer).deserialize(h.toCharArray(m._serializedATN))),m.__ATN}}m.STRING_INTERPOLATION_START=1,m.PLUS=2,m.SUBSTRACT=3,m.NON=4,m.XOR=5,m.ASTERISK=6,m.SLASH=7,m.PERCENT=8,m.DOUBLE_EQUAL=9,m.NOT_EQUAL=10,m.SINGLE_AND=11,m.DOUBLE_AND=12,m.DOUBLE_VERTICAL_CYLINDER=13,m.LESS_THAN=14,m.MORE_THAN=15,m.LESS_OR_EQUAl=16,m.MORE_OR_EQUAL=17,m.OPEN_BRACKET=18,m.CLOSE_BRACKET=19,m.DOT=20,m.OPEN_SQUARE_BRACKET=21,m.CLOSE_SQUARE_BRACKET=22,m.OPEN_CURLY_BRACKET=23,m.CLOSE_CURLY_BRACKET=24,m.COMMA=25,m.COLON=26,m.ARROW=27,m.NULL_COALESCE=28,m.QUESTION_MARK=29,m.NUMBER=30,m.WHITESPACE=31,m.IDENTIFIER=32,m.NEWLINE=33,m.STRING=34,m.INVALID_TOKEN_DEFAULT_MODE=35,m.TEMPLATE=36,m.ESCAPE_CHARACTER=37,m.TEXT_CONTENT=38,m.RULE_file=0,m.RULE_expression=1,m.RULE_primaryExpression=2,m.RULE_stringInterpolation=3,m.RULE_textContent=4,m.RULE_argsList=5,m.RULE_lambda=6,m.RULE_keyValuePairList=7,m.RULE_keyValuePair=8,m.RULE_key=9,m.ruleNames=["file","expression","primaryExpression","stringInterpolation","textContent","argsList","lambda","keyValuePairList","keyValuePair","key"],m._LITERAL_NAMES=[void 0,void 0,"'+'","'-'","'!'","'^'","'*'","'/'","'%'","'=='",void 0,"'&'","'&&'","'||'","'<'","'>'","'<='","'>='","'('","')'","'.'","'['","']'","'{'","'}'","','","':'","'=>'","'??'","'?'"],m._SYMBOLIC_NAMES=[void 0,"STRING_INTERPOLATION_START","PLUS","SUBSTRACT","NON","XOR","ASTERISK","SLASH","PERCENT","DOUBLE_EQUAL","NOT_EQUAL","SINGLE_AND","DOUBLE_AND","DOUBLE_VERTICAL_CYLINDER","LESS_THAN","MORE_THAN","LESS_OR_EQUAl","MORE_OR_EQUAL","OPEN_BRACKET","CLOSE_BRACKET","DOT","OPEN_SQUARE_BRACKET","CLOSE_SQUARE_BRACKET","OPEN_CURLY_BRACKET","CLOSE_CURLY_BRACKET","COMMA","COLON","ARROW","NULL_COALESCE","QUESTION_MARK","NUMBER","WHITESPACE","IDENTIFIER","NEWLINE","STRING","INVALID_TOKEN_DEFAULT_MODE","TEMPLATE","ESCAPE_CHARACTER","TEXT_CONTENT"],m.VOCABULARY=new f.VocabularyImpl(m._LITERAL_NAMES,m._SYMBOLIC_NAMES,[]),m._serializedATN='줝쪺֍꾺体؇쉁(¡\t\t\t\t\t\t\b\t\b\t\t\t\n\t\n\v\t\v\nA\n\fD\vM\nR\nY\n`\nd\nl\n\fo\vu\n\fx\v}\n\r~ƒ\nˆ\nŠ\n\f\v\b\b\b\b\t\t\t\t–\n\t\f\t\t™\v\t\n\n\n\n\v\v\v\f\b\n\f\b\b\n\v\f""$$¶X\bp\n|\f‚Ž’šž\b\tB \f\r !!A\r"#\f\f#$\t$A\r%&\f\v&\'\t\'A\f()\f\n)*\t*A\v+,\f\t,-\r-A\n./\f\b/0\t0A\t12\f233A\b45\f566A78\f899A:;\f;<<==>>??A@@"@%@(@+@.@1@4@7@:ADB@BCCDBEF\bFGGHHIIYJLKM\fLKLMMNNYOQPR\tQPQRRSSYTY UY$VY"WY\bXEXJXOXTXUXVXWYmZ[\f[\\\\l"]_\f^`_^_``aacbd\fcbcddeelfg\fghhiijjlkZk]kflomkmnnompvqu\'ru&su\ntqtrtsuxvtvwwyxvyzz\t{}(|{}~~|~\v€ƒ\bƒ‚€‚ƒ‹„‡…ˆ\b†ˆ‡…‡†ˆŠ‰„Š‹‰‹ŒŒ\r‹Ž"‘‘’—\n“””–\n•“–™—•—˜˜™—š›\v›œœžŸ\tŸ@BLQX_ckmtv~‚‡‹—',r.ExpressionAntlrParser=m;class y extends u.ParserRuleContext{expression(){return this.getRuleContext(0,v)}EOF(){return this.getToken(m.EOF,0)}constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_file}enterRule(e){e.enterFile&&e.enterFile(this)}exitRule(e){e.exitFile&&e.exitFile(this)}accept(e){return e.visitFile?e.visitFile(this):e.visitChildren(this)}}r.FileContext=y;class v extends u.ParserRuleContext{constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_expression}copyFrom(e){super.copyFrom(e)}}r.ExpressionContext=v;class g extends v{expression(){return this.getRuleContext(0,v)}NON(){return this.tryGetToken(m.NON,0)}SUBSTRACT(){return this.tryGetToken(m.SUBSTRACT,0)}PLUS(){return this.tryGetToken(m.PLUS,0)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterUnaryOpExp&&e.enterUnaryOpExp(this)}exitRule(e){e.exitUnaryOpExp&&e.exitUnaryOpExp(this)}accept(e){return e.visitUnaryOpExp?e.visitUnaryOpExp(this):e.visitChildren(this)}}r.UnaryOpExpContext=g;class b extends v{expression(e){return void 0===e?this.getRuleContexts(v):this.getRuleContext(e,v)}XOR(){return this.tryGetToken(m.XOR,0)}ASTERISK(){return this.tryGetToken(m.ASTERISK,0)}SLASH(){return this.tryGetToken(m.SLASH,0)}PERCENT(){return this.tryGetToken(m.PERCENT,0)}PLUS(){return this.tryGetToken(m.PLUS,0)}SUBSTRACT(){return this.tryGetToken(m.SUBSTRACT,0)}DOUBLE_EQUAL(){return this.tryGetToken(m.DOUBLE_EQUAL,0)}NOT_EQUAL(){return this.tryGetToken(m.NOT_EQUAL,0)}SINGLE_AND(){return this.tryGetToken(m.SINGLE_AND,0)}LESS_THAN(){return this.tryGetToken(m.LESS_THAN,0)}LESS_OR_EQUAl(){return this.tryGetToken(m.LESS_OR_EQUAl,0)}MORE_THAN(){return this.tryGetToken(m.MORE_THAN,0)}MORE_OR_EQUAL(){return this.tryGetToken(m.MORE_OR_EQUAL,0)}DOUBLE_AND(){return this.tryGetToken(m.DOUBLE_AND,0)}DOUBLE_VERTICAL_CYLINDER(){return this.tryGetToken(m.DOUBLE_VERTICAL_CYLINDER,0)}NULL_COALESCE(){return this.tryGetToken(m.NULL_COALESCE,0)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterBinaryOpExp&&e.enterBinaryOpExp(this)}exitRule(e){e.exitBinaryOpExp&&e.exitBinaryOpExp(this)}accept(e){return e.visitBinaryOpExp?e.visitBinaryOpExp(this):e.visitChildren(this)}}r.BinaryOpExpContext=b;class C extends v{expression(e){return void 0===e?this.getRuleContexts(v):this.getRuleContext(e,v)}QUESTION_MARK(){return this.getToken(m.QUESTION_MARK,0)}COLON(){return this.getToken(m.COLON,0)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterTripleOpExp&&e.enterTripleOpExp(this)}exitRule(e){e.exitTripleOpExp&&e.exitTripleOpExp(this)}accept(e){return e.visitTripleOpExp?e.visitTripleOpExp(this):e.visitChildren(this)}}r.TripleOpExpContext=C;class E extends v{primaryExpression(){return this.getRuleContext(0,_)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterPrimaryExp&&e.enterPrimaryExp(this)}exitRule(e){e.exitPrimaryExp&&e.exitPrimaryExp(this)}accept(e){return e.visitPrimaryExp?e.visitPrimaryExp(this):e.visitChildren(this)}}r.PrimaryExpContext=E;class _ extends u.ParserRuleContext{constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_primaryExpression}copyFrom(e){super.copyFrom(e)}}r.PrimaryExpressionContext=_;class T extends _{OPEN_BRACKET(){return this.getToken(m.OPEN_BRACKET,0)}expression(){return this.getRuleContext(0,v)}CLOSE_BRACKET(){return this.getToken(m.CLOSE_BRACKET,0)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterParenthesisExp&&e.enterParenthesisExp(this)}exitRule(e){e.exitParenthesisExp&&e.exitParenthesisExp(this)}accept(e){return e.visitParenthesisExp?e.visitParenthesisExp(this):e.visitChildren(this)}}r.ParenthesisExpContext=T;class x extends _{OPEN_SQUARE_BRACKET(){return this.getToken(m.OPEN_SQUARE_BRACKET,0)}CLOSE_SQUARE_BRACKET(){return this.getToken(m.CLOSE_SQUARE_BRACKET,0)}argsList(){return this.tryGetRuleContext(0,M)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterArrayCreationExp&&e.enterArrayCreationExp(this)}exitRule(e){e.exitArrayCreationExp&&e.exitArrayCreationExp(this)}accept(e){return e.visitArrayCreationExp?e.visitArrayCreationExp(this):e.visitChildren(this)}}r.ArrayCreationExpContext=x;class S extends _{OPEN_CURLY_BRACKET(){return this.getToken(m.OPEN_CURLY_BRACKET,0)}CLOSE_CURLY_BRACKET(){return this.getToken(m.CLOSE_CURLY_BRACKET,0)}keyValuePairList(){return this.tryGetRuleContext(0,U)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterJsonCreationExp&&e.enterJsonCreationExp(this)}exitRule(e){e.exitJsonCreationExp&&e.exitJsonCreationExp(this)}accept(e){return e.visitJsonCreationExp?e.visitJsonCreationExp(this):e.visitChildren(this)}}r.JsonCreationExpContext=S;class O extends _{NUMBER(){return this.getToken(m.NUMBER,0)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterNumericAtom&&e.enterNumericAtom(this)}exitRule(e){e.exitNumericAtom&&e.exitNumericAtom(this)}accept(e){return e.visitNumericAtom?e.visitNumericAtom(this):e.visitChildren(this)}}r.NumericAtomContext=O;class w extends _{STRING(){return this.getToken(m.STRING,0)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterStringAtom&&e.enterStringAtom(this)}exitRule(e){e.exitStringAtom&&e.exitStringAtom(this)}accept(e){return e.visitStringAtom?e.visitStringAtom(this):e.visitChildren(this)}}r.StringAtomContext=w;class A extends _{IDENTIFIER(){return this.getToken(m.IDENTIFIER,0)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterIdAtom&&e.enterIdAtom(this)}exitRule(e){e.exitIdAtom&&e.exitIdAtom(this)}accept(e){return e.visitIdAtom?e.visitIdAtom(this):e.visitChildren(this)}}r.IdAtomContext=A;class N extends _{stringInterpolation(){return this.getRuleContext(0,L)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterStringInterpolationAtom&&e.enterStringInterpolationAtom(this)}exitRule(e){e.exitStringInterpolationAtom&&e.exitStringInterpolationAtom(this)}accept(e){return e.visitStringInterpolationAtom?e.visitStringInterpolationAtom(this):e.visitChildren(this)}}r.StringInterpolationAtomContext=N;class P extends _{primaryExpression(){return this.getRuleContext(0,_)}DOT(){return this.getToken(m.DOT,0)}IDENTIFIER(){return this.getToken(m.IDENTIFIER,0)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterMemberAccessExp&&e.enterMemberAccessExp(this)}exitRule(e){e.exitMemberAccessExp&&e.exitMemberAccessExp(this)}accept(e){return e.visitMemberAccessExp?e.visitMemberAccessExp(this):e.visitChildren(this)}}r.MemberAccessExpContext=P;class I extends _{primaryExpression(){return this.getRuleContext(0,_)}OPEN_BRACKET(){return this.getToken(m.OPEN_BRACKET,0)}CLOSE_BRACKET(){return this.getToken(m.CLOSE_BRACKET,0)}NON(){return this.tryGetToken(m.NON,0)}argsList(){return this.tryGetRuleContext(0,M)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterFuncInvokeExp&&e.enterFuncInvokeExp(this)}exitRule(e){e.exitFuncInvokeExp&&e.exitFuncInvokeExp(this)}accept(e){return e.visitFuncInvokeExp?e.visitFuncInvokeExp(this):e.visitChildren(this)}}r.FuncInvokeExpContext=I;class R extends _{primaryExpression(){return this.getRuleContext(0,_)}OPEN_SQUARE_BRACKET(){return this.getToken(m.OPEN_SQUARE_BRACKET,0)}expression(){return this.getRuleContext(0,v)}CLOSE_SQUARE_BRACKET(){return this.getToken(m.CLOSE_SQUARE_BRACKET,0)}constructor(e){super(e.parent,e.invokingState),this.copyFrom(e)}enterRule(e){e.enterIndexAccessExp&&e.enterIndexAccessExp(this)}exitRule(e){e.exitIndexAccessExp&&e.exitIndexAccessExp(this)}accept(e){return e.visitIndexAccessExp?e.visitIndexAccessExp(this):e.visitChildren(this)}}r.IndexAccessExpContext=R;class L extends u.ParserRuleContext{STRING_INTERPOLATION_START(e){return void 0===e?this.getTokens(m.STRING_INTERPOLATION_START):this.getToken(m.STRING_INTERPOLATION_START,e)}ESCAPE_CHARACTER(e){return void 0===e?this.getTokens(m.ESCAPE_CHARACTER):this.getToken(m.ESCAPE_CHARACTER,e)}TEMPLATE(e){return void 0===e?this.getTokens(m.TEMPLATE):this.getToken(m.TEMPLATE,e)}textContent(e){return void 0===e?this.getRuleContexts(k):this.getRuleContext(e,k)}constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_stringInterpolation}enterRule(e){e.enterStringInterpolation&&e.enterStringInterpolation(this)}exitRule(e){e.exitStringInterpolation&&e.exitStringInterpolation(this)}accept(e){return e.visitStringInterpolation?e.visitStringInterpolation(this):e.visitChildren(this)}}r.StringInterpolationContext=L;class k extends u.ParserRuleContext{TEXT_CONTENT(e){return void 0===e?this.getTokens(m.TEXT_CONTENT):this.getToken(m.TEXT_CONTENT,e)}constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_textContent}enterRule(e){e.enterTextContent&&e.enterTextContent(this)}exitRule(e){e.exitTextContent&&e.exitTextContent(this)}accept(e){return e.visitTextContent?e.visitTextContent(this):e.visitChildren(this)}}r.TextContentContext=k;class M extends u.ParserRuleContext{lambda(e){return void 0===e?this.getRuleContexts(D):this.getRuleContext(e,D)}expression(e){return void 0===e?this.getRuleContexts(v):this.getRuleContext(e,v)}COMMA(e){return void 0===e?this.getTokens(m.COMMA):this.getToken(m.COMMA,e)}constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_argsList}enterRule(e){e.enterArgsList&&e.enterArgsList(this)}exitRule(e){e.exitArgsList&&e.exitArgsList(this)}accept(e){return e.visitArgsList?e.visitArgsList(this):e.visitChildren(this)}}r.ArgsListContext=M;class D extends u.ParserRuleContext{IDENTIFIER(){return this.getToken(m.IDENTIFIER,0)}ARROW(){return this.getToken(m.ARROW,0)}expression(){return this.getRuleContext(0,v)}constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_lambda}enterRule(e){e.enterLambda&&e.enterLambda(this)}exitRule(e){e.exitLambda&&e.exitLambda(this)}accept(e){return e.visitLambda?e.visitLambda(this):e.visitChildren(this)}}r.LambdaContext=D;class U extends u.ParserRuleContext{keyValuePair(e){return void 0===e?this.getRuleContexts(j):this.getRuleContext(e,j)}COMMA(e){return void 0===e?this.getTokens(m.COMMA):this.getToken(m.COMMA,e)}constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_keyValuePairList}enterRule(e){e.enterKeyValuePairList&&e.enterKeyValuePairList(this)}exitRule(e){e.exitKeyValuePairList&&e.exitKeyValuePairList(this)}accept(e){return e.visitKeyValuePairList?e.visitKeyValuePairList(this):e.visitChildren(this)}}r.KeyValuePairListContext=U;class j extends u.ParserRuleContext{key(){return this.getRuleContext(0,F)}COLON(){return this.getToken(m.COLON,0)}expression(){return this.getRuleContext(0,v)}constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_keyValuePair}enterRule(e){e.enterKeyValuePair&&e.enterKeyValuePair(this)}exitRule(e){e.exitKeyValuePair&&e.exitKeyValuePair(this)}accept(e){return e.visitKeyValuePair?e.visitKeyValuePair(this):e.visitChildren(this)}}r.KeyValuePairContext=j;class F extends u.ParserRuleContext{IDENTIFIER(){return this.tryGetToken(m.IDENTIFIER,0)}STRING(){return this.tryGetToken(m.STRING,0)}constructor(e,t){super(e,t)}get ruleIndex(){return m.RULE_key}enterRule(e){e.enterKey&&e.enterKey(this)}exitRule(e){e.exitKey&&e.exitKey(this)}accept(e){return e.visitKey?e.visitKey(this):e.visitChildren(this)}}r.KeyContext=F},{246:246,254:254,255:255,257:257,260:260,266:266,268:268,269:269,273:273,310:310,355:355}],363:[function(e,t,r){function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(e(356)),n(e(357)),n(e(358)),n(e(359)),n(e(360)),n(e(361)),n(e(362))},{356:356,357:357,358:358,359:359,360:360,361:361,362:362}],206:[function(e,t,r){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(r,"__esModule",{value:!0});const i=e(273),o=e(250),a=e(294),s=e(268),l=n(e(355));class u extends o.Lexer{constructor(e){super(e),this.ignoreWS=!0,this._interp=new a.LexerATNSimulator(u._ATN,this)}get vocabulary(){return u.VOCABULARY}get grammarFileName(){return"ExpressionAntlrLexer.g4"}get ruleNames(){return u.ruleNames}get serializedATN(){return u._serializedATN}get channelNames(){return u.channelNames}get modeNames(){return u.modeNames}action(e,t,r){switch(t){case 3:this.STRING_INTERPOLATION_START_action(e,r);break;case 38:this.STRING_INTERPOLATION_END_action(e,r)}}STRING_INTERPOLATION_START_action(e,t){0===t&&(this.ignoreWS=!1)}STRING_INTERPOLATION_END_action(e,t){1===t&&(this.ignoreWS=!0)}sempred(e,t,r){return 33!==t||this.WHITESPACE_sempred(e,r)}WHITESPACE_sempred(e,t){return 0!==t||this.ignoreWS}static get _ATN(){return u.__ATN||(u.__ATN=(new i.ATNDeserializer).deserialize(l.toCharArray(u._serializedATN))),u.__ATN}}u.STRING_INTERPOLATION_START=1,u.PLUS=2,u.SUBSTRACT=3,u.NON=4,u.XOR=5,u.ASTERISK=6,u.SLASH=7,u.PERCENT=8,u.DOUBLE_EQUAL=9,u.NOT_EQUAL=10,u.SINGLE_AND=11,u.DOUBLE_AND=12,u.DOUBLE_VERTICAL_CYLINDER=13,u.LESS_THAN=14,u.MORE_THAN=15,u.LESS_OR_EQUAl=16,u.MORE_OR_EQUAL=17,u.OPEN_BRACKET=18,u.CLOSE_BRACKET=19,u.DOT=20,u.OPEN_SQUARE_BRACKET=21,u.CLOSE_SQUARE_BRACKET=22,u.OPEN_CURLY_BRACKET=23,u.CLOSE_CURLY_BRACKET=24,u.COMMA=25,u.COLON=26,u.ARROW=27,u.NULL_COALESCE=28,u.QUESTION_MARK=29,u.NUMBER=30,u.WHITESPACE=31,u.IDENTIFIER=32,u.NEWLINE=33,u.STRING=34,u.INVALID_TOKEN_DEFAULT_MODE=35,u.TEMPLATE=36,u.ESCAPE_CHARACTER=37,u.TEXT_CONTENT=38,u.STRING_INTERPOLATION_MODE=1,u.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],u.modeNames=["DEFAULT_MODE","STRING_INTERPOLATION_MODE"],u.ruleNames=["LETTER","DIGIT","OBJECT_DEFINITION","STRING_INTERPOLATION_START","PLUS","SUBSTRACT","NON","XOR","ASTERISK","SLASH","PERCENT","DOUBLE_EQUAL","NOT_EQUAL","SINGLE_AND","DOUBLE_AND","DOUBLE_VERTICAL_CYLINDER","LESS_THAN","MORE_THAN","LESS_OR_EQUAl","MORE_OR_EQUAL","OPEN_BRACKET","CLOSE_BRACKET","DOT","OPEN_SQUARE_BRACKET","CLOSE_SQUARE_BRACKET","OPEN_CURLY_BRACKET","CLOSE_CURLY_BRACKET","COMMA","COLON","ARROW","NULL_COALESCE","QUESTION_MARK","NUMBER","WHITESPACE","IDENTIFIER","NEWLINE","STRING","INVALID_TOKEN_DEFAULT_MODE","STRING_INTERPOLATION_END","TEMPLATE","ESCAPE_CHARACTER","TEXT_CONTENT"],u._LITERAL_NAMES=[void 0,void 0,"'+'","'-'","'!'","'^'","'*'","'/'","'%'","'=='",void 0,"'&'","'&&'","'||'","'<'","'>'","'<='","'>='","'('","')'","'.'","'['","']'","'{'","'}'","','","':'","'=>'","'??'","'?'"],u._SYMBOLIC_NAMES=[void 0,"STRING_INTERPOLATION_START","PLUS","SUBSTRACT","NON","XOR","ASTERISK","SLASH","PERCENT","DOUBLE_EQUAL","NOT_EQUAL","SINGLE_AND","DOUBLE_AND","DOUBLE_VERTICAL_CYLINDER","LESS_THAN","MORE_THAN","LESS_OR_EQUAl","MORE_OR_EQUAL","OPEN_BRACKET","CLOSE_BRACKET","DOT","OPEN_SQUARE_BRACKET","CLOSE_SQUARE_BRACKET","OPEN_CURLY_BRACKET","CLOSE_CURLY_BRACKET","COMMA","COLON","ARROW","NULL_COALESCE","QUESTION_MARK","NUMBER","WHITESPACE","IDENTIFIER","NEWLINE","STRING","INVALID_TOKEN_DEFAULT_MODE","TEMPLATE","ESCAPE_CHARACTER","TEXT_CONTENT"],u.VOCABULARY=new s.VocabularyImpl(u._LITERAL_NAMES,u._SYMBOLIC_NAMES,[]),u._serializedATN='줝쪺֍꾺体؇쉁(ď\b\b\t\t\t\t\t\t\b\t\b\t\t\t\n\t\n\v\t\v\f\t\f\r\t\r\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t !\t!"\t"#\t#$\t$%\t%&\t&\'\t\'(\t()\t)*\t*+\t+a\ng\n\rhk\n\fn\v\b\b\t\t\n\n\v\v\f\f\r\r\rŒ\n   !!""»\n"\r""¼"""Á\n"\r""Â"Å\n"#####$$$$$$Ñ\n$$$$$Ö\n$\f$$Ù\v$%%Ü\n%%%%%&&&&&æ\n&\f&&é\v&&&&&&&ð\n&\f&&ó\v&&&ö\n&\'\'(((((())))))ą\n)\r))Ć))***++çñ,\b\n\f\b\t\n\v\f\r "$&(*,.02468:<>@BD F!H"J#L$N%PR&T\'V(\fC\\c|2;\t\f\f$$))bb}}\v\v""¢¢!!%%BBaa))^^))$$^^$$&&bbģ\n\f "$&(*,.02468:<>@BDFHJLNPRTVXZ\b\\\nq\fvxz|~€‚„‹ "’$•&—(™*œ,Ÿ.¡0£2¥4§6©8«:­<¯>±@´B·DºFÆHÐJÛLõN÷PùRÿTĊVčXY\tYZ[\t[\\l}]kF#^aH$_aL&`^`_abbf<cgL&dg\neg\bfcfdfeghhfhiikj]j`knljlmmonlopp\tqrbrs\bsttu\bu\vvw-w\rxy/yz{#{|}`}~,€1‚ƒ\'ƒ„…?…†?†‡ˆ#ˆŒ?‰Š>ŠŒ@‹‡‹‰ŒŽ(Ž(‘(‘!’“~“”~”#•–>–%—˜@˜\'™š>š›?›)œ@ž?ž+Ÿ * -¡¢+¢/£¤0¤1¥¦]¦3§¨_¨5©ª}ª7«¬¬9­®.®;¯°<°=±²?²³@³?´µAµ¶A¶A·¸A¸C¹»º¹»¼¼º¼½½Ä¾À0¿ÁÀ¿ÁÂÂÀÂÃÃÅľÄÅÅEÆÇ\tÇÈ#ÈÉÉÊ\b#ÊGËÑÌÑ\tÍÎBÎÑBÏÑ&\'ÐËÐÌÐÍÐÏÑ×ÒÖÓÖÔÖaÕÒÕÓÕÔÖÙ×ÕרØIÙ×ÚÜÛÚÛÜÜÝÝÞ\fÞßßà\b%àKáç)âã^ãæ\täæ\n\båâåäæéçèçåèêéçêö)ëñ$ìí^íð\t\tîð\n\nïìïîðóñòñïòôóñôö$õáõëöM÷ø\vøOùúbúû\b(ûüüý\b(ýþ\b(þQÿĀ&ĀĄ}āąL&Ăą\băą\nĄāĄĂĄăąĆĆĄĆććĈĈĉĉSĊċ^ċČ\t\vČUčĎ\vĎW`fhjl‹¼ÂÄÐÕ×ÛåçïñõĄĆ\b\b(\t',r.ExpressionAntlrLexer=u},{250:250,268:268,273:273,294:294,355:355}],246:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(260),a=e(242),s=e(315);let l=class e extends o.RecognitionException{constructor(t,r,n){super(t,t.inputStream,t.context,e.formatMessage(r,n));let i=t.interpreter.atn.states[t.state].transition(0);i instanceof s.PredicateTransition?(this._ruleIndex=i.ruleIndex,this._predicateIndex=i.predIndex):(this._ruleIndex=0,this._predicateIndex=0),this._predicate=r,super.setOffendingToken(t,t.currentToken)}get ruleIndex(){return this._ruleIndex}get predicateIndex(){return this._predicateIndex}get predicate(){return this._predicate}static formatMessage(e,t){return t||`failed predicate: {${e}}?`}};n([a.NotNull],l,"formatMessage",null),l=n([i(0,a.NotNull)],l),r.FailedPredicateException=l},{242:242,260:260,315:315}],269:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(339),a=e(334),s=e(349),l=e(292),u=e(293),c=e(242),d=e(352),p=e(316),f=e(266);let h=class{constructor(e,t){this.states=[],this.decisionToState=[],this.modeNameToStartState=new Map,this.modeToStartState=[],this.contextCache=new o.Array2DHashMap(d.ObjectEqualityComparator.INSTANCE),this.decisionToDFA=[],this.modeToDFA=[],this.LL1Table=new Map,this.grammarType=e,this.maxTokenType=t}clearDFA(){this.decisionToDFA=new Array(this.decisionToState.length);for(let e=0;e<this.decisionToDFA.length;e++)this.decisionToDFA[e]=new a.DFA(this.decisionToState[e],e);this.modeToDFA=new Array(this.modeToStartState.length);for(let e=0;e<this.modeToDFA.length;e++)this.modeToDFA[e]=new a.DFA(this.modeToStartState[e]);this.contextCache.clear(),this.LL1Table.clear()}get contextCacheSize(){return this.contextCache.size}getCachedContext(e){return p.PredictionContext.getCachedContext(e,this.contextCache,new p.PredictionContext.IdentityHashMap)}getDecisionToDFA(){return this.decisionToDFA}nextTokens(e,t){return t?new u.LL1Analyzer(this).LOOK(e,t):(e.nextTokenWithinRule||(e.nextTokenWithinRule=this.nextTokens(e,p.PredictionContext.EMPTY_LOCAL),e.nextTokenWithinRule.setReadonly(!0)),e.nextTokenWithinRule)}addState(e){e.atn=this,e.stateNumber=this.states.length,this.states.push(e)}removeState(e){let t=new l.InvalidState;t.atn=this,t.stateNumber=e.stateNumber,this.states[e.stateNumber]=t}defineMode(e,t){this.modeNameToStartState.set(e,t),this.modeToStartState.push(t),this.modeToDFA.push(new a.DFA(t)),this.defineDecisionState(t)}defineDecisionState(e){return this.decisionToState.push(e),e.decision=this.decisionToState.length-1,this.decisionToDFA.push(new a.DFA(e,e.decision)),e.decision}getDecisionState(e){if(this.decisionToState.length>0)return this.decisionToState[e]}get numberOfDecisions(){return this.decisionToState.length}getExpectedTokens(e,t){if(e<0||e>=this.states.length)throw new RangeError("Invalid state number.");let r=t,n=this.states[e],i=this.nextTokens(n);if(!i.contains(f.Token.EPSILON))return i;let o=new s.IntervalSet;for(o.addAll(i),o.remove(f.Token.EPSILON);null!=r&&r.invokingState>=0&&i.contains(f.Token.EPSILON);){let e=this.states[r.invokingState].transition(0);i=this.nextTokens(e.followState),o.addAll(i),o.remove(f.Token.EPSILON),r=r._parent}return i.contains(f.Token.EPSILON)&&o.add(f.Token.EOF),o}};n([c.NotNull],h.prototype,"states",void 0),n([c.NotNull],h.prototype,"decisionToState",void 0),n([c.NotNull],h.prototype,"modeNameToStartState",void 0),n([c.NotNull],h.prototype,"modeToStartState",void 0),n([c.NotNull],h.prototype,"decisionToDFA",void 0),n([c.NotNull],h.prototype,"modeToDFA",void 0),n([c.NotNull],h.prototype,"nextTokens",null),n([i(0,c.NotNull)],h.prototype,"removeState",null),n([i(0,c.NotNull),i(1,c.NotNull)],h.prototype,"defineMode",null),n([i(0,c.NotNull)],h.prototype,"defineDecisionState",null),n([c.NotNull],h.prototype,"getExpectedTokens",null),h=n([i(0,c.NotNull)],h),r.ATN=h,function(e){e.INVALID_ALT_NUMBER=0}(h=r.ATN||(r.ATN={})),r.ATN=h},{242:242,266:266,292:292,293:293,316:316,334:334,339:339,349:349,352:352}],211:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Util=class{static trim(e,t){return void 0!==t?e.replace(new RegExp("".concat("^\\",t,"+|\\",t,"+$"),"g"),""):e.trim()}}},{}],215:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(179),i=e(192),o=e(219);class a extends n.Expression{constructor(e){if(super(i.ExpressionType.And,void 0),this.anyBindings=new Map,this.subsumed=!1,e)if(Array.isArray(e)){const t=e;this.children=t}else if(e instanceof a){const t=e;this.children=[...t.children];for(const[e,r]of t.anyBindings.entries())this.anyBindings.set(e,r)}else if(e instanceof n.Expression){const t=e;this.children.push(t)}}toString(e=[],t=0){e.push(" ".repeat(t)),this.subsumed&&e.push("*"),e.push("(");let r=!0;for(const t of this.children)r?r=!1:e.push(" && "),e.push(t.toString());return e.push(")"),this._ignored&&(e.push(" ignored("),e.push(this._ignored.toString()),e.push(")")),this.anyBindings.forEach(((t,r)=>{e.push(` ${r}->${t}`)})),e.join("")}relationship(e,t){let r=o.RelationshipType.incomparable,n=this,i=n.children.length,a=e,s=a.children.length,l=!1;if(s<i){a=this,n=e;const t=s;s=i,i=t,l=!0}if(0===i)r=0===s?o.RelationshipType.equal:o.RelationshipType.generalizes;else{for(const e of n.children){let n=o.RelationshipType.incomparable;for(const r of a.children)if((n=this._relationship(e,r,t))!==o.RelationshipType.incomparable)break;if(n===o.RelationshipType.incomparable){r=o.RelationshipType.incomparable;break}if(r===o.RelationshipType.incomparable&&(r=n),r===o.RelationshipType.equal){if(n!==o.RelationshipType.generalizes&&(n!==o.RelationshipType.specializes||i!==s)&&n!==o.RelationshipType.equal)break;r=n}else if(r!=n)break}if(i!==s)switch(r){case o.RelationshipType.equal:case o.RelationshipType.generalizes:r=o.RelationshipType.generalizes;break;default:r=o.RelationshipType.incomparable}r=this._bindingRelationship(r,n,a)}return this._swap(r,l)}matches(e,t){let r=!1;if(e.deepEquals(this)&&(r=!0,this._ignored)){const{value:e,error:n}=this._ignored.tryEvaluate(t);r=!n&&e}return r}splitIgnores(){const e=[],t=[];for(let r=0;r<this.children.length;r++){const n=this.children[r];n.type===i.ExpressionType.Ignore?t.push(n):e.push(n)}this.children=e,t.length>0&&(this._ignored=n.Expression.andExpression(...t))}_bindingRelationship(e,t,r){if(e===o.RelationshipType.equal){let n=!1,i=t.anyBindings,a=r.anyBindings;t.anyBindings.size>r.anyBindings.size&&(i=r.anyBindings,a=t.anyBindings,n=!0);for(const[t,r]of i.entries()){let n=!1;for(const[e,i]of a.entries())if(t===e&&r===i){n=!0;break}n||(e=o.RelationshipType.incomparable)}e===o.RelationshipType.equal&&i.size<a.size&&(e=o.RelationshipType.specializes),e=this._swap(e,n)}return e}_swap(e,t){let r=e;if(t)switch(e){case o.RelationshipType.specializes:r=o.RelationshipType.generalizes;break;case o.RelationshipType.generalizes:r=o.RelationshipType.specializes}return r}_relationship(e,t,r){o.RelationshipType.incomparable;let n,a=e,s=t;return e.type===i.ExpressionType.Not&&t.type===i.ExpressionType.Not&&(a=e.children[0],s=t.children[0]),a.type===t.type&&(n=r[a.type]),n?n.relationship(a,s):e.deepEquals(t)?o.RelationshipType.equal:o.RelationshipType.incomparable}}r.Clause=a},{179:179,192:192,219:219}],219:[function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),(n=r.RelationshipType||(r.RelationshipType={})).specializes="specializes",n.equal="equal",n.generalizes="generalizes",n.incomparable="incomparable"},{}],218:[function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),(n=r.QuantifierType||(r.QuantifierType={})).all="all",n.any="any",r.Quantifier=class{constructor(e,t,r){this.variable=e,this.type=t,this.bindings=r}toString(){return`${this.type} ${this.variable} ${this.bindings.length}`}}},{}],220:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(215),i=e(167),o=e(179),a=e(192),s=e(218),l=e(219),u=(e,t=!1)=>{let r=e;const n=e.evaluator.negation;switch(e.type){case a.ExpressionType.And:case a.ExpressionType.Or:{const n=e.children.map((e=>u(e,t)));r=1===n.length?n[0]:o.Expression.makeExpression(e.type===a.ExpressionType.And?t?a.ExpressionType.Or:a.ExpressionType.And:t?a.ExpressionType.And:a.ExpressionType.Or,void 0,...n);break}case a.ExpressionType.Not:r=u(e.children[0],!t);break;default:t&&(r=n?e.type===n.type?o.Expression.makeExpression(void 0,n,...e.children.map((e=>u(e,!0)))):o.Expression.makeExpression(void 0,n,...e.children):o.Expression.makeExpression(a.ExpressionType.Not,void 0,e))}return r};r.Trigger=class{constructor(e,t,r,...n){if(this._tree=e,this.action=r,this.originalExpression=t,this._quantifiers=n,t){const e=u(t);this._clauses=this._generateClauses(e),this._removeDuplicatedPredicates(),this._optimizeClauses(),this._expandQuantifiers(),this._removeDuplicates(),this._markSubsumedClauses(),this._splitIgnores()}else this._clauses=[]}get clauses(){return this._clauses}relationship(e,t){const r=this._relationship(this,e,t),n=this._relationship(e,this,t);return r===l.RelationshipType.equal?n===l.RelationshipType.equal?l.RelationshipType.equal:l.RelationshipType.specializes:r===l.RelationshipType.specializes?l.RelationshipType.specializes:n===l.RelationshipType.equal||n===l.RelationshipType.specializes?l.RelationshipType.generalizes:l.RelationshipType.incomparable}matches(e,t){return void 0!==this.clauses.find((r=>r.matches(e,t)))}toString(e=[],t=0){if(e.push(" ".repeat(t)),this._clauses.length>0){let r=!0;for(const n of this._clauses)r?r=!1:(e.push("\n"),e.push(" ".repeat(t)),e.push("|| ")),e.push(n.toString())}else e.push("<Empty>");return e.join("")}_relationship(e,t,r){let n=l.RelationshipType.incomparable;for(const i of e.clauses)if(!i.subsumed){let e=l.RelationshipType.incomparable;for(const n of t.clauses)if(!n.subsumed){const t=i.relationship(n,r);if(t===l.RelationshipType.equal||t===l.RelationshipType.specializes){e=t;break}}if(e===l.RelationshipType.incomparable){n=l.RelationshipType.incomparable;break}e===l.RelationshipType.equal?n===l.RelationshipType.incomparable&&(n=e):e===l.RelationshipType.specializes&&(n=e)}return n}_generateClauses(e){switch(e.type){case a.ExpressionType.And:{let t=[],r=!0;for(let i=0;i<e.children.length;i++){const o=e.children[i],a=this._generateClauses(o);if(0===a.length){t=[];break}if(r)t.push(...a),r=!1;else{const e=[];for(const r of t)for(const t of a){const i=[];i.push(...r.children),i.push(...t.children),e.push(new n.Clause(i))}t=e}}return t}case a.ExpressionType.Or:{const t=[];for(let r=0;r<e.children.length;r++){const n=e.children[r];t.push(...this._generateClauses(n))}return t}case a.ExpressionType.Optional:return[new n.Clause,...this._generateClauses(e.children[0])];default:return e instanceof i.Constant&&"boolean"==typeof e.value?e.value?[new n.Clause]:[]:[new n.Clause(e)]}}_removeDuplicatedPredicates(){for(let e=0;e<this._clauses.length;++e){const t=this._clauses[e],r=[];for(let e=0;e<t.children.length;++e){const n=t.children[e];let i=!1;for(let r=e+1;r<t.children.length;++r)if(n.deepEquals(t.children[r])){i=!0;break}i||r.push(n)}this._clauses[e]=new n.Clause(r)}}_markSubsumedClauses(){for(let e=0;e<this._clauses.length;++e){const t=this._clauses[e];if(!t.subsumed)for(let r=e+1;r<this._clauses.length;++r){const e=this._clauses[r];if(!e.subsumed){const n=t.relationship(e,this._tree.comparers);if(n===l.RelationshipType.equal)this._clauses.splice(r,1),--r;else{if(n===l.RelationshipType.specializes){t.subsumed=!0;break}n===l.RelationshipType.generalizes&&(e.subsumed=!0)}}}}}_splitIgnores(){for(let e=0;e<this._clauses.length;e++)this._clauses[e].splitIgnores()}_optimizeClauses(){this._clauses.forEach((e=>{this._tree.optimizers.forEach((t=>{t.optimize(e)}))}))}_expandQuantifiers(){if(this._quantifiers&&this._quantifiers.length>0)for(let e=0;e<this._quantifiers.length;e++){const t=this._quantifiers[e],r=[];for(let e=0;e<this._clauses.length;e++){const n=this._clauses[e];r.push(...this._expandQuantifiersWithClause(t,n))}this._clauses=r}}_expandQuantifiersWithClause(e,t){const r=[];if(e.type===s.QuantifierType.all){const i=[];if(e.bindings.length>0)for(let r=0;r<t.children.length;r++){const n=t.children[r];for(let t=0;t<e.bindings.length;t++){const r=e.bindings[t],{expression:o,changed:a}=this._substituteVariable(e.variable,r,n);if(i.push(o),!a)break}}else for(let r=0;r<t.children.length;r++){const n=t.children[r],{changed:o}=this._substituteVariable(e.variable,"",n);o||i.push(n)}r.push(new n.Clause(i))}else if(e.bindings.length>0){let i=!1;for(let o=0;o<e.bindings.length;o++){const a=e.bindings[o],s=new n.Clause(t),l=[];for(let r=0;r<t.children.length;r++){const n=t.children[r],{expression:o,changed:s}=this._substituteVariable(e.variable,a,n);i=i||s,l.push(o)}if(i&&s.anyBindings.set(e.variable,a),s.children=[...l],r.push(s),!i)break}}else{let n=!1;for(let r=0;r<t.children.length;r++){const i=t.children[r],{changed:o}=this._substituteVariable(e.variable,"",i);if(o){n=!0;break}}n||r.push(t)}return r}_substituteVariable(e,t,r){let n=r,s=!1;if(r.type===a.ExpressionType.Accessor&&1===r.children.length&&r.children[0]instanceof i.Constant&&"string"==typeof r.children[0].value&&r.children[0].value===e)n=o.Expression.makeExpression(a.ExpressionType.Accessor,void 0,new i.Constant(t)),s=!0;else{const i=[];for(let n=0;n<r.children.length;n++){const o=r.children[n],{expression:a,changed:l}=this._substituteVariable(e,t,o);i.push(a),s=s||l}s&&(n=new o.Expression(void 0,r.evaluator,...i))}return{expression:n,changed:s}}_removeDuplicates(){for(const e of this._clauses){const t=[...e.children];for(let e=0;e<t.length;++e){const r=t[e];for(let n=e+1;n<t.length;){const e=t[n];r.deepEquals(e)?t.splice(n,1):++n}}e.children=[...t]}}}},{167:167,179:179,192:192,215:215,218:218,219:219}],217:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(215),i=e(219);var o;!function(e){e.none="none",e.found="found",e.added="added",e.removed="removed",e.inserted="inserted"}(o||(o={})),r.Node=class{constructor(e,t,r){this._allTriggers=[],this._triggers=[],this._specializations=[],this.clause=new n.Clause(e),this.tree=t,r&&(this._allTriggers.push(r),this._triggers.push(r))}get triggers(){return this._triggers}get allTriggers(){return this._allTriggers}get specializations(){return this._specializations}toString(e=[],t=0){return this.clause.toString(e,t)}relationship(e){return this.clause.relationship(e.clause,this.tree.comparers)}matches(e){const t=new Set;return this._matches(e,t,new Map),Array.from(t)}addNode(e){return this._addNode(e,new Map)===o.added}removeTrigger(e){return this._removeTrigger(e,new Set)}_addNode(e,t){if(t.has(this))return o.none;let r=o.none;const n=e.triggers[0];switch(this.relationship(e)){case i.RelationshipType.equal:{const e=void 0!==this._allTriggers.find((e=>null!=n.action&&n.action===e.action));if(r=o.found,!e){this._allTriggers.push(n);let e=!0;for(let t=0;t<this._triggers.length;){const r=this._triggers[t],o=n.relationship(r,this.tree.comparers);if(o===i.RelationshipType.generalizes){e=!1;break}o===i.RelationshipType.specializes?this._triggers.splice(t,1):++t}e&&this._triggers.push(n),r=o.added}break}case i.RelationshipType.incomparable:for(const r of this._specializations)r._addNode(e,t);break;case i.RelationshipType.specializes:e._addSpecialization(this),r=o.inserted;break;case i.RelationshipType.generalizes:{let n,i=!1;for(let a=0;a<this._specializations.length;a++){const s=this._specializations[a],l=s._addNode(e,t);l!=o.none&&(i=!0,l===o.inserted?(n||(n=[]),n.push(s),r=o.added):r=l)}if(n){for(const e of n){const t=this._specializations.findIndex((t=>t===e));t>=0&&this._specializations.splice(t,1)}this._specializations.push(e)}i||(this._specializations.push(e),r=o.added);break}}return t.set(this,r),r}_matches(e,t,r){let n=r.get(this);if(n)return!0;n=!1;for(const i of this._specializations)i._matches(e,t,r)&&(n=!0);if(!n){const{value:r,error:i}=this.clause.tryEvaluate(e);if(!i&&r)for(const r of this.triggers)r.matches(this.clause,e)&&(t.add(r),n=!0)}return r.set(this,n),n}_removeTrigger(e,t){if(t.has(this))return!1;t.add(this);let r=!1;const n=this._allTriggers.findIndex((t=>t===e));if(n>=0){this._allTriggers.splice(n,1),r=!0;const t=this._triggers.findIndex((t=>t===e));if(t>=0){this._triggers.splice(t,1);for(const e of this._allTriggers){let t=!0;for(const r of this._triggers){const n=e.relationship(r,this.tree.comparers);if(n===i.RelationshipType.equal||n===i.RelationshipType.generalizes){t=!1;break}}t&&this._triggers.push(e)}}}let o;for(let n=0;n<this._specializations.length;n++){const i=this._specializations[n];i._removeTrigger(e,t)&&(r=!0),0===i.triggers.length&&(o||(o=[]),o.push(i))}if(o)for(const e of o){const t=this._specializations.findIndex((t=>t===e));if(t>=0){this._specializations.splice(t,1);for(const t of e.specializations){let e=!0;for(const r of this._specializations)if(r.relationship(t)===i.RelationshipType.generalizes){e=!1;break}e&&this._specializations.push(t)}}}return r}_addSpecialization(e){let t,r=!1,n=!1;for(let r=0;r<this._specializations.length;r++){const o=this._specializations[r],a=e.relationship(o);if(a===i.RelationshipType.equal){n=!0;break}if(a===i.RelationshipType.generalizes)t||(t=[]),t.push(o);else if(a===i.RelationshipType.specializes){n=!0;break}}if(!n){if(t)for(const r of t){const t=this._specializations.findIndex((e=>e===r));t>=0&&(e._addSpecialization(this._specializations[t]),this._specializations.splice(t,1))}this._specializations.push(e),r=!0}return r}}},{215:215,219:219}],221:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(179),i=e(215),o=e(217),a=e(219),s=e(220);r.TriggerTree=class{constructor(){this.optimizers=[],this.comparers={},this.totalTriggers=0,this.root=new o.Node(new i.Clause,this)}toString(){return`TriggerTree with ${this.totalTriggers} triggers`}addTrigger(e,t,...r){const i="string"==typeof e?n.Expression.parse(e):e,a=new s.Trigger(this,i,t,...r);let l=!1;if(a.clauses.length)for(const e of a.clauses){const t=new o.Node(e,this,a);this.root.addNode(t)&&(l=!0)}return l&&++this.totalTriggers,a}removeTrigger(e){const t=this.root.removeTrigger(e);return t&&--this.totalTriggers,t}treeToString(e=0){const t=[];return this._treeToString(t,this.root,e),t.join("")}matches(e){return this.root.matches(e)}verifyTree(){return this._verifyTree(this.root,new Set)}_verifyTree(e,t){let r;if(!t.has(e)){t.add(e);for(let n=0;!r&&n<e.specializations.length;++n){const i=e.specializations[n];if(e.relationship(i)!==a.RelationshipType.generalizes)r=e;else{this._verifyTree(e.specializations[n],t);for(let t=n+1;t<e.specializations.length;++t){const n=e.specializations[t];if(i.relationship(n)!==a.RelationshipType.incomparable){r=e;break}}}}}return r}_treeToString(e,t,r){t.toString(e,r),e.push(` [${t.triggers.length}]`),e.push("\n");for(const n of t.specializations)this._treeToString(e,n,r+2)}}},{179:179,215:215,217:217,219:219,220:220}],225:[function(e,t,r){function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,i=arguments.length;r<i;r++)t.push(arguments[r]);return t}function i(e,t,r){var n=t===e.head?new s(r,null,t,e):new s(r,t,t.next,e);return null===n.next&&(e.tail=n),null===n.prev&&(e.head=n),e.length++,n}function o(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,r,n){if(!(this instanceof s))return new s(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}t.exports=n,n.Node=s,n.create=n,n.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},n.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},n.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},n.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},n.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},n.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},n.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},n.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next},n.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev},n.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&t<e;t++)r=r.next;if(t===e&&null!==r)return r.value},n.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&t<e;t++)r=r.prev;if(t===e&&null!==r)return r.value},n.prototype.map=function(e,t){t=t||this;for(var r=new n,i=this.head;null!==i;)r.push(e.call(t,i.value,this)),i=i.next;return r},n.prototype.mapReverse=function(e,t){t=t||this;for(var r=new n,i=this.tail;null!==i;)r.push(e.call(t,i.value,this)),i=i.prev;return r},n.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&i<e;i++)o=o.next;for(;null!==o&&i<t;i++,o=o.next)r.push(o.value);return r},n.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)r.push(o.value);return r},n.prototype.splice=function(e,t){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,n=this.head;null!==n&&r<e;r++)n=n.next;var o=[];for(r=0;n&&r<t;r++)o.push(n.value),n=this.removeNode(n);for(null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev),r=2;r<arguments.length;r++)n=i(this,n,arguments[r]);return o},n.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};try{e(224)(n)}catch(e){}},{224:224}],224:[function(e,t,r){t.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},{}],226:[function(e,t,r){function n(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var i=n({HTML:"text/html",isHTML:function(e){return e===i.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),o=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===o.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});r.find=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var i=e[n];if(t.call(void 0,i,n,e))return i}},r.freeze=n,r.NAMESPACE=o},{}],227:[function(e,t,r){var n=e(226),i=e(228),o=e(229),a=e(231),s=i.DOMImplementation,l=n.NAMESPACE,u=a.ParseError,c=a.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function p(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function h(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function y(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}p.prototype.parseFromString=function(e,t){var r=this.options,n=new c,i=r.domBuilder||new f,a=r.errorHandler,s=r.locator,u=r.xmlns||{},p=/\/x?html?$/.test(t),h=p?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),n.errorHandler=function(e,t,r){if(!e){if(t instanceof f)return t;e=t}var n={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(r){e(t,r)}:e),n[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+m(r))}||function(){}}return r=r||{},o("warning"),o("error"),o("fatalError"),n}(a,i,s),n.domBuilder=r.domBuilder||i,p&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var y=r.normalizeLineEndings||d;return e&&"string"==typeof e?n.parse(y(e),u,h):n.errorHandler.error("invalid doc source"),i.doc},f.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var i=this.doc,o=i.createElementNS(e,r||t),a=n.length;v(this,o),this.currentElement=o,this.locator&&h(this.locator,o);for(var s=0;s<a;s++){e=n.getURI(s);var l=n.getValue(s),u=(r=n.getQName(s),i.createAttributeNS(e,r));this.locator&&h(n.getLocator(s),u),u.value=u.nodeValue=l,o.setAttributeNode(u)}},endElement:function(e,t,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,r),v(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=y.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&h(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=y.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&h(this.locator,n),v(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(e,t,r);this.locator&&h(this.locator,i),v(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,m(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,m(this.locator))},fatalError:function(e){throw new u(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){f.prototype[e]=function(){return null}})),r.DOMParser=p},{226:226,228:228,229:229,231:231}],228:[function(e,t,r){var n=e(226),i=n.find,o=n.NAMESPACE;function a(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}(e);return Object.keys(t.reduce(s,{}))}function u(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function c(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,u(r,n=new n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}var d={},p=d.ELEMENT_NODE=1,f=d.ATTRIBUTE_NODE=2,h=d.TEXT_NODE=3,m=d.CDATA_SECTION_NODE=4,y=d.ENTITY_REFERENCE_NODE=5,v=d.ENTITY_NODE=6,g=d.PROCESSING_INSTRUCTION_NODE=7,b=d.COMMENT_NODE=8,C=d.DOCUMENT_NODE=9,E=d.DOCUMENT_TYPE_NODE=10,_=d.DOCUMENT_FRAGMENT_NODE=11,T=d.NOTATION_NODE=12,x={},S={},O=(x.INDEX_SIZE_ERR=(S[1]="Index size error",1),x.DOMSTRING_SIZE_ERR=(S[2]="DOMString size error",2),x.HIERARCHY_REQUEST_ERR=(S[3]="Hierarchy request error",3)),w=(x.WRONG_DOCUMENT_ERR=(S[4]="Wrong document",4),x.INVALID_CHARACTER_ERR=(S[5]="Invalid character",5),x.NO_DATA_ALLOWED_ERR=(S[6]="No data allowed",6),x.NO_MODIFICATION_ALLOWED_ERR=(S[7]="No modification allowed",7),x.NOT_FOUND_ERR=(S[8]="Not found",8)),A=(x.NOT_SUPPORTED_ERR=(S[9]="Not supported",9),x.INUSE_ATTRIBUTE_ERR=(S[10]="Attribute in use",10));function N(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,S[e]),this.message=S[e],Error.captureStackTrace&&Error.captureStackTrace(this,N);return r.code=e,t&&(this.message=this.message+": "+t),r}function P(){}function I(e,t){this._node=e,this._refresh=t,R(this)}function R(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var r=e._refresh(e._node);fe(e,"length",r.length),u(r,e),e._inc=t}}function L(){}function k(e,t){for(var r=e.length;r--;)if(e[r]===t)return r}function M(e,t,r,n){if(n?t[k(t,n)]=r:t[t.length++]=r,e){r.ownerElement=e;var i=e.ownerDocument;i&&(n&&H(i,e,n),function(e,t,r){e&&e._inc++,r.namespaceURI===o.XMLNS&&(t._nsMap[r.prefix?r.localName:""]=r.value)}(i,e,r))}}function D(e,t,r){var n=k(t,r);if(!(n>=0))throw new N(w,new Error(e.tagName+"@"+r));for(var i=t.length-1;n<i;)t[n]=t[++n];if(t.length=i,e){var o=e.ownerDocument;o&&(H(o,e,r),r.ownerElement=null)}}function U(){}function j(){}function F(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function B(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(B(e,t))return!0}while(e=e.nextSibling)}function z(){this.ownerDocument=this}function H(e,t,r,n){e&&e._inc++,r.namespaceURI===o.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function q(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var i=t.firstChild,o=0;i;)n[o++]=i,i=i.nextSibling;n.length=o,delete n[n.length]}}}function V(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,q(e.ownerDocument,e),t}function G(e){return e&&e.nodeType===j.DOCUMENT_TYPE_NODE}function W(e){return e&&e.nodeType===j.ELEMENT_NODE}function $(e){return e&&e.nodeType===j.TEXT_NODE}function Y(e,t){var r=e.childNodes||[];if(i(r,W)||G(t))return!1;var n=i(r,G);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function K(e,t){var r=e.childNodes||[];if(i(r,(function(e){return W(e)&&e!==t})))return!1;var n=i(r,G);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function Z(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===j.DOCUMENT_FRAGMENT_NODE){var a=o.filter(W);if(a.length>1||i(o,$))throw new N(O,"More than one element or text in fragment");if(1===a.length&&!K(e,r))throw new N(O,"Element in fragment can not be inserted before doctype")}if(W(t)&&!K(e,r))throw new N(O,"Only one element can be added and only after doctype");if(G(t)){if(i(n,(function(e){return G(e)&&e!==r})))throw new N(O,"Only one doctype is allowed");var s=i(n,W);if(r&&n.indexOf(s)<n.indexOf(r))throw new N(O,"Doctype can only be inserted before an element")}}function X(e,t,r,n){(function(e,t,r){if(!function(e){return e&&(e.nodeType===j.DOCUMENT_NODE||e.nodeType===j.DOCUMENT_FRAGMENT_NODE||e.nodeType===j.ELEMENT_NODE)}(e))throw new N(O,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new N(w,"child not in parent");if(!function(e){return e&&(W(e)||$(e)||G(e)||e.nodeType===j.DOCUMENT_FRAGMENT_NODE||e.nodeType===j.COMMENT_NODE||e.nodeType===j.PROCESSING_INSTRUCTION_NODE)}(t)||G(t)&&e.nodeType!==j.DOCUMENT_NODE)throw new N(O,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)})(e,t,r),e.nodeType===j.DOCUMENT_NODE&&(n||function(e,t,r){var n=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===j.DOCUMENT_FRAGMENT_NODE){var a=o.filter(W);if(a.length>1||i(o,$))throw new N(O,"More than one element or text in fragment");if(1===a.length&&!Y(e,r))throw new N(O,"Element in fragment can not be inserted before doctype")}if(W(t)&&!Y(e,r))throw new N(O,"Only one element can be added and only after doctype");if(G(t)){if(i(n,G))throw new N(O,"Only one doctype is allowed");var s=i(n,W);if(r&&n.indexOf(s)<n.indexOf(r))throw new N(O,"Doctype can only be inserted before an element");if(!r&&s)throw new N(O,"Doctype can not be appended since element is present")}})(e,t,r);var o=t.parentNode;if(o&&o.removeChild(t),t.nodeType===_){var a=t.firstChild;if(null==a)return t;var s=t.lastChild}else a=s=t;var l=r?r.previousSibling:e.lastChild;a.previousSibling=l,s.nextSibling=r,l?l.nextSibling=a:e.firstChild=a,null==r?e.lastChild=s:r.previousSibling=s;do{a.parentNode=e}while(a!==s&&(a=a.nextSibling));return q(e.ownerDocument||e,e),t.nodeType==_&&(t.firstChild=t.lastChild=null),t}function Q(){this._nsMap={}}function J(){}function ee(){}function te(){}function re(){}function ne(){}function ie(){}function oe(){}function ae(){}function se(){}function le(){}function ue(){}function ce(e,t,r){var n=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if("xml"===n&&i===o.XML||i===o.XMLNS)return!1;for(var a=r.length;a--;){var s=r[a];if(s.prefix===n)return s.namespace!==i}return!0}function de(e,t,r){e.push(" ",t,'="',r.replace(/[<>&"\t\n\r]/g,F),'"')}function pe(e,t,r,n,i){if(i||(i=[]),n){if(!(e=n(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case p:var a=e.attributes,s=a.length,l=e.firstChild,u=e.tagName,c=u;if(!(r=o.isHTML(e.namespaceURI)||r)&&!e.prefix&&e.namespaceURI){for(var d,v=0;v<a.length;v++)if("xmlns"===a.item(v).name){d=a.item(v).value;break}if(!d)for(var T=i.length-1;T>=0;T--)if(""===(x=i[T]).prefix&&x.namespace===e.namespaceURI){d=x.namespace;break}if(d!==e.namespaceURI)for(T=i.length-1;T>=0;T--){var x;if((x=i[T]).namespace===e.namespaceURI){x.prefix&&(c=x.prefix+":"+u);break}}}t.push("<",c);for(var S=0;S<s;S++)"xmlns"==(O=a.item(S)).prefix?i.push({prefix:O.localName,namespace:O.value}):"xmlns"==O.nodeName&&i.push({prefix:"",namespace:O.value});for(S=0;S<s;S++){var O,w,A;ce(O=a.item(S),0,i)&&(de(t,(w=O.prefix||"")?"xmlns:"+w:"xmlns",A=O.namespaceURI),i.push({prefix:w,namespace:A})),pe(O,t,r,n,i)}if(u===c&&ce(e,0,i)&&(de(t,(w=e.prefix||"")?"xmlns:"+w:"xmlns",A=e.namespaceURI),i.push({prefix:w,namespace:A})),l||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(t.push(">"),r&&/^script$/i.test(u))for(;l;)l.data?t.push(l.data):pe(l,t,r,n,i.slice()),l=l.nextSibling;else for(;l;)pe(l,t,r,n,i.slice()),l=l.nextSibling;t.push("</",c,">")}else t.push("/>");return;case C:case _:for(l=e.firstChild;l;)pe(l,t,r,n,i.slice()),l=l.nextSibling;return;case f:return de(t,e.name,e.value);case h:return t.push(e.data.replace(/[<&>]/g,F));case m:return t.push("<![CDATA[",e.data,"]]>");case b:return t.push("\x3c!--",e.data,"--\x3e");case E:var N=e.publicId,P=e.systemId;if(t.push("<!DOCTYPE ",e.name),N)t.push(" PUBLIC ",N),P&&"."!=P&&t.push(" ",P),t.push(">");else if(P&&"."!=P)t.push(" SYSTEM ",P,">");else{var I=e.internalSubset;I&&t.push(" [",I,"]"),t.push(">")}return;case g:return t.push("<?",e.target," ",e.data,"?>");case y:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function fe(e,t,r){e[t]=r}x.INVALID_STATE_ERR=(S[11]="Invalid state",11),x.SYNTAX_ERR=(S[12]="Syntax error",12),x.INVALID_MODIFICATION_ERR=(S[13]="Invalid modification",13),x.NAMESPACE_ERR=(S[14]="Invalid namespace",14),x.INVALID_ACCESS_ERR=(S[15]="Invalid access",15),N.prototype=Error.prototype,u(x,N),P.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var r=[],n=0;n<this.length;n++)pe(this[n],r,e,t);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},I.prototype.item=function(e){return R(this),this[e]},c(I,P),L.prototype={length:0,item:P.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new N(A);var r=this.getNamedItem(e.nodeName);return M(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new N(A);return t=this.getNamedItemNS(e.namespaceURI,e.localName),M(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return D(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return D(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n}return null}},U.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,r){var n=new z;if(n.implementation=this,n.childNodes=new P,n.doctype=r||null,r&&n.appendChild(r),t){var i=n.createElementNS(e,t);n.appendChild(i)}return n},createDocumentType:function(e,t,r){var n=new ie;return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=r||"",n}},j.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return X(this,e,t)},replaceChild:function(e,t){X(this,e,t,Z),t&&this.removeChild(t)},removeChild:function(e){return V(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,r,n){var i=new r.constructor;for(var o in r)if(Object.prototype.hasOwnProperty.call(r,o)){var a=r[o];"object"!=typeof a&&a!=i[o]&&(i[o]=a)}switch(r.childNodes&&(i.childNodes=new P),i.ownerDocument=t,i.nodeType){case p:var s=r.attributes,l=i.attributes=new L,u=s.length;l._ownerElement=i;for(var c=0;c<u;c++)i.setAttributeNode(e(t,s.item(c),!0));break;case f:n=!0}if(n)for(var d=r.firstChild;d;)i.appendChild(e(t,d,n)),d=d.nextSibling;return i}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==h&&e.nodeType==h?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(d,j),u(d,j.prototype),z.prototype={nodeName:"#document",nodeType:C,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==_){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return X(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),V(this,e)},replaceChild:function(e,t){X(this,e,t,Z),e.ownerDocument=this,t&&this.removeChild(t),W(e)&&(this.documentElement=e)},importNode:function(e,t){return function e(t,r,n){var i;switch(r.nodeType){case p:(i=r.cloneNode(!1)).ownerDocument=t;case _:break;case f:n=!0}if(i||(i=r.cloneNode(!1)),i.ownerDocument=t,i.parentNode=null,n)for(var o=r.firstChild;o;)i.appendChild(e(t,o,n)),o=o.nextSibling;return i}(this,e,t)},getElementById:function(e){var t=null;return B(this.documentElement,(function(r){if(r.nodeType==p&&r.getAttribute("id")==e)return t=r,!0})),t},getElementsByClassName:function(e){var t=l(e);return new I(this,(function(r){var n=[];return t.length>0&&B(r.documentElement,(function(i){if(i!==r&&i.nodeType===p){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var s=l(o);a=t.every((u=s,function(e){return u&&-1!==u.indexOf(e)}))}a&&n.push(i)}}var u})),n}))},createElement:function(e){var t=new Q;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new P,(t.attributes=new L)._ownerElement=t,t},createDocumentFragment:function(){var e=new le;return e.ownerDocument=this,e.childNodes=new P,e},createTextNode:function(e){var t=new te;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ne;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new ue;return r.ownerDocument=this,r.tagName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new J;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new se;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new Q,n=t.split(":"),i=r.attributes=new L;return r.childNodes=new P,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,i._ownerElement=r,r},createAttributeNS:function(e,t){var r=new J,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},c(z,j),Q.prototype={nodeType:p,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===_?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,q(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new I(this,(function(t){var r=[];return B(t,(function(n){n===t||n.nodeType!=p||"*"!==e&&n.tagName!=e||r.push(n)})),r}))},getElementsByTagNameNS:function(e,t){return new I(this,(function(r){var n=[];return B(r,(function(i){i===r||i.nodeType!==p||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||n.push(i)})),n}))}},z.prototype.getElementsByTagName=Q.prototype.getElementsByTagName,z.prototype.getElementsByTagNameNS=Q.prototype.getElementsByTagNameNS,c(Q,j),J.prototype.nodeType=f,c(J,j),ee.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(S[O])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length}},c(ee,j),te.prototype={nodeName:"#text",nodeType:h,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},c(te,ee),re.prototype={nodeName:"#comment",nodeType:b},c(re,ee),ne.prototype={nodeName:"#cdata-section",nodeType:m},c(ne,ee),ie.prototype.nodeType=E,c(ie,j),oe.prototype.nodeType=T,c(oe,j),ae.prototype.nodeType=v,c(ae,j),se.prototype.nodeType=y,c(se,j),le.prototype.nodeName="#document-fragment",le.prototype.nodeType=_,c(le,j),ue.prototype.nodeType=g,c(ue,j),j.prototype.toString=function(e,t){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,o=n.namespaceURI;if(o&&null==i&&null==(i=n.lookupPrefix(o)))var a=[{namespace:o,prefix:null}];return pe(this,r,e,t,a),r.join("")};try{Object.defineProperty&&(Object.defineProperty(I.prototype,"length",{get:function(){return R(this),this.$$length}}),Object.defineProperty(j.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case p:case _:var r=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&r.push(e(t)),t=t.nextSibling;return r.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case p:case _:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),fe=function(e,t,r){e["$$"+t]=r})}catch(e){}r.DOMImplementation=U},{226:226}],229:[function(e,t,r){var n=e(226).freeze;r.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),r.HTML_ENTITIES=n({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),r.HTML_ENTITIES},{226:226}],231:[function(e,t,r){var n=e(226).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function l(){}function u(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,r,i,o,a){function s(e,t,n){r.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),n)}for(var l,u=++t,c=0;;){var d=e.charAt(u);switch(d){case"=":if(1===c)l=e.slice(t,u),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(a.warning('attribute value must after "="'),l=e.slice(t,u)),t=u+1,!((u=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");s(l,p=e.slice(t,u),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');s(l,p=e.slice(t,u),t),a.warning('attribute "'+l+'" missed start quot('+d+")!!"),t=u+1,c=5}break;case"/":switch(c){case 0:r.setTagName(e.slice(t,u));case 5:case 6:case 7:c=7,r.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==c&&r.setTagName(e.slice(t,u)),u;case">":switch(c){case 0:r.setTagName(e.slice(t,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(t,u)).slice(-1)&&(r.closed=!0,p=p.slice(0,-1));case 2:2===c&&(p=l),4==c?(a.warning('attribute "'+p+'" missed quot(")!'),s(l,p,t)):(n.isHTML(i[""])&&p.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),s(p,p,t));break;case 3:throw new Error("attribute value missed!!")}return u;case"€":d=" ";default:if(d<=" ")switch(c){case 0:r.setTagName(e.slice(t,u)),c=6;break;case 1:l=e.slice(t,u),c=2;break;case 4:var p=e.slice(t,u);a.warning('attribute "'+p+'" missed quot(")!!'),s(l,p,t);case 5:c=6}else switch(c){case 2:r.tagName,n.isHTML(i[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,t),t=u,c=1;break;case 5:a.warning('attribute space is required"'+l+'"!!');case 6:c=1,t=u;break;case 3:c=4,t=u;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function d(e,t,r){for(var i=e.tagName,o=null,a=e.length;a--;){var s=e[a],l=s.qName,u=s.value;if((f=l.indexOf(":"))>0)var c=s.prefix=l.slice(0,f),d=l.slice(f+1),p="xmlns"===c&&d;else d=l,c=null,p="xmlns"===l&&"";s.localName=d,!1!==p&&(null==o&&(o={},h(r,r={})),r[p]=o[p]=u,s.uri=n.XMLNS,t.startPrefixMapping(p,u))}for(a=e.length;a--;)(c=(s=e[a]).prefix)&&("xml"===c&&(s.uri=n.XML),"xmlns"!==c&&(s.uri=r[c||""]));var f;(f=i.indexOf(":"))>0?(c=e.prefix=i.slice(0,f),d=e.localName=i.slice(f+1)):(c=null,d=e.localName=i);var m=e.uri=r[c||""];if(t.startElement(m,d,i,e),!e.closed)return e.currentNSMap=r,e.localNSMap=o,!0;if(t.endElement(m,d,i),o)for(c in o)Object.prototype.hasOwnProperty.call(o,c)&&t.endPrefixMapping(c)}function p(e,t,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=e.indexOf("</"+r+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(r)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,n),i.characters(a,0,a.length),o)}return t+1}function f(e,t,r,n){var i=n[r];return null==i&&((i=e.lastIndexOf("</"+r+">"))<t&&(i=e.lastIndexOf("</"+r)),n[r]=i),i<t}function h(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function m(e,t,r,n){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(r.comment(e,t+4,i-t-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,i-t-9),r.endCDATA(),i+3}var o=function(e,t){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);r=i.exec(e);)if(n.push(r),r[1])return n}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],l=!1,u=!1;a>3&&(/^public$/i.test(o[2][0])?(l=o[3][0],u=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(u=o[3][0]));var c=o[a-1];return r.startDTD(s,l,u),r.endDTD(),c.index+c[0].length}return-1}function y(e,t,r){var n=e.indexOf("?>",t);if(n){var i=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return i?(i[0].length,r.processingInstruction(i[1],i[2]),n+2):-1}return-1}function v(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,l.prototype={parse:function(e,t,r){var i=this.domBuilder;i.startDocument(),h(t,t={}),function(e,t,r,i,o){function a(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(r,t)?r[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function l(t){if(t>x){var r=e.substring(x,t).replace(/&#?\w+;/g,a);E&&h(x),i.characters(r,0,t-x),x=t}}function h(t,r){for(;t>=b&&(r=C.exec(e));)g=r.index,b=g+r[0].length,E.lineNumber++;E.columnNumber=t-g+1}for(var g=0,b=0,C=/.*(?:\r\n?|\n)|.*$/g,E=i.locator,_=[{currentNSMap:t}],T={},x=0;;){try{var S=e.indexOf("<",x);if(S<0){if(!e.substr(x).match(/^\s*$/)){var O=i.doc,w=O.createTextNode(e.substr(x));O.appendChild(w),i.currentElement=w}return}switch(S>x&&l(S),e.charAt(S+1)){case"/":var A=e.indexOf(">",S+3),N=e.substring(S+2,A).replace(/[ \t\n\r]+$/g,""),P=_.pop();A<0?(N=e.substring(S+2).replace(/[\s<].*/,""),o.error("end tag name: "+N+" is not complete:"+P.tagName),A=S+1+N.length):N.match(/\s</)&&(N=N.replace(/[\s<].*/,""),o.error("end tag name: "+N+" maybe not complete"),A=S+1+N.length);var I=P.localNSMap,R=P.tagName==N;if(R||P.tagName&&P.tagName.toLowerCase()==N.toLowerCase()){if(i.endElement(P.uri,P.localName,N),I)for(var L in I)Object.prototype.hasOwnProperty.call(I,L)&&i.endPrefixMapping(L);R||o.fatalError("end tag name: "+N+" is not match the current start tagName:"+P.tagName)}else _.push(P);A++;break;case"?":E&&h(S),A=y(e,S,i);break;case"!":E&&h(S),A=m(e,S,i,o);break;default:E&&h(S);var k=new v,M=_[_.length-1].currentNSMap,D=(A=c(e,S,k,M,a,o),k.length);if(!k.closed&&f(e,A,k.tagName,T)&&(k.closed=!0,r.nbsp||o.warning("unclosed xml attribute")),E&&D){for(var U=u(E,{}),j=0;j<D;j++){var F=k[j];h(F.offset),F.locator=u(E,{})}i.locator=U,d(k,i,M)&&_.push(k),i.locator=E}else d(k,i,M)&&_.push(k);n.isHTML(k.uri)&&!k.closed?A=p(e,A,k.tagName,a,i):A++}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),A=-1}A>x?x=A:l(Math.max(S,x)+1)}}(e,t,r,i,this.errorHandler),i.endDocument()}},v.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},r.XMLReader=l,r.ParseError=s},{226:226}],232:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(248);class a{constructor(e){this.p=0,this.data=e,this.n=e.length}reset(){this.p=0}consume(){if(this.p>=this.n)throw new Error("cannot consume EOF");this.p<this.n&&this.p++}LA(e){return 0===e?0:e<0&&(e++,this.p+e-1<0)||this.p+e-1>=this.n?o.IntStream.EOF:this.data.charCodeAt(this.p+e-1)}LT(e){return this.LA(e)}get index(){return this.p}get size(){return this.n}mark(){return-1}release(e){}seek(e){if(e<=this.p)this.p=e;else for(e=Math.min(e,this.n);this.p<e;)this.consume()}getText(e){let t=e.a,r=e.b;r>=this.n&&(r=this.n-1);let n=r-t+1;return t>=this.n?"":this.data.substr(t,n)}get sourceName(){return this.name?this.name:o.IntStream.UNKNOWN_SOURCE_NAME}toString(){return this.data}}n([i.Override],a.prototype,"consume",null),n([i.Override],a.prototype,"LA",null),n([i.Override],a.prototype,"index",null),n([i.Override],a.prototype,"size",null),n([i.Override],a.prototype,"mark",null),n([i.Override],a.prototype,"release",null),n([i.Override],a.prototype,"seek",null),n([i.Override],a.prototype,"getText",null),n([i.Override],a.prototype,"sourceName",null),n([i.Override],a.prototype,"toString",null),r.ANTLRInputStream=a},{242:242,248:248}],248:[function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),(n=r.IntStream||(r.IntStream={})).EOF=-1,n.UNKNOWN_SOURCE_NAME="<unknown>"},{}],242:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.NotNull=function(e,t,r){},r.Nullable=function(e,t,r){},r.Override=function(e,t,r){},r.SuppressWarnings=function(e){return(e,t,r)=>{}}},{}],233:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(243),o=e(247),a=e(242),s=e(353);class l extends i.DefaultErrorStrategy{recover(e,t){for(let r=e.context;r;r=r.parent)r.exception=t;throw new s.ParseCancellationException(t)}recoverInline(e){let t=new o.InputMismatchException(e);for(let r=e.context;r;r=r.parent)r.exception=t;throw new s.ParseCancellationException(t)}sync(e){}}n([a.Override],l.prototype,"recover",null),n([a.Override],l.prototype,"recoverInline",null),n([a.Override],l.prototype,"sync",null),r.BailErrorStrategy=l},{242:242,243:243,247:247,353:353}],243:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(275),a=e(276),s=e(246),l=e(247),u=e(349),c=e(254),d=e(316),p=e(266),f=e(242);class h{constructor(){this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.nextTokensState=o.ATNState.INVALID_STATE_NUMBER}reset(e){this.endErrorCondition(e)}beginErrorCondition(e){this.errorRecoveryMode=!0}inErrorRecoveryMode(e){return this.errorRecoveryMode}endErrorCondition(e){this.errorRecoveryMode=!1,this.lastErrorStates=void 0,this.lastErrorIndex=-1}reportMatch(e){this.endErrorCondition(e)}reportError(e,t){this.inErrorRecoveryMode(e)||(this.beginErrorCondition(e),t instanceof c.NoViableAltException?this.reportNoViableAlternative(e,t):t instanceof l.InputMismatchException?this.reportInputMismatch(e,t):t instanceof s.FailedPredicateException?this.reportFailedPredicate(e,t):(console.error("unknown recognition error type: "+t),this.notifyErrorListeners(e,t.toString(),t)))}notifyErrorListeners(e,t,r){let n=r.getOffendingToken(e);void 0===n&&(n=null),e.notifyErrorListeners(t,n,r)}recover(e,t){this.lastErrorIndex===e.inputStream.index&&this.lastErrorStates&&this.lastErrorStates.contains(e.state)&&e.consume(),this.lastErrorIndex=e.inputStream.index,this.lastErrorStates||(this.lastErrorStates=new u.IntervalSet),this.lastErrorStates.add(e.state);let r=this.getErrorRecoverySet(e);this.consumeUntil(e,r)}sync(e){let t=e.interpreter.atn.states[e.state];if(this.inErrorRecoveryMode(e))return;let r=e.inputStream.LA(1),n=e.atn.nextTokens(t);if(n.contains(r))return this.nextTokensContext=void 0,void(this.nextTokensState=o.ATNState.INVALID_STATE_NUMBER);if(n.contains(p.Token.EPSILON))void 0===this.nextTokensContext&&(this.nextTokensContext=e.context,this.nextTokensState=e.state);else switch(t.stateType){case a.ATNStateType.BLOCK_START:case a.ATNStateType.STAR_BLOCK_START:case a.ATNStateType.PLUS_BLOCK_START:case a.ATNStateType.STAR_LOOP_ENTRY:if(this.singleTokenDeletion(e))return;throw new l.InputMismatchException(e);case a.ATNStateType.PLUS_LOOP_BACK:case a.ATNStateType.STAR_LOOP_BACK:this.reportUnwantedToken(e);let t=e.getExpectedTokens().or(this.getErrorRecoverySet(e));this.consumeUntil(e,t)}}reportNoViableAlternative(e,t){let r,n=e.inputStream;r=n?t.startToken.type===p.Token.EOF?"<EOF>":n.getTextFromRange(t.startToken,t.getOffendingToken()):"<unknown input>";let i="no viable alternative at input "+this.escapeWSAndQuote(r);this.notifyErrorListeners(e,i,t)}reportInputMismatch(e,t){let r=t.expectedTokens,n=r?r.toStringVocabulary(e.vocabulary):"",i="mismatched input "+this.getTokenErrorDisplay(t.getOffendingToken(e))+" expecting "+n;this.notifyErrorListeners(e,i,t)}reportFailedPredicate(e,t){let r="rule "+e.ruleNames[e.context.ruleIndex]+" "+t.message;this.notifyErrorListeners(e,r,t)}reportUnwantedToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);let t=e.currentToken,r="extraneous input "+this.getTokenErrorDisplay(t)+" expecting "+this.getExpectedTokens(e).toStringVocabulary(e.vocabulary);e.notifyErrorListeners(r,t,void 0)}reportMissingToken(e){if(this.inErrorRecoveryMode(e))return;this.beginErrorCondition(e);let t=e.currentToken,r="missing "+this.getExpectedTokens(e).toStringVocabulary(e.vocabulary)+" at "+this.getTokenErrorDisplay(t);e.notifyErrorListeners(r,t,void 0)}recoverInline(e){let t=this.singleTokenDeletion(e);if(t)return e.consume(),t;if(this.singleTokenInsertion(e))return this.getMissingSymbol(e);throw void 0===this.nextTokensContext?new l.InputMismatchException(e):new l.InputMismatchException(e,this.nextTokensState,this.nextTokensContext)}singleTokenInsertion(e){let t=e.inputStream.LA(1),r=e.interpreter.atn.states[e.state].transition(0).target,n=e.interpreter.atn;return!!n.nextTokens(r,d.PredictionContext.fromRuleContext(n,e.context)).contains(t)&&(this.reportMissingToken(e),!0)}singleTokenDeletion(e){let t=e.inputStream.LA(2);if(this.getExpectedTokens(e).contains(t)){this.reportUnwantedToken(e),e.consume();let t=e.currentToken;return this.reportMatch(e),t}}getMissingSymbol(e){let t,r=e.currentToken,n=this.getExpectedTokens(e),i=p.Token.INVALID_TYPE;n.isNil||(i=n.minElement),t=i===p.Token.EOF?"<missing EOF>":"<missing "+e.vocabulary.getDisplayName(i)+">";let o=r,a=e.inputStream.tryLT(-1);return o.type===p.Token.EOF&&null!=a&&(o=a),this.constructToken(e.inputStream.tokenSource,i,t,o)}constructToken(e,t,r,n){let i=e.tokenFactory,o=n.tokenSource,a=o?o.inputStream:void 0;return i.create({source:e,stream:a},t,r,p.Token.DEFAULT_CHANNEL,-1,-1,n.line,n.charPositionInLine)}getExpectedTokens(e){return e.getExpectedTokens()}getTokenErrorDisplay(e){if(!e)return"<no token>";let t=this.getSymbolText(e);return t||(t=this.getSymbolType(e)===p.Token.EOF?"<EOF>":`<${this.getSymbolType(e)}>`),this.escapeWSAndQuote(t)}getSymbolText(e){return e.text}getSymbolType(e){return e.type}escapeWSAndQuote(e){return"'"+(e=(e=(e=e.replace("\n","\\n")).replace("\r","\\r")).replace("\t","\\t"))+"'"}getErrorRecoverySet(e){let t=e.interpreter.atn,r=e.context,n=new u.IntervalSet;for(;r&&r.invokingState>=0;){let e=t.states[r.invokingState].transition(0),i=t.nextTokens(e.followState);n.addAll(i),r=r._parent}return n.remove(p.Token.EPSILON),n}consumeUntil(e,t){let r=e.inputStream.LA(1);for(;r!==p.Token.EOF&&!t.contains(r);)e.consume(),r=e.inputStream.LA(1)}}n([f.Override],h.prototype,"reset",null),n([i(0,f.NotNull)],h.prototype,"beginErrorCondition",null),n([f.Override],h.prototype,"inErrorRecoveryMode",null),n([i(0,f.NotNull)],h.prototype,"endErrorCondition",null),n([f.Override],h.prototype,"reportMatch",null),n([f.Override],h.prototype,"reportError",null),n([i(0,f.NotNull)],h.prototype,"notifyErrorListeners",null),n([f.Override],h.prototype,"recover",null),n([f.Override],h.prototype,"sync",null),n([i(0,f.NotNull),i(1,f.NotNull)],h.prototype,"reportNoViableAlternative",null),n([i(0,f.NotNull),i(1,f.NotNull)],h.prototype,"reportInputMismatch",null),n([i(0,f.NotNull),i(1,f.NotNull)],h.prototype,"reportFailedPredicate",null),n([i(0,f.NotNull)],h.prototype,"reportUnwantedToken",null),n([i(0,f.NotNull)],h.prototype,"reportMissingToken",null),n([f.Override],h.prototype,"recoverInline",null),n([i(0,f.NotNull)],h.prototype,"singleTokenInsertion",null),n([i(0,f.NotNull)],h.prototype,"singleTokenDeletion",null),n([f.NotNull,i(0,f.NotNull)],h.prototype,"getMissingSymbol",null),n([f.NotNull,i(0,f.NotNull)],h.prototype,"getExpectedTokens",null),n([i(0,f.NotNull)],h.prototype,"getSymbolText",null),n([i(0,f.NotNull)],h.prototype,"getSymbolType",null),n([f.NotNull,i(0,f.NotNull)],h.prototype,"escapeWSAndQuote",null),n([f.NotNull,i(0,f.NotNull)],h.prototype,"getErrorRecoverySet",null),n([i(0,f.NotNull),i(1,f.NotNull)],h.prototype,"consumeUntil",null),r.DefaultErrorStrategy=h},{242:242,246:246,247:247,254:254,266:266,275:275,276:276,316:316,349:349}],247:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(260);let a=class extends o.RecognitionException{constructor(e,t,r){void 0===r&&(r=e.context),super(e,e.inputStream,r),void 0!==t&&this.setOffendingState(t),this.setOffendingToken(e,e.currentToken)}};a=n([i(0,e(242).NotNull)],a),r.InputMismatchException=a},{242:242,260:260}],353:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ParseCancellationException=class extends Error{constructor(e){super(e.message),this.cause=e,this.stack=e.stack}getCause(){return this.cause}}},{}],234:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(238),a=e(348),s=e(250),l=e(242),u=e(266);let c=class{constructor(e){if(this.tokens=[],this.p=-1,this.fetchedEOF=!1,null==e)throw new Error("tokenSource cannot be null");this._tokenSource=e}get tokenSource(){return this._tokenSource}set tokenSource(e){this._tokenSource=e,this.tokens.length=0,this.p=-1,this.fetchedEOF=!1}get index(){return this.p}mark(){return 0}release(e){}seek(e){this.lazyInit(),this.p=this.adjustSeekIndex(e)}get size(){return this.tokens.length}consume(){if(!(this.p>=0&&(this.fetchedEOF?this.p<this.tokens.length-1:this.p<this.tokens.length))&&this.LA(1)===u.Token.EOF)throw new Error("cannot consume EOF");this.sync(this.p+1)&&(this.p=this.adjustSeekIndex(this.p+1))}sync(e){let t=e-this.tokens.length+1;return!(t>0)||this.fetch(t)>=t}fetch(e){if(this.fetchedEOF)return 0;for(let t=0;t<e;t++){let e=this.tokenSource.nextToken();if(this.isWritableToken(e)&&(e.tokenIndex=this.tokens.length),this.tokens.push(e),e.type===u.Token.EOF)return this.fetchedEOF=!0,t+1}return e}get(e){if(e<0||e>=this.tokens.length)throw new RangeError("token index "+e+" out of range 0.."+(this.tokens.length-1));return this.tokens[e]}getRange(e,t){if(e<0||t<0)return[];this.lazyInit();let r=new Array;t>=this.tokens.length&&(t=this.tokens.length-1);for(let n=e;n<=t;n++){let e=this.tokens[n];if(e.type===u.Token.EOF)break;r.push(e)}return r}LA(e){let t=this.LT(e);return t?t.type:u.Token.INVALID_TYPE}tryLB(e){if(!(this.p-e<0))return this.tokens[this.p-e]}LT(e){let t=this.tryLT(e);if(void 0===t)throw new RangeError("requested lookback index out of range");return t}tryLT(e){if(this.lazyInit(),0===e)throw new RangeError("0 is not a valid lookahead index");if(e<0)return this.tryLB(-e);let t=this.p+e-1;return this.sync(t),t>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[t]}adjustSeekIndex(e){return e}lazyInit(){-1===this.p&&this.setup()}setup(){this.sync(0),this.p=this.adjustSeekIndex(0)}getTokens(e,t,r){if(this.lazyInit(),void 0===e)return this.tokens;if(void 0===t&&(t=this.tokens.length-1),e<0||t>=this.tokens.length||t<0||e>=this.tokens.length)throw new RangeError("start "+e+" or stop "+t+" not in 0.."+(this.tokens.length-1));if(e>t)return[];if(void 0===r)return this.tokens.slice(e,t+1);"number"==typeof r&&(r=(new Set).add(r));let n=r;return this.tokens.slice(e,t+1).filter((e=>n.has(e.type)))}nextTokenOnChannel(e,t){if(this.sync(e),e>=this.size)return this.size-1;let r=this.tokens[e];for(;r.channel!==t;){if(r.type===u.Token.EOF)return e;e++,this.sync(e),r=this.tokens[e]}return e}previousTokenOnChannel(e,t){if(this.sync(e),e>=this.size)return this.size-1;for(;e>=0;){let r=this.tokens[e];if(r.type===u.Token.EOF||r.channel===t)return e;e--}return e}getHiddenTokensToRight(e,t=-1){if(this.lazyInit(),e<0||e>=this.tokens.length)throw new RangeError(e+" not in 0.."+(this.tokens.length-1));let r,n=this.nextTokenOnChannel(e+1,s.Lexer.DEFAULT_TOKEN_CHANNEL),i=e+1;return r=-1===n?this.size-1:n,this.filterForChannel(i,r,t)}getHiddenTokensToLeft(e,t=-1){if(this.lazyInit(),e<0||e>=this.tokens.length)throw new RangeError(e+" not in 0.."+(this.tokens.length-1));if(0===e)return[];let r=this.previousTokenOnChannel(e-1,s.Lexer.DEFAULT_TOKEN_CHANNEL);if(r===e-1)return[];let n=r+1,i=e-1;return this.filterForChannel(n,i,t)}filterForChannel(e,t,r){let n=new Array;for(let i=e;i<=t;i++){let e=this.tokens[i];-1===r?e.channel!==s.Lexer.DEFAULT_TOKEN_CHANNEL&&n.push(e):e.channel===r&&n.push(e)}return n}get sourceName(){return this.tokenSource.sourceName}getText(e){void 0===e?e=a.Interval.of(0,this.size-1):e instanceof a.Interval||(e=e.sourceInterval);let t=e.a,r=e.b;if(t<0||r<0)return"";this.fill(),r>=this.tokens.length&&(r=this.tokens.length-1);let n="";for(let e=t;e<=r;e++){let t=this.tokens[e];if(t.type===u.Token.EOF)break;n+=t.text}return n.toString()}getTextFromRange(e,t){return this.isToken(e)&&this.isToken(t)?this.getText(a.Interval.of(e.tokenIndex,t.tokenIndex)):""}fill(){for(this.lazyInit();;)if(this.fetch(1e3)<1e3)return}isWritableToken(e){return e instanceof o.CommonToken}isToken(e){return e instanceof o.CommonToken}};n([l.NotNull],c.prototype,"_tokenSource",void 0),n([l.Override],c.prototype,"tokenSource",null),n([l.Override],c.prototype,"index",null),n([l.Override],c.prototype,"mark",null),n([l.Override],c.prototype,"release",null),n([l.Override],c.prototype,"seek",null),n([l.Override],c.prototype,"size",null),n([l.Override],c.prototype,"consume",null),n([l.Override],c.prototype,"get",null),n([l.Override],c.prototype,"LA",null),n([l.NotNull,l.Override],c.prototype,"LT",null),n([l.Override],c.prototype,"sourceName",null),n([l.NotNull,l.Override],c.prototype,"getText",null),n([l.NotNull,l.Override],c.prototype,"getTextFromRange",null),c=n([i(0,l.NotNull)],c),r.BufferedTokenStream=c},{238:238,242:242,250:250,266:266,348:348}],238:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(348),a=e(242),s=e(266);let l=class e{constructor(t,r,n=e.EMPTY_SOURCE,i=s.Token.DEFAULT_CHANNEL,o=0,a=0){this._line=0,this._charPositionInLine=-1,this._channel=s.Token.DEFAULT_CHANNEL,this.index=-1,this._text=r,this._type=t,this.source=n,this._channel=i,this.start=o,this.stop=a,null!=n.source&&(this._line=n.source.line,this._charPositionInLine=n.source.charPositionInLine)}static fromToken(t){let r=new e(t.type,void 0,e.EMPTY_SOURCE,t.channel,t.startIndex,t.stopIndex);return r._line=t.line,r.index=t.tokenIndex,r._charPositionInLine=t.charPositionInLine,t instanceof e?(r._text=t.text,r.source=t.source):(r._text=t.text,r.source={source:t.tokenSource,stream:t.inputStream}),r}get type(){return this._type}set type(e){this._type=e}get line(){return this._line}set line(e){this._line=e}get text(){if(null!=this._text)return this._text;let e=this.inputStream;if(null==e)return;let t=e.size;return this.start<t&&this.stop<t?e.getText(o.Interval.of(this.start,this.stop)):"<EOF>"}set text(e){this._text=e}get charPositionInLine(){return this._charPositionInLine}set charPositionInLine(e){this._charPositionInLine=e}get channel(){return this._channel}set channel(e){this._channel=e}get startIndex(){return this.start}set startIndex(e){this.start=e}get stopIndex(){return this.stop}set stopIndex(e){this.stop=e}get tokenIndex(){return this.index}set tokenIndex(e){this.index=e}get tokenSource(){return this.source.source}get inputStream(){return this.source.stream}toString(e){let t="";this._channel>0&&(t=",channel="+this._channel);let r=this.text;r=null!=r?(r=(r=r.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"):"<no text>";let n=String(this._type);return e&&(n=e.vocabulary.getDisplayName(this._type)),"[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+r+"',<"+n+">"+t+","+this._line+":"+this.charPositionInLine+"]"}};l.EMPTY_SOURCE={source:void 0,stream:void 0},n([a.NotNull],l.prototype,"source",void 0),n([a.Override],l.prototype,"type",null),n([a.Override],l.prototype,"line",null),n([a.Override],l.prototype,"text",null),n([a.Override],l.prototype,"charPositionInLine",null),n([a.Override],l.prototype,"channel",null),n([a.Override],l.prototype,"startIndex",null),n([a.Override],l.prototype,"stopIndex",null),n([a.Override],l.prototype,"tokenIndex",null),n([a.Override],l.prototype,"tokenSource",null),n([a.Override],l.prototype,"inputStream",null),n([a.Override],l.prototype,"toString",null),n([i(0,a.NotNull)],l,"fromToken",null),l=n([i(2,a.NotNull)],l),r.CommonToken=l},{242:242,266:266,348:348}],348:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242);class o{constructor(e,t){this.a=e,this.b=t}static get INVALID(){return o._INVALID}static of(e,t){return e!==t||e<0||e>1e3?new o(e,t):(null==o.cache[e]&&(o.cache[e]=new o(e,e)),o.cache[e])}get length(){return this.b<this.a?0:this.b-this.a+1}equals(e){return e===this||e instanceof o&&this.a===e.a&&this.b===e.b}hashCode(){let e=23;return 31*(e=31*e+this.a)+this.b}startsBeforeDisjoint(e){return this.a<e.a&&this.b<e.a}startsBeforeNonDisjoint(e){return this.a<=e.a&&this.b>=e.a}startsAfter(e){return this.a>e.a}startsAfterDisjoint(e){return this.a>e.b}startsAfterNonDisjoint(e){return this.a>e.a&&this.a<=e.b}disjoint(e){return this.startsBeforeDisjoint(e)||this.startsAfterDisjoint(e)}adjacent(e){return this.a===e.b+1||this.b===e.a-1}properlyContains(e){return e.a>=this.a&&e.b<=this.b}union(e){return o.of(Math.min(this.a,e.a),Math.max(this.b,e.b))}intersection(e){return o.of(Math.max(this.a,e.a),Math.min(this.b,e.b))}differenceNotProperlyContained(e){let t;return e.startsBeforeNonDisjoint(this)?t=o.of(Math.max(this.a,e.b+1),this.b):e.startsAfterNonDisjoint(this)&&(t=o.of(this.a,e.a-1)),t}toString(){return this.a+".."+this.b}}o._INVALID=new o(-1,-2),o.cache=new Array(1001),n([i.Override],o.prototype,"equals",null),n([i.Override],o.prototype,"hashCode",null),n([i.Override],o.prototype,"toString",null),r.Interval=o},{242:242}],235:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(236),i=e(237),o=e(248);(r.CharStreams||(r.CharStreams={})).fromString=function(e,t){void 0!==t&&0!==t.length||(t=o.IntStream.UNKNOWN_SOURCE_NAME);let r=n.CodePointBuffer.builder(e.length),a=new Uint16Array(e.length);for(let t=0;t<e.length;t++)a[t]=e.charCodeAt(t);return r.append(a),i.CodePointCharStream.fromBuffer(r.build(),t)}},{236:236,237:237,248:248}],236:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(344);class i{constructor(e,t){this.buffer=e,this._position=0,this._size=t}static withArray(e){return new i(e,e.length)}get position(){return this._position}set position(e){if(e<0||e>this._size)throw new RangeError;this._position=e}get remaining(){return this._size-this.position}get(e){return this.buffer[e]}array(){return this.buffer.slice(0,this._size)}static builder(e){return new i.Builder(e)}}r.CodePointBuffer=i,function(e){let t;!function(e){e[e.BYTE=0]="BYTE",e[e.CHAR=1]="CHAR",e[e.INT=2]="INT"}(t||(t={}));class r{constructor(e){this.type=0,this.buffer=new Uint8Array(e),this.prevHighSurrogate=-1,this.position=0}build(){return new e(this.buffer,this.position)}static roundUpToNextPowerOfTwo(e){let t=32-Math.clz32(e-1);return Math.pow(2,t)}ensureRemaining(e){switch(this.type){case 0:if(this.buffer.length-this.position<e){let t=r.roundUpToNextPowerOfTwo(this.buffer.length+e),n=new Uint8Array(t);n.set(this.buffer.subarray(0,this.position),0),this.buffer=n}break;case 1:if(this.buffer.length-this.position<e){let t=r.roundUpToNextPowerOfTwo(this.buffer.length+e),n=new Uint16Array(t);n.set(this.buffer.subarray(0,this.position),0),this.buffer=n}break;case 2:if(this.buffer.length-this.position<e){let t=r.roundUpToNextPowerOfTwo(this.buffer.length+e),n=new Int32Array(t);n.set(this.buffer.subarray(0,this.position),0),this.buffer=n}}}append(e){this.ensureRemaining(e.length),this.appendArray(e)}appendArray(e){switch(this.type){case 0:this.appendArrayByte(e);break;case 1:this.appendArrayChar(e);break;case 2:this.appendArrayInt(e)}}appendArrayByte(e){let t=e,r=0,i=e.length,o=this.buffer,a=this.position;for(;r<i;){let s=t[r];if(!(s<=255))return e=e.subarray(r,i),this.position=a,n.isHighSurrogate(s)?(this.byteToIntBuffer(e.length),void this.appendArrayInt(e)):(this.byteToCharBuffer(e.length),void this.appendArrayChar(e));o[a]=s,r++,a++}this.position=a}appendArrayChar(e){let t=e,r=0,i=e.length,o=this.buffer,a=this.position;for(;r<i;){let s=t[r];if(n.isHighSurrogate(s))return e=e.subarray(r,i),this.position=a,this.charToIntBuffer(e.length),void this.appendArrayInt(e);o[a]=s,r++,a++}this.position=a}appendArrayInt(e){let t=e,r=0,i=e.length,o=this.buffer,a=this.position;for(;r<i;){let e=t[r];r++,-1!==this.prevHighSurrogate?n.isLowSurrogate(e)?(o[a]=String.fromCharCode(this.prevHighSurrogate,e).codePointAt(0),a++,this.prevHighSurrogate=-1):(o[a]=this.prevHighSurrogate,a++,n.isHighSurrogate(e)?this.prevHighSurrogate=e:(o[a]=e,a++,this.prevHighSurrogate=-1)):n.isHighSurrogate(e)?this.prevHighSurrogate=e:(o[a]=e,a++)}-1!==this.prevHighSurrogate&&(o[a]=this.prevHighSurrogate,a++),this.position=a}byteToCharBuffer(e){let t=new Uint16Array(Math.max(this.position+e,this.buffer.length>>1));t.set(this.buffer.subarray(0,this.position),0),this.type=1,this.buffer=t}byteToIntBuffer(e){let t=new Int32Array(Math.max(this.position+e,this.buffer.length>>2));t.set(this.buffer.subarray(0,this.position),0),this.type=2,this.buffer=t}charToIntBuffer(e){let t=new Int32Array(Math.max(this.position+e,this.buffer.length>>1));t.set(this.buffer.subarray(0,this.position),0),this.type=2,this.buffer=t}}e.Builder=r}(i=r.CodePointBuffer||(r.CodePointBuffer={}))},{344:344}],237:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(248),o=e(348),a=e(242);class s{constructor(e,t,r,n){this._array=e,this._size=r,this._name=n,this._position=0}get internalStorage(){return this._array}static fromBuffer(e,t){return void 0!==t&&0!==t.length||(t=i.IntStream.UNKNOWN_SOURCE_NAME),new s(e.array(),e.position,e.remaining,t)}consume(){if(this._size-this._position==0)throw new RangeError("cannot consume EOF");this._position++}get index(){return this._position}get size(){return this._size}mark(){return-1}release(e){}seek(e){this._position=e}get sourceName(){return this._name}toString(){return this.getText(o.Interval.of(0,this.size-1))}LA(e){let t;switch(Math.sign(e)){case-1:return(t=this.index+e)<0?i.IntStream.EOF:this._array[t];case 0:return 0;case 1:return(t=this.index+e-1)>=this.size?i.IntStream.EOF:this._array[t]}throw new RangeError("Not reached")}getText(e){const t=Math.min(e.a,this.size),r=Math.min(e.b-e.a+1,this.size-t);return this._array instanceof Int32Array?String.fromCodePoint(...Array.from(this._array.subarray(t,t+r))):String.fromCharCode(...Array.from(this._array.subarray(t,t+r)))}}n([a.Override],s.prototype,"consume",null),n([a.Override],s.prototype,"index",null),n([a.Override],s.prototype,"size",null),n([a.Override],s.prototype,"mark",null),n([a.Override],s.prototype,"release",null),n([a.Override],s.prototype,"seek",null),n([a.Override],s.prototype,"sourceName",null),n([a.Override],s.prototype,"toString",null),n([a.Override],s.prototype,"LA",null),n([a.Override],s.prototype,"getText",null),r.CodePointCharStream=s},{242:242,248:248,348:348}],344:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.isHighSurrogate=function(e){return e>=55296&&e<=56319},r.isLowSurrogate=function(e){return e>=56320&&e<=57343}},{}],239:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(238),o=e(348),a=e(242);class s{constructor(e=!1){this.copyText=e}create(e,t,r,n,a,s,l,u){let c=new i.CommonToken(t,r,e,n,a,s);return c.line=l,c.charPositionInLine=u,null==r&&this.copyText&&null!=e.stream&&(c.text=e.stream.getText(o.Interval.of(a,s))),c}createSimple(e,t){return new i.CommonToken(e,t)}}n([a.Override],s.prototype,"create",null),n([a.Override],s.prototype,"createSimple",null),r.CommonTokenFactory=s,function(e){e.DEFAULT=new e}(s=r.CommonTokenFactory||(r.CommonTokenFactory={}))},{238:238,242:242,348:348}],240:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(234),a=e(242),s=e(266);let l=class extends o.BufferedTokenStream{constructor(e,t=s.Token.DEFAULT_CHANNEL){super(e),this.channel=t}adjustSeekIndex(e){return this.nextTokenOnChannel(e,this.channel)}tryLB(e){if(this.p-e<0)return;let t=this.p,r=1;for(;r<=e&&t>0;)t=this.previousTokenOnChannel(t-1,this.channel),r++;return t<0?void 0:this.tokens[t]}tryLT(e){if(this.lazyInit(),0===e)throw new RangeError("0 is not a valid lookahead index");if(e<0)return this.tryLB(-e);let t=this.p,r=1;for(;r<e;)this.sync(t+1)&&(t=this.nextTokenOnChannel(t+1,this.channel)),r++;return this.tokens[t]}getNumberOfOnChannelTokens(){let e=0;this.fill();for(let t of this.tokens)if(t.channel===this.channel&&e++,t.type===s.Token.EOF)break;return e}};n([a.Override],l.prototype,"adjustSeekIndex",null),n([a.Override],l.prototype,"tryLB",null),n([a.Override],l.prototype,"tryLT",null),l=n([i(0,a.NotNull)],l),r.CommonTokenStream=l},{234:234,242:242,266:266}],241:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});class n{syntaxError(e,t,r,n,i,o){console.error(`line ${r}:${n} ${i}`)}}n.INSTANCE=new n,r.ConsoleErrorListener=n},{}],276:[function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),(n=r.ATNStateType||(r.ATNStateType={}))[n.INVALID_TYPE=0]="INVALID_TYPE",n[n.BASIC=1]="BASIC",n[n.RULE_START=2]="RULE_START",n[n.BLOCK_START=3]="BLOCK_START",n[n.PLUS_BLOCK_START=4]="PLUS_BLOCK_START",n[n.STAR_BLOCK_START=5]="STAR_BLOCK_START",n[n.TOKEN_START=6]="TOKEN_START",n[n.RULE_STOP=7]="RULE_STOP",n[n.BLOCK_END=8]="BLOCK_END",n[n.STAR_LOOP_BACK=9]="STAR_LOOP_BACK",n[n.STAR_LOOP_ENTRY=10]="STAR_LOOP_ENTRY",n[n.PLUS_LOOP_BACK=11]="PLUS_LOOP_BACK",n[n.LOOP_END=12]="LOOP_END"},{}],275:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242);class o{constructor(){this.stateNumber=o.INVALID_STATE_NUMBER,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.optimizedTransitions=this.transitions}getStateNumber(){return this.stateNumber}get nonStopStateNumber(){return this.getStateNumber()}hashCode(){return this.stateNumber}equals(e){return e instanceof o&&this.stateNumber===e.stateNumber}get isNonGreedyExitState(){return!1}toString(){return String(this.stateNumber)}getTransitions(){return this.transitions.slice(0)}get numberOfTransitions(){return this.transitions.length}addTransition(e,t){if(0===this.transitions.length)this.epsilonOnlyTransitions=e.isEpsilon;else if(this.epsilonOnlyTransitions!==e.isEpsilon)throw this.epsilonOnlyTransitions=!1,new Error("ATN state "+this.stateNumber+" has both epsilon and non-epsilon transitions.");this.transitions.splice(void 0!==t?t:this.transitions.length,0,e)}transition(e){return this.transitions[e]}setTransition(e,t){this.transitions[e]=t}removeTransition(e){return this.transitions.splice(e,1)[0]}get onlyHasEpsilonTransitions(){return this.epsilonOnlyTransitions}setRuleIndex(e){this.ruleIndex=e}get isOptimized(){return this.optimizedTransitions!==this.transitions}get numberOfOptimizedTransitions(){return this.optimizedTransitions.length}getOptimizedTransition(e){return this.optimizedTransitions[e]}addOptimizedTransition(e){this.isOptimized||(this.optimizedTransitions=new Array),this.optimizedTransitions.push(e)}setOptimizedTransition(e,t){if(!this.isOptimized)throw new Error("This ATNState is not optimized.");this.optimizedTransitions[e]=t}removeOptimizedTransition(e){if(!this.isOptimized)throw new Error("This ATNState is not optimized.");this.optimizedTransitions.splice(e,1)}}n([i.Override],o.prototype,"hashCode",null),n([i.Override],o.prototype,"equals",null),n([i.Override],o.prototype,"toString",null),r.ATNState=o,function(e){e.INVALID_STATE_NUMBER=-1}(o=r.ATNState||(r.ATNState={}))},{242:242}],316:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(339),a=e(340),s=e(342),l=e(351),u=e(242),c=e(317);class d{constructor(e){this.cachedHashCode=e}static calculateEmptyHashCode(){let e=l.MurmurHash.initialize(1);return l.MurmurHash.finish(e,0)}static calculateSingleHashCode(e,t){let r=l.MurmurHash.initialize(1);return r=l.MurmurHash.update(r,e),r=l.MurmurHash.update(r,t),l.MurmurHash.finish(r,2)}static calculateHashCode(e,t){let r=l.MurmurHash.initialize(1);for(let t of e)r=l.MurmurHash.update(r,t);for(let e of t)r=l.MurmurHash.update(r,e);return l.MurmurHash.finish(r,2*e.length)}static fromRuleContext(e,t,r=!0){if(t.isEmpty)return r?d.EMPTY_FULL:d.EMPTY_LOCAL;let n;n=t._parent?d.fromRuleContext(e,t._parent,r):r?d.EMPTY_FULL:d.EMPTY_LOCAL;let i=e.states[t.invokingState].transition(0);return n.getChild(i.followState.stateNumber)}static addEmptyContext(e){return e.addEmptyContext()}static removeEmptyContext(e){return e.removeEmptyContext()}static join(e,t,r=c.PredictionContextCache.UNCACHED){if(e===t)return e;if(e.isEmpty)return d.isEmptyLocal(e)?e:d.addEmptyContext(t);if(t.isEmpty)return d.isEmptyLocal(t)?t:d.addEmptyContext(e);let n=e.size,i=t.size;if(1===n&&1===i&&e.getReturnState(0)===t.getReturnState(0)){let n=r.join(e.getParent(0),t.getParent(0));return n===e.getParent(0)?e:n===t.getParent(0)?t:n.getChild(e.getReturnState(0))}let o=0,a=new Array(n+i),s=new Array(a.length),l=0,u=0,p=!0,m=!0;for(;l<n&&u<i;)e.getReturnState(l)===t.getReturnState(u)?(a[o]=r.join(e.getParent(l),t.getParent(u)),s[o]=e.getReturnState(l),p=p&&a[o]===e.getParent(l),m=m&&a[o]===t.getParent(u),l++,u++):e.getReturnState(l)<t.getReturnState(u)?(a[o]=e.getParent(l),s[o]=e.getReturnState(l),m=!1,l++):(a[o]=t.getParent(u),s[o]=t.getReturnState(u),p=!1,u++),o++;for(;l<n;)a[o]=e.getParent(l),s[o]=e.getReturnState(l),l++,m=!1,o++;for(;u<i;)a[o]=t.getParent(u),s[o]=t.getReturnState(u),u++,p=!1,o++;return p?e:m?t:(o<a.length&&(a=a.slice(0,o),s=s.slice(0,o)),0===a.length?d.EMPTY_FULL:1===a.length?new h(a[0],s[0]):new f(a,s))}static isEmptyLocal(e){return e===d.EMPTY_LOCAL}static getCachedContext(e,t,r){if(e.isEmpty)return e;let n=r.get(e);if(n)return n;if(n=t.get(e))return r.put(e,n),n;let i,o=!1,a=new Array(e.size);for(let n=0;n<a.length;n++){let i=d.getCachedContext(e.getParent(n),t,r);if(o||i!==e.getParent(n)){if(!o){a=new Array(e.size);for(let t=0;t<e.size;t++)a[t]=e.getParent(t);o=!0}a[n]=i}}if(!o)return n=t.putIfAbsent(e,e),r.put(e,null!=n?n:e),e;if(1===a.length)i=new h(a[0],e.getReturnState(0));else{let t=new Array(e.size);for(let r=0;r<e.size;r++)t[r]=e.getReturnState(r);i=new f(a,t,e.hashCode())}return n=t.putIfAbsent(i,i),r.put(i,n||i),r.put(e,n||i),i}appendSingleContext(e,t){return this.appendContext(d.EMPTY_FULL.getChild(e),t)}getChild(e){return new h(this,e)}hashCode(){return this.cachedHashCode}toStrings(e,t,r=d.EMPTY_FULL){let n=[];e:for(let i=0;;i++){let o=0,a=!0,s=this,l=t,u="";for(u+="[";!s.isEmpty&&s!==r;){let t=0;if(s.size>0){let e=1;for(;1<<e>>>0<s.size;)e++;if(t=i>>o&(1<<e>>>0)-1,a=a&&t>=s.size-1,t>=s.size)continue e;o+=e}if(e){u.length>1&&(u+=" ");let t=e.atn.states[l];u+=e.ruleNames[t.ruleIndex]}else s.getReturnState(t)!==d.EMPTY_FULL_STATE_KEY&&(s.isEmpty||(u.length>1&&(u+=" "),u+=s.getReturnState(t)));l=s.getReturnState(t),s=s.getParent(t)}if(u+="]",n.push(u),a)break}return n}}n([u.Override],d.prototype,"hashCode",null),n([i(0,u.NotNull),i(1,u.NotNull),i(2,u.NotNull)],d,"join",null),n([i(0,u.NotNull),i(1,u.NotNull),i(2,u.NotNull)],d,"getCachedContext",null),r.PredictionContext=d;class p extends d{constructor(e){super(d.calculateEmptyHashCode()),this.fullContext=e}get isFullContext(){return this.fullContext}addEmptyContext(){return this}removeEmptyContext(){throw new Error("Cannot remove the empty context from itself.")}getParent(e){throw new Error("index out of bounds")}getReturnState(e){throw new Error("index out of bounds")}findReturnState(e){return-1}get size(){return 0}appendSingleContext(e,t){return t.getChild(this,e)}appendContext(e,t){return e}get isEmpty(){return!0}get hasEmpty(){return!0}equals(e){return this===e}toStrings(e,t,r){return["[]"]}}n([u.Override],p.prototype,"addEmptyContext",null),n([u.Override],p.prototype,"removeEmptyContext",null),n([u.Override],p.prototype,"getParent",null),n([u.Override],p.prototype,"getReturnState",null),n([u.Override],p.prototype,"findReturnState",null),n([u.Override],p.prototype,"size",null),n([u.Override],p.prototype,"appendSingleContext",null),n([u.Override],p.prototype,"appendContext",null),n([u.Override],p.prototype,"isEmpty",null),n([u.Override],p.prototype,"hasEmpty",null),n([u.Override],p.prototype,"equals",null),n([u.Override],p.prototype,"toStrings",null);let f=class e extends d{constructor(e,t,r){super(r||d.calculateHashCode(e,t)),this.parents=e,this.returnStates=t}getParent(e){return this.parents[e]}getReturnState(e){return this.returnStates[e]}findReturnState(e){return s.Arrays.binarySearch(this.returnStates,e)}get size(){return this.returnStates.length}get isEmpty(){return!1}get hasEmpty(){return this.returnStates[this.returnStates.length-1]===d.EMPTY_FULL_STATE_KEY}addEmptyContext(){if(this.hasEmpty)return this;let t=this.parents.slice(0),r=this.returnStates.slice(0);return t.push(d.EMPTY_FULL),r.push(d.EMPTY_FULL_STATE_KEY),new e(t,r)}removeEmptyContext(){if(!this.hasEmpty)return this;if(2===this.returnStates.length)return new h(this.parents[0],this.returnStates[0]);{let t=this.parents.slice(0,this.parents.length-1),r=this.returnStates.slice(0,this.returnStates.length-1);return new e(t,r)}}appendContext(t,r){return e.appendContextImpl(this,t,new d.IdentityHashMap)}static appendContextImpl(t,r,n){if(r.isEmpty){if(d.isEmptyLocal(r)){if(t.hasEmpty)return d.EMPTY_LOCAL;throw new Error("what to do here?")}return t}if(1!==r.size)throw new Error("Appending a tree suffix is not yet supported.");let i=n.get(t);if(!i){if(t.isEmpty)i=r;else{let o=t.size;t.hasEmpty&&o--;let a=new Array(o),s=new Array(o);for(let e=0;e<o;e++)s[e]=t.getReturnState(e);for(let i=0;i<o;i++)a[i]=e.appendContextImpl(t.getParent(i),r,n);i=1===a.length?new h(a[0],s[0]):new e(a,s),t.hasEmpty&&(i=d.join(i,r))}n.put(t,i)}return i}equals(t){if(this===t)return!0;if(!(t instanceof e))return!1;if(this.hashCode()!==t.hashCode())return!1;let r=t;return this.equalsImpl(r,new a.Array2DHashSet)}equalsImpl(e,t){let r=[],n=[];for(r.push(this),n.push(e);;){let e=r.pop(),i=n.pop();if(!e||!i)break;let o=new c.PredictionContextCache.IdentityCommutativePredictionContextOperands(e,i);if(!t.add(o))continue;let a=o.x.size;if(0!==a){if(a!==o.y.size)return!1;for(let e=0;e<a;e++){if(o.x.getReturnState(e)!==o.y.getReturnState(e))return!1;let t=o.x.getParent(e),i=o.y.getParent(e);if(t.hashCode()!==i.hashCode())return!1;t!==i&&(r.push(t),n.push(i))}}else if(!o.x.equals(o.y))return!1}return!0}};n([u.NotNull],f.prototype,"parents",void 0),n([u.NotNull],f.prototype,"returnStates",void 0),n([u.Override],f.prototype,"getParent",null),n([u.Override],f.prototype,"getReturnState",null),n([u.Override],f.prototype,"findReturnState",null),n([u.Override],f.prototype,"size",null),n([u.Override],f.prototype,"isEmpty",null),n([u.Override],f.prototype,"hasEmpty",null),n([u.Override],f.prototype,"addEmptyContext",null),n([u.Override],f.prototype,"removeEmptyContext",null),n([u.Override],f.prototype,"appendContext",null),n([u.Override],f.prototype,"equals",null),f=n([i(0,u.NotNull)],f);let h=class e extends d{constructor(e,t){super(d.calculateSingleHashCode(e,t)),this.parent=e,this.returnState=t}getParent(e){return this.parent}getReturnState(e){return this.returnState}findReturnState(e){return this.returnState===e?0:-1}get size(){return 1}get isEmpty(){return!1}get hasEmpty(){return!1}appendContext(e,t){return t.getChild(this.parent.appendContext(e,t),this.returnState)}addEmptyContext(){let e=[this.parent,d.EMPTY_FULL],t=[this.returnState,d.EMPTY_FULL_STATE_KEY];return new f(e,t)}removeEmptyContext(){return this}equals(t){if(t===this)return!0;if(!(t instanceof e))return!1;let r=t;return this.hashCode()===r.hashCode()&&this.returnState===r.returnState&&this.parent.equals(r.parent)}};n([u.NotNull],h.prototype,"parent",void 0),n([u.Override],h.prototype,"getParent",null),n([u.Override],h.prototype,"getReturnState",null),n([u.Override],h.prototype,"findReturnState",null),n([u.Override],h.prototype,"size",null),n([u.Override],h.prototype,"isEmpty",null),n([u.Override],h.prototype,"hasEmpty",null),n([u.Override],h.prototype,"appendContext",null),n([u.Override],h.prototype,"addEmptyContext",null),n([u.Override],h.prototype,"removeEmptyContext",null),n([u.Override],h.prototype,"equals",null),h=n([i(0,u.NotNull)],h),function(e){e.EMPTY_LOCAL=new p(!1),e.EMPTY_FULL=new p(!0),e.EMPTY_LOCAL_STATE_KEY=-2147483648,e.EMPTY_FULL_STATE_KEY=2147483647,e.IdentityHashMap=class extends o.Array2DHashMap{constructor(){super(t.INSTANCE)}};class t{IdentityEqualityComparator(){}hashCode(e){return e.hashCode()}equals(e,t){return e===t}}t.INSTANCE=new t,n([u.Override],t.prototype,"hashCode",null),n([u.Override],t.prototype,"equals",null),e.IdentityEqualityComparator=t}(d=r.PredictionContext||(r.PredictionContext={}))},{242:242,317:317,339:339,340:340,342:342,351:351}],349:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(341),a=e(346),s=e(348),l=e(250),u=e(351),c=e(242),d=e(266);class p{constructor(e){this.readonly=!1,this._intervals=null!=e?e.slice(0):[]}static get COMPLETE_CHAR_SET(){return void 0===p._COMPLETE_CHAR_SET&&(p._COMPLETE_CHAR_SET=p.of(l.Lexer.MIN_CHAR_VALUE,l.Lexer.MAX_CHAR_VALUE),p._COMPLETE_CHAR_SET.setReadonly(!0)),p._COMPLETE_CHAR_SET}static get EMPTY_SET(){return null==p._EMPTY_SET&&(p._EMPTY_SET=new p,p._EMPTY_SET.setReadonly(!0)),p._EMPTY_SET}static of(e,t=e){let r=new p;return r.add(e,t),r}clear(){if(this.readonly)throw new Error("can't alter readonly IntervalSet");this._intervals.length=0}add(e,t=e){this.addRange(s.Interval.of(e,t))}addRange(e){if(this.readonly)throw new Error("can't alter readonly IntervalSet");if(!(e.b<e.a)){for(let t=0;t<this._intervals.length;t++){let r=this._intervals[t];if(e.equals(r))return;if(e.adjacent(r)||!e.disjoint(r)){let n=e.union(r);for(this._intervals[t]=n;t<this._intervals.length-1;){t++;let e=this._intervals[t];if(!n.adjacent(e)&&n.disjoint(e))break;this._intervals.splice(t,1),t--,this._intervals[t]=n.union(e)}return}if(e.startsBeforeDisjoint(r))return void this._intervals.splice(t,0,e)}this._intervals.push(e)}}static or(e){let t=new p;for(let r of e)t.addAll(r);return t}addAll(e){if(null==e)return this;if(e instanceof p){let t=e,r=t._intervals.length;for(let e=0;e<r;e++){let r=t._intervals[e];this.add(r.a,r.b)}}else for(let t of e.toArray())this.add(t);return this}complementRange(e,t){return this.complement(p.of(e,t))}complement(e){if(e.isNil)return p.EMPTY_SET;let t;return e instanceof p?t=e:(t=new p).addAll(e),t.subtract(this)}subtract(e){if(null==e||e.isNil)return new p(this._intervals);if(e instanceof p)return p.subtract(this,e);let t=new p;return t.addAll(e),p.subtract(this,t)}static subtract(e,t){if(e.isNil)return new p;let r=new p(e._intervals);if(t.isNil)return r;let n=0,i=0;for(;n<r._intervals.length&&i<t._intervals.length;){let e,o,a=r._intervals[n],l=t._intervals[i];if(l.b<a.a)i++;else if(l.a>a.b)n++;else if(l.a>a.a&&(e=new s.Interval(a.a,l.a-1)),l.b<a.b&&(o=new s.Interval(l.b+1,a.b)),e){if(o){r._intervals[n]=e,r._intervals.splice(n+1,0,o),n++,i++;continue}r._intervals[n]=e,n++}else o?(r._intervals[n]=o,i++):r._intervals.splice(n,1)}return r}or(e){let t=new p;return t.addAll(this),t.addAll(e),t}and(e){if(e.isNil)return new p;let t,r=this._intervals,n=e._intervals,i=r.length,o=n.length,a=0,s=0;for(;a<i&&s<o;){let e=r[a],i=n[s];e.startsBeforeDisjoint(i)?a++:i.startsBeforeDisjoint(e)?s++:e.properlyContains(i)?(t||(t=new p),t.addRange(e.intersection(i)),s++):i.properlyContains(e)?(t||(t=new p),t.addRange(e.intersection(i)),a++):e.disjoint(i)||(t||(t=new p),t.addRange(e.intersection(i)),e.startsAfterNonDisjoint(i)?s++:i.startsAfterNonDisjoint(e)&&a++)}return t||new p}contains(e){let t=0,r=this._intervals.length-1;for(;t<=r;){let n=t+r>>1,i=this._intervals[n],o=i.a;if(i.b<e)t=n+1;else{if(!(o>e))return!0;r=n-1}}return!1}get isNil(){return null==this._intervals||0===this._intervals.length}get maxElement(){if(this.isNil)throw new RangeError("set is empty");return this._intervals[this._intervals.length-1].b}get minElement(){if(this.isNil)throw new RangeError("set is empty");return this._intervals[0].a}get intervals(){return this._intervals}hashCode(){let e=u.MurmurHash.initialize();for(let t of this._intervals)e=u.MurmurHash.update(e,t.a),e=u.MurmurHash.update(e,t.b);return u.MurmurHash.finish(e,2*this._intervals.length)}equals(e){return null!=e&&e instanceof p&&o.ArrayEqualityComparator.INSTANCE.equals(this._intervals,e._intervals)}toString(e=!1){let t="";if(null==this._intervals||0===this._intervals.length)return"{}";this.size>1&&(t+="{");let r=!0;for(let n of this._intervals){r?r=!1:t+=", ";let i=n.a,o=n.b;i===o?i===d.Token.EOF?t+="<EOF>":t+=e?"'"+String.fromCodePoint(i)+"'":i:t+=e?"'"+String.fromCodePoint(i)+"'..'"+String.fromCodePoint(o)+"'":i+".."+o}return this.size>1&&(t+="}"),t}toStringVocabulary(e){if(null==this._intervals||0===this._intervals.length)return"{}";let t="";this.size>1&&(t+="{");let r=!0;for(let n of this._intervals){r?r=!1:t+=", ";let i=n.a,o=n.b;if(i===o)t+=this.elementName(e,i);else for(let r=i;r<=o;r++)r>i&&(t+=", "),t+=this.elementName(e,r)}return this.size>1&&(t+="}"),t}elementName(e,t){return t===d.Token.EOF?"<EOF>":t===d.Token.EPSILON?"<EPSILON>":e.getDisplayName(t)}get size(){let e=0,t=this._intervals.length;if(1===t){let e=this._intervals[0];return e.b-e.a+1}for(let r=0;r<t;r++){let t=this._intervals[r];e+=t.b-t.a+1}return e}toIntegerList(){let e=new a.IntegerList(this.size),t=this._intervals.length;for(let r=0;r<t;r++){let t=this._intervals[r],n=t.a,i=t.b;for(let t=n;t<=i;t++)e.add(t)}return e}toSet(){let e=new Set;for(let t of this._intervals){let r=t.a,n=t.b;for(let t=r;t<=n;t++)e.add(t)}return e}toArray(){let e=new Array,t=this._intervals.length;for(let r=0;r<t;r++){let t=this._intervals[r],n=t.a,i=t.b;for(let t=n;t<=i;t++)e.push(t)}return e}remove(e){if(this.readonly)throw new Error("can't alter readonly IntervalSet");let t=this._intervals.length;for(let r=0;r<t;r++){let t=this._intervals[r],n=t.a,i=t.b;if(e<n)break;if(e===n&&e===i){this._intervals.splice(r,1);break}if(e===n){this._intervals[r]=s.Interval.of(t.a+1,t.b);break}if(e===i){this._intervals[r]=s.Interval.of(t.a,t.b-1);break}if(e>n&&e<i){let n=t.b;this._intervals[r]=s.Interval.of(t.a,e-1),this.add(e+1,n)}}}get isReadonly(){return this.readonly}setReadonly(e){if(this.readonly&&!e)throw new Error("can't alter readonly IntervalSet");this.readonly=e}}n([c.Override],p.prototype,"addAll",null),n([c.Override],p.prototype,"complement",null),n([c.Override],p.prototype,"subtract",null),n([c.Override],p.prototype,"or",null),n([c.Override],p.prototype,"and",null),n([c.Override],p.prototype,"contains",null),n([c.Override],p.prototype,"isNil",null),n([c.Override],p.prototype,"hashCode",null),n([c.Override],p.prototype,"equals",null),n([i(0,c.NotNull)],p.prototype,"toStringVocabulary",null),n([c.NotNull,i(0,c.NotNull)],p.prototype,"elementName",null),n([c.Override],p.prototype,"size",null),n([c.Override],p.prototype,"remove",null),n([c.NotNull],p,"of",null),n([c.NotNull],p,"subtract",null),r.IntervalSet=p},{242:242,250:250,266:266,341:341,346:346,348:348,351:351}],244:[function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),(n=r.Dependents||(r.Dependents={}))[n.SELF=0]="SELF",n[n.PARENTS=1]="PARENTS",n[n.CHILDREN=2]="CHILDREN",n[n.ANCESTORS=3]="ANCESTORS",n[n.DESCENDANTS=4]="DESCENDANTS",n[n.SIBLINGS=5]="SIBLINGS",n[n.PRECEEDING_SIBLINGS=6]="PRECEEDING_SIBLINGS",n[n.FOLLOWING_SIBLINGS=7]="FOLLOWING_SIBLINGS",n[n.PRECEEDING=8]="PRECEEDING",n[n.FOLLOWING=9]="FOLLOWING"},{}],245:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(343),a=e(242),s=e(348);class l{constructor(e=!0){this.exactOnly=e,this.exactOnly=e}syntaxError(e,t,r,n,i,o){}reportAmbiguity(e,t,r,n,i,o,a){if(this.exactOnly&&!i)return;let l=`reportAmbiguity d=${this.getDecisionDescription(e,t)}: ambigAlts=${this.getConflictingAlts(o,a)}, input='${e.inputStream.getText(s.Interval.of(r,n))}'`;e.notifyErrorListeners(l)}reportAttemptingFullContext(e,t,r,n,i,o){let a=`reportAttemptingFullContext d=${this.getDecisionDescription(e,t)}, input='${e.inputStream.getText(s.Interval.of(r,n))}'`;e.notifyErrorListeners(a)}reportContextSensitivity(e,t,r,n,i,o){let a=`reportContextSensitivity d=${this.getDecisionDescription(e,t)}, input='${e.inputStream.getText(s.Interval.of(r,n))}'`;e.notifyErrorListeners(a)}getDecisionDescription(e,t){let r=t.decision,n=t.atnStartState.ruleIndex,i=e.ruleNames;if(n<0||n>=i.length)return r.toString();let o=i[n];return o?`${r} (${o})`:r.toString()}getConflictingAlts(e,t){if(null!=e)return e;let r=new o.BitSet;for(let e of t)r.set(e.alt);return r}}n([a.Override],l.prototype,"syntaxError",null),n([a.Override,i(0,a.NotNull),i(1,a.NotNull),i(6,a.NotNull)],l.prototype,"reportAmbiguity",null),n([a.Override,i(0,a.NotNull),i(1,a.NotNull),i(5,a.NotNull)],l.prototype,"reportAttemptingFullContext",null),n([a.Override,i(0,a.NotNull),i(1,a.NotNull),i(5,a.NotNull)],l.prototype,"reportContextSensitivity",null),n([i(0,a.NotNull),i(1,a.NotNull)],l.prototype,"getDecisionDescription",null),n([a.NotNull,i(1,a.NotNull)],l.prototype,"getConflictingAlts",null),r.DiagnosticErrorListener=l},{242:242,343:343,348:348}],343:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(426),i=e(351),o=new Uint16Array(0);function a(e){return e>>>4}function s(e){return 16*e}function l(e){let t=1;for(let r=0;r<16;r++){if(e&t)return r;t=t<<1>>>0}throw new RangeError("No specified bit found")}function u(e){let t=32768;for(let r=15;r>=0;r--){if(e&t)return r;t>>>=1}throw new RangeError("No specified bit found")}function c(e,t){return(e&=15)==(t&=15)?1<<e>>>0:65535>>>15-t^65535>>>16-e}const d=new Uint8Array(65536);for(let e=0;e<16;e++){const t=1<<e>>>0;let r=0;for(;r<d.length;){r+=t;for(let e=0;e<t;e++)d[r]++,r++}}class p{constructor(e){if(e)if("number"==typeof e){if(e<0)throw new RangeError("nbits cannot be negative");this.data=new Uint16Array(a(e-1)+1)}else if(e instanceof p)this.data=e.data.slice(0);else{let t=-1;for(let r of e)t<r&&(t=r);this.data=new Uint16Array(a(t-1)+1);for(let t of e)this.set(t)}else this.data=o}and(e){const t=this.data,r=e.data,n=Math.min(t.length,r.length);let i=-1;for(let e=0;e<n;e++)0!=(t[e]&=r[e])&&(i=e);-1===i&&(this.data=o),i<t.length-1&&(this.data=t.slice(0,i+1))}andNot(e){const t=this.data,r=e.data,n=Math.min(t.length,r.length);let i=-1;for(let e=0;e<n;e++)0!=(t[e]&=65535^r[e])&&(i=e);-1===i&&(this.data=o),i<t.length-1&&(this.data=t.slice(0,i+1))}cardinality(){if(this.isEmpty)return 0;const e=this.data,t=e.length;let r=0;for(let n=0;n<t;n++)r+=d[e[n]];return r}clear(e,t){null==e?this.data.fill(0):null==t?this.set(e,!1):this.set(e,t,!1)}flip(e,t){if(null==t&&(t=e),e<0||t<e)throw new RangeError;let r=a(e);const n=a(t);if(r===n)this.data[r]^=c(e,t);else{for(this.data[r++]^=c(e,15);r<n;)this.data[r++]^=65535;this.data[r++]^=c(0,t)}}get(e,t){if(void 0===t)return!!(this.data[a(e)]&c(e,e));{let r=new p(t+1);for(let n=e;n<=t;n++)r.set(n,this.get(n));return r}}intersects(e){let t=Math.min(this.length(),e.length());if(0===t)return!1;let r=a(t-1);for(let t=0;t<=r;t++)if(this.data[t]&e.data[t])return!0;return!1}get isEmpty(){return 0===this.length()}length(){return this.data.length?this.previousSetBit(s(this.data.length)-1)+1:0}nextClearBit(e){if(e<0)throw new RangeError("fromIndex cannot be negative");const t=this.data,r=t.length;let n=a(e);if(n>r)return-1;let i=65535^c(e,15);if(65535==(t[n]|i)){for(n++,i=0;n<r&&65535===t[n];n++);if(n===r)return-1}return s(n)+l(65535^(t[n]|i))}nextSetBit(e){if(e<0)throw new RangeError("fromIndex cannot be negative");const t=this.data,r=t.length;let n=a(e);if(n>r)return-1;let i=c(e,15);if(!(t[n]&i)){for(n++,i=65535;n<r&&0===t[n];n++);if(n>=r)return-1}return s(n)+l(t[n]&i)}or(e){const t=this.data,r=e.data,n=Math.min(t.length,r.length),i=Math.max(t.length,r.length),a=t.length===i?t:new Uint16Array(i);let s=-1;for(let e=0;e<n;e++)0!=(a[e]=t[e]|r[e])&&(s=e);const l=t.length>r.length?t:r;for(let e=n;e<i;e++)0!==(a[e]=l[e])&&(s=e);-1===s?this.data=o:a.length===s+1?this.data=a:this.data=a.slice(0,s)}previousClearBit(e){if(e<0)throw new RangeError("fromIndex cannot be negative");const t=this.data,r=t.length;let n=a(e);n>=r&&(n=r-1);let i=65535^c(0,e);if(65535==(t[n]|i)){for(i=0,n--;n>=0&&65535===t[n];n--);if(n<0)return-1}return s(n)+u(65535^(t[n]|i))}previousSetBit(e){if(e<0)throw new RangeError("fromIndex cannot be negative");const t=this.data,r=t.length;let n=a(e);n>=r&&(n=r-1);let i=c(0,e);if(!(t[n]&i)){for(n--,i=65535;n>=0&&0===t[n];n--);if(n<0)return-1}return s(n)+u(t[n]&i)}set(e,t,r){if(void 0===t?(t=e,r=!0):"boolean"==typeof t&&(r=t,t=e),void 0===r&&(r=!0),e<0||e>t)throw new RangeError;let n=a(e),i=a(t);if(r&&i>=this.data.length){let e=new Uint16Array(i+1);this.data.forEach(((t,r)=>e[r]=t)),this.data=e}else if(!r){if(n>=this.data.length)return;i>=this.data.length&&(i=this.data.length-1,t=16*this.data.length-1)}if(n===i)this._setBits(n,r,c(e,t));else{for(this._setBits(n++,r,c(e,15));n<i;)this.data[n++]=r?65535:0;this._setBits(n,r,c(0,t))}}_setBits(e,t,r){t?this.data[e]|=r:this.data[e]&=65535^r}get size(){return 8*this.data.byteLength}hashCode(){return i.MurmurHash.hashCode(this.data,22)}equals(e){if(e===this)return!0;if(!(e instanceof p))return!1;const t=this.length();if(t!==e.length())return!1;if(0===t)return!0;let r=a(t-1);for(let t=0;t<=r;t++)if(this.data[t]!==e.data[t])return!1;return!0}toString(){let e="{",t=!0;for(let r=this.nextSetBit(0);r>=0;r=this.nextSetBit(r+1))t?t=!1:e+=", ",e+=r;return e+"}"}xor(e){const t=this.data,r=e.data,n=Math.min(t.length,r.length),i=Math.max(t.length,r.length),a=t.length===i?t:new Uint16Array(i);let s=-1;for(let e=0;e<n;e++)0!=(a[e]=t[e]^r[e])&&(s=e);const l=t.length>r.length?t:r;for(let e=n;e<i;e++)0!==(a[e]=l[e])&&(s=e);-1===s?this.data=o:a.length===s+1?this.data=a:this.data=a.slice(0,s+1)}clone(){return new p(this)}[Symbol.iterator](){return new f(this.data)}[n.inspect.custom](){return"BitSet "+this.toString()}}r.BitSet=p;class f{constructor(e){this.data=e,this.index=0,this.mask=65535}next(){for(;this.index<this.data.length;){const e=this.data[this.index]&this.mask;if(0!==e){const t=s(this.index)+l(e);return this.mask=c(t+1,15),{done:!1,value:t}}this.index++,this.mask=65535}return{done:!0,value:-1}}[Symbol.iterator](){return this}}},{351:351,426:426}],315:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(277),a=e(242),s=e(324);let l=class extends o.AbstractPredicateTransition{constructor(e,t,r,n){super(e),this.ruleIndex=t,this.predIndex=r,this.isCtxDependent=n}get serializationType(){return 4}get isEpsilon(){return!0}matches(e,t,r){return!1}get predicate(){return new s.SemanticContext.Predicate(this.ruleIndex,this.predIndex,this.isCtxDependent)}toString(){return"pred_"+this.ruleIndex+":"+this.predIndex}};n([a.Override],l.prototype,"serializationType",null),n([a.Override],l.prototype,"isEpsilon",null),n([a.Override],l.prototype,"matches",null),n([a.Override,a.NotNull],l.prototype,"toString",null),l=n([i(0,a.NotNull)],l),r.PredicateTransition=l},{242:242,277:277,324:324}],249:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(257);class a extends o.ParserRuleContext{constructor(e,t,r){void 0!==r?super(t,r):super(),this._ruleIndex=e}get ruleIndex(){return this._ruleIndex}}n([i.Override],a.prototype,"ruleIndex",null),r.InterpreterRuleContext=a},{242:242,257:257}],252:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(260),a=e(242),s=e(348),l=e(355);let u=class extends o.RecognitionException{constructor(e,t,r,n){super(e,t),this._startIndex=r,this._deadEndConfigs=n}get startIndex(){return this._startIndex}get deadEndConfigs(){return this._deadEndConfigs}get inputStream(){return super.inputStream}toString(){let e="";return this._startIndex>=0&&this._startIndex<this.inputStream.size&&(e=this.inputStream.getText(s.Interval.of(this._startIndex,this._startIndex)),e=l.escapeWhitespace(e,!1)),`LexerNoViableAltException('${e}')`}};n([a.Override],u.prototype,"inputStream",null),n([a.Override],u.prototype,"toString",null),u=n([i(1,a.NotNull)],u),r.LexerNoViableAltException=u},{242:242,260:260,348:348,355:355}],261:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(241),a=e(258),s=e(242),l=e(266),u=e(355);class c{constructor(){this._listeners=[o.ConsoleErrorListener.INSTANCE],this._stateNumber=-1}getTokenTypeMap(){let e=this.vocabulary,t=c.tokenTypeMapCache.get(e);if(null==t){let r=new Map;for(let t=0;t<=this.atn.maxTokenType;t++){let n=e.getLiteralName(t);null!=n&&r.set(n,t);let i=e.getSymbolicName(t);null!=i&&r.set(i,t)}r.set("EOF",l.Token.EOF),t=r,c.tokenTypeMapCache.set(e,t)}return t}getRuleIndexMap(){let e=this.ruleNames;if(null==e)throw new Error("The current recognizer does not provide a list of rule names.");let t=c.ruleIndexMapCache.get(e);return null==t&&(t=u.toMap(e),c.ruleIndexMapCache.set(e,t)),t}getTokenType(e){let t=this.getTokenTypeMap().get(e);return null!=t?t:l.Token.INVALID_TYPE}get serializedATN(){throw new Error("there is no serialized ATN")}get atn(){return this._interp.atn}get interpreter(){return this._interp}set interpreter(e){this._interp=e}get parseInfo(){return Promise.resolve(void 0)}getErrorHeader(e){let t=e.getOffendingToken();return t?"line "+t.line+":"+t.charPositionInLine:""}addErrorListener(e){if(!e)throw new TypeError("listener must not be null");this._listeners.push(e)}removeErrorListener(e){let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}removeErrorListeners(){this._listeners.length=0}getErrorListeners(){return this._listeners.slice(0)}getErrorListenerDispatch(){return new a.ProxyErrorListener(this.getErrorListeners())}sempred(e,t,r){return!0}precpred(e,t){return!0}action(e,t,r){}get state(){return this._stateNumber}set state(e){this._stateNumber=e}}c.EOF=-1,c.tokenTypeMapCache=new WeakMap,c.ruleIndexMapCache=new WeakMap,n([s.SuppressWarnings("serial"),s.NotNull],c.prototype,"_listeners",void 0),n([s.NotNull],c.prototype,"getTokenTypeMap",null),n([s.NotNull],c.prototype,"getRuleIndexMap",null),n([s.NotNull],c.prototype,"serializedATN",null),n([s.NotNull],c.prototype,"atn",null),n([s.NotNull,i(0,s.NotNull)],c.prototype,"interpreter",null),n([s.NotNull,i(0,s.NotNull)],c.prototype,"getErrorHeader",null),n([i(0,s.NotNull)],c.prototype,"addErrorListener",null),n([i(0,s.NotNull)],c.prototype,"removeErrorListener",null),n([s.NotNull],c.prototype,"getErrorListeners",null),r.Recognizer=c},{241:241,242:242,258:258,266:266,355:355}],347:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(346);r.IntegerStack=class extends n.IntegerList{constructor(e){super(e)}push(e){this.add(e)}pop(){return this.removeAt(this.size-1)}peek(){return this.get(this.size-1)}}},{346:346}],251:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(250),a=e(294),s=e(242),l=e(242);let u=class extends o.Lexer{constructor(e,t,r,n,i,o,s){if(super(s),0!==o.grammarType)throw new Error("IllegalArgumentException: The ATN must be a lexer ATN.");this._grammarFileName=e,this._atn=o,this._ruleNames=r.slice(0),this._channelNames=n.slice(0),this._modeNames=i.slice(0),this._vocabulary=t,this._interp=new a.LexerATNSimulator(o,this)}get atn(){return this._atn}get grammarFileName(){return this._grammarFileName}get ruleNames(){return this._ruleNames}get channelNames(){return this._channelNames}get modeNames(){return this._modeNames}get vocabulary(){return this._vocabulary}};n([s.NotNull],u.prototype,"_vocabulary",void 0),n([l.Override],u.prototype,"atn",null),n([l.Override],u.prototype,"grammarFileName",null),n([l.Override],u.prototype,"ruleNames",null),n([l.Override],u.prototype,"channelNames",null),n([l.Override],u.prototype,"modeNames",null),n([l.Override],u.prototype,"vocabulary",null),u=n([i(1,s.NotNull)],u),r.LexerInterpreter=u},{242:242,250:250,294:294}],253:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(239),a=e(242),s=e(266);let l=class{constructor(e,t){if(this.i=0,this._factory=o.CommonTokenFactory.DEFAULT,null==e)throw new Error("tokens cannot be null");this.tokens=e,this._sourceName=t}get charPositionInLine(){if(this.i<this.tokens.length)return this.tokens[this.i].charPositionInLine;if(null!=this.eofToken)return this.eofToken.charPositionInLine;if(this.tokens.length>0){let e=this.tokens[this.tokens.length-1],t=e.text;if(null!=t){let e=t.lastIndexOf("\n");if(e>=0)return t.length-e-1}return e.charPositionInLine+e.stopIndex-e.startIndex+1}return 0}nextToken(){if(this.i>=this.tokens.length){if(null==this.eofToken){let e=-1;if(this.tokens.length>0){let t=this.tokens[this.tokens.length-1].stopIndex;-1!==t&&(e=t+1)}let t=Math.max(-1,e-1);this.eofToken=this._factory.create({source:this,stream:this.inputStream},s.Token.EOF,"EOF",s.Token.DEFAULT_CHANNEL,e,t,this.line,this.charPositionInLine)}return this.eofToken}let e=this.tokens[this.i];return this.i===this.tokens.length-1&&e.type===s.Token.EOF&&(this.eofToken=e),this.i++,e}get line(){if(this.i<this.tokens.length)return this.tokens[this.i].line;if(null!=this.eofToken)return this.eofToken.line;if(this.tokens.length>0){let e=this.tokens[this.tokens.length-1],t=e.line,r=e.text;if(null!=r)for(let e=0;e<r.length;e++)"\n"===r.charAt(e)&&t++;return t}return 1}get inputStream(){return this.i<this.tokens.length?this.tokens[this.i].inputStream:null!=this.eofToken?this.eofToken.inputStream:this.tokens.length>0?this.tokens[this.tokens.length-1].inputStream:void 0}get sourceName(){if(this._sourceName)return this._sourceName;let e=this.inputStream;return null!=e?e.sourceName:"List"}set tokenFactory(e){this._factory=e}get tokenFactory(){return this._factory}};n([a.Override],l.prototype,"charPositionInLine",null),n([a.Override],l.prototype,"nextToken",null),n([a.Override],l.prototype,"line",null),n([a.Override],l.prototype,"inputStream",null),n([a.Override],l.prototype,"sourceName",null),n([a.Override,a.NotNull,i(0,a.NotNull)],l.prototype,"tokenFactory",null),l=n([i(0,a.NotNull)],l),r.ListTokenSource=l},{239:239,242:242,266:266}],259:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(258),o=e(242);class a extends i.ProxyErrorListener{constructor(e){super(e)}reportAmbiguity(e,t,r,n,i,o,a){this.getDelegates().forEach((s=>{s.reportAmbiguity&&s.reportAmbiguity(e,t,r,n,i,o,a)}))}reportAttemptingFullContext(e,t,r,n,i,o){this.getDelegates().forEach((a=>{a.reportAttemptingFullContext&&a.reportAttemptingFullContext(e,t,r,n,i,o)}))}reportContextSensitivity(e,t,r,n,i,o){this.getDelegates().forEach((a=>{a.reportContextSensitivity&&a.reportContextSensitivity(e,t,r,n,i,o)}))}}n([o.Override],a.prototype,"reportAmbiguity",null),n([o.Override],a.prototype,"reportAttemptingFullContext",null),n([o.Override],a.prototype,"reportContextSensitivity",null),r.ProxyParserErrorListener=a},{242:242,258:258}],422:[function(e,t,r){var n,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var u,c=[],d=!1,p=-1;function f(){d&&u&&(d=!1,u.length?c=u.concat(c):p=-1,c.length&&h())}function h(){if(!d){var e=l(f);d=!0;for(var t=c.length;t;){for(u=c,c=[];++p<t;)u&&u[p].run();p=-1,t=c.length}u=null,d=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new m(e,t)),1!==c.length||d||l(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],272:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});class i{constructor(e){this.readOnly=!1,e?(this.verifyATN=e.verifyATN,this.generateRuleBypassTransitions=e.generateRuleBypassTransitions,this.optimize=e.optimize):(this.verifyATN=!0,this.generateRuleBypassTransitions=!1,this.optimize=!0)}static get defaultOptions(){return null==i._defaultOptions&&(i._defaultOptions=new i,i._defaultOptions.makeReadOnly()),i._defaultOptions}get isReadOnly(){return this.readOnly}makeReadOnly(){this.readOnly=!0}get isVerifyATN(){return this.verifyATN}set isVerifyATN(e){this.throwIfReadOnly(),this.verifyATN=e}get isGenerateRuleBypassTransitions(){return this.generateRuleBypassTransitions}set isGenerateRuleBypassTransitions(e){this.throwIfReadOnly(),this.generateRuleBypassTransitions=e}get isOptimize(){return this.optimize}set isOptimize(e){this.throwIfReadOnly(),this.optimize=e}throwIfReadOnly(){if(this.isReadOnly)throw new Error("The object is read only.")}}n([e(242).NotNull],i,"defaultOptions",null),r.ATNDeserializationOptions=i},{242:242}],309:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242);let a=class{constructor(e){this.atnSimulator=e}getDecisionInfo(){return this.atnSimulator.getDecisionInfo()}getLLDecisions(){let e=this.atnSimulator.getDecisionInfo(),t=[];for(let r=0;r<e.length;r++)e[r].LL_Fallback>0&&t.push(r);return t}getTotalTimeInPrediction(){let e=this.atnSimulator.getDecisionInfo(),t=0;for(let r of e)t+=r.timeInPrediction;return t}getTotalSLLLookaheadOps(){let e=this.atnSimulator.getDecisionInfo(),t=0;for(let r of e)t+=r.SLL_TotalLook;return t}getTotalLLLookaheadOps(){let e=this.atnSimulator.getDecisionInfo(),t=0;for(let r of e)t+=r.LL_TotalLook;return t}getTotalSLLATNLookaheadOps(){let e=this.atnSimulator.getDecisionInfo(),t=0;for(let r of e)t+=r.SLL_ATNTransitions;return t}getTotalLLATNLookaheadOps(){let e=this.atnSimulator.getDecisionInfo(),t=0;for(let r of e)t+=r.LL_ATNTransitions;return t}getTotalATNLookaheadOps(){let e=this.atnSimulator.getDecisionInfo(),t=0;for(let r of e)t+=r.SLL_ATNTransitions,t+=r.LL_ATNTransitions;return t}getDFASize(e){if(e)return this.atnSimulator.atn.decisionToDFA[e].states.size;{let e=0,t=this.atnSimulator.atn.decisionToDFA;for(let r=0;r<t.length;r++)e+=this.getDFASize(r);return e}}};n([o.NotNull],a.prototype,"getDecisionInfo",null),n([o.NotNull],a.prototype,"getLLDecisions",null),a=n([i(0,o.NotNull)],a),r.ParseInfo=a},{242:242}],357:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(361);class a extends o.TerminalNode{constructor(e){super(e)}accept(e){return e.visitErrorNode(this)}}n([i.Override],a.prototype,"accept",null),r.ErrorNode=a},{242:242,361:361}],361:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(348),o=e(242),a=e(266);class s{constructor(e){this._symbol=e}getChild(e){throw new RangeError("Terminal Node has no children.")}get symbol(){return this._symbol}get parent(){return this._parent}setParent(e){this._parent=e}get payload(){return this._symbol}get sourceInterval(){let e=this._symbol.tokenIndex;return new i.Interval(e,e)}get childCount(){return 0}accept(e){return e.visitTerminal(this)}get text(){return this._symbol.text||""}toStringTree(e){return this.toString()}toString(){return this._symbol.type===a.Token.EOF?"<EOF>":this._symbol.text||""}}n([o.Override],s.prototype,"getChild",null),n([o.Override],s.prototype,"parent",null),n([o.Override],s.prototype,"setParent",null),n([o.Override],s.prototype,"payload",null),n([o.Override],s.prototype,"sourceInterval",null),n([o.Override],s.prototype,"childCount",null),n([o.Override],s.prototype,"accept",null),n([o.Override],s.prototype,"text",null),n([o.Override],s.prototype,"toStringTree",null),n([o.Override],s.prototype,"toString",null),r.TerminalNode=s},{242:242,266:266,348:348}],319:[function(e,t,r){(function(t){(function(){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(279),a=e(269),s=e(274),l=e(286),u=e(288),c=e(291),d=e(242),p=e(305),f=e(310),h=e(314),m=e(324),y=e(326);class v extends f.ParserATNSimulator{constructor(e){super(e.interpreter.atn,e),this._startIndex=0,this._sllStopIndex=0,this._llStopIndex=0,this.currentDecision=0,this.conflictingAltResolvedBySLL=0,this.optimize_ll1=!1,this.reportAmbiguities=!0,this.numDecisions=this.atn.decisionToState.length,this.decisions=[];for(let e=0;e<this.numDecisions;e++)this.decisions.push(new u.DecisionInfo(e))}adaptivePredict(e,r,n,i){if(void 0!==i)return super.adaptivePredict(e,r,n,i);try{this._input=e,this._startIndex=e.index,this._sllStopIndex=this._startIndex-1,this._llStopIndex=-1,this.currentDecision=r,this.currentState=void 0,this.conflictingAltResolvedBySLL=a.ATN.INVALID_ALT_NUMBER;let i=t.hrtime(),o=super.adaptivePredict(e,r,n),s=t.hrtime(),l=1e9*(s[0]-i[0]);0===l?l=s[1]-i[1]:l+=1e9-i[1]+s[1],this.decisions[r].timeInPrediction+=l,this.decisions[r].invocations++;let u=this._sllStopIndex-this._startIndex+1;if(this.decisions[r].SLL_TotalLook+=u,this.decisions[r].SLL_MinLook=0===this.decisions[r].SLL_MinLook?u:Math.min(this.decisions[r].SLL_MinLook,u),u>this.decisions[r].SLL_MaxLook&&(this.decisions[r].SLL_MaxLook=u,this.decisions[r].SLL_MaxLookEvent=new p.LookaheadEventInfo(r,void 0,o,e,this._startIndex,this._sllStopIndex,!1)),this._llStopIndex>=0){let t=this._llStopIndex-this._startIndex+1;this.decisions[r].LL_TotalLook+=t,this.decisions[r].LL_MinLook=0===this.decisions[r].LL_MinLook?t:Math.min(this.decisions[r].LL_MinLook,t),t>this.decisions[r].LL_MaxLook&&(this.decisions[r].LL_MaxLook=t,this.decisions[r].LL_MaxLookEvent=new p.LookaheadEventInfo(r,void 0,o,e,this._startIndex,this._llStopIndex,!0))}return o}finally{this._input=void 0,this.currentDecision=-1}}getStartState(e,t,r,n){let i=super.getStartState(e,t,r,n);return this.currentState=i,i}computeStartState(e,t,r){let n=super.computeStartState(e,t,r);return this.currentState=n,n}computeReachSet(e,t,r,n){if(void 0===this._input)throw new Error("Invalid state");let i=super.computeReachSet(e,t,r,n);return null==i&&this.decisions[this.currentDecision].errors.push(new c.ErrorInfo(this.currentDecision,t,this._input,this._startIndex,this._input.index)),this.currentState=i,i}getExistingTargetState(e,t){if(void 0===this.currentState||void 0===this._input)throw new Error("Invalid state");this.currentState.useContext?this._llStopIndex=this._input.index:this._sllStopIndex=this._input.index;let r=super.getExistingTargetState(e,t);if(null!=r&&(this.currentState=new y.SimulatorState(this.currentState.outerContext,r,this.currentState.useContext,this.currentState.remainingOuterContext),this.currentState.useContext?this.decisions[this.currentDecision].LL_DFATransitions++:this.decisions[this.currentDecision].SLL_DFATransitions++,r===s.ATNSimulator.ERROR)){let t=new y.SimulatorState(this.currentState.outerContext,e,this.currentState.useContext,this.currentState.remainingOuterContext);this.decisions[this.currentDecision].errors.push(new c.ErrorInfo(this.currentDecision,t,this._input,this._startIndex,this._input.index))}return r}computeTargetState(e,t,r,n,i,o){let a=super.computeTargetState(e,t,r,n,i,o);return i?this.decisions[this.currentDecision].LL_ATNTransitions++:this.decisions[this.currentDecision].SLL_ATNTransitions++,a}evalSemanticContextImpl(e,t,r){if(void 0===this.currentState||void 0===this._input)throw new Error("Invalid state");let n=super.evalSemanticContextImpl(e,t,r);if(!(e instanceof m.SemanticContext.PrecedencePredicate)){let t=this._llStopIndex>=0?this._llStopIndex:this._sllStopIndex;this.decisions[this.currentDecision].predicateEvals.push(new h.PredicateEvalInfo(this.currentState,this.currentDecision,this._input,this._startIndex,t,e,n,r))}return n}reportContextSensitivity(e,t,r,n,i){if(void 0===this._input)throw new Error("Invalid state");t!==this.conflictingAltResolvedBySLL&&this.decisions[this.currentDecision].contextSensitivities.push(new l.ContextSensitivityInfo(this.currentDecision,r,this._input,n,i)),super.reportContextSensitivity(e,t,r,n,i)}reportAttemptingFullContext(e,t,r,n,i){this.conflictingAltResolvedBySLL=null!=t?t.nextSetBit(0):r.s0.configs.getRepresentedAlternatives().nextSetBit(0),this.decisions[this.currentDecision].LL_Fallback++,super.reportAttemptingFullContext(e,t,r,n,i)}reportAmbiguity(e,t,r,n,i,s,u){if(void 0===this.currentState||void 0===this._input)throw new Error("Invalid state");let c;c=null!=s?s.nextSetBit(0):u.getRepresentedAlternatives().nextSetBit(0),this.conflictingAltResolvedBySLL!==a.ATN.INVALID_ALT_NUMBER&&c!==this.conflictingAltResolvedBySLL&&this.decisions[this.currentDecision].contextSensitivities.push(new l.ContextSensitivityInfo(this.currentDecision,this.currentState,this._input,r,n)),this.decisions[this.currentDecision].ambiguities.push(new o.AmbiguityInfo(this.currentDecision,this.currentState,s,this._input,r,n)),super.reportAmbiguity(e,t,r,n,i,s,u)}getDecisionInfo(){return this.decisions}getCurrentState(){return this.currentState}}n([d.Override,i(0,d.NotNull)],v.prototype,"adaptivePredict",null),n([d.Override],v.prototype,"getStartState",null),n([d.Override],v.prototype,"computeStartState",null),n([d.Override],v.prototype,"computeReachSet",null),n([d.Override],v.prototype,"getExistingTargetState",null),n([d.Override],v.prototype,"computeTargetState",null),n([d.Override],v.prototype,"evalSemanticContextImpl",null),n([d.Override],v.prototype,"reportContextSensitivity",null),n([d.Override],v.prototype,"reportAttemptingFullContext",null),n([d.Override,i(0,d.NotNull),i(5,d.NotNull),i(6,d.NotNull)],v.prototype,"reportAmbiguity",null),r.ProfilingATNSimulator=v}).call(this)}).call(this,e(422))},{242:242,269:269,274:274,279:279,286:286,288:288,291:291,305:305,310:310,314:314,324:324,326:326,422:422}],367:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(233),a=e(235),s=e(240),l=e(253),u=e(350),c=e(242),d=e(353),p=e(256),f=e(257),h=e(365),m=e(366),y=e(260),v=e(360),g=e(368),b=e(369),C=e(361),E=e(370),_=e(266),T=e(371);class x{constructor(e,t){this.start="<",this.stop=">",this.escape="\\",this.escapeRE=/\\/g,this._lexer=e,this._parser=t}setDelimiters(e,t,r){if(!e)throw new Error("start cannot be null or empty");if(!t)throw new Error("stop cannot be null or empty");this.start=e,this.stop=t,this.escape=r,this.escapeRE=new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g")}matches(e,t,r=0){if("string"==typeof t){let n=this.compile(t,r);return this.matches(e,n)}{let r=new u.MultiMap;return!this.matchImpl(e,t.patternTree,r)}}match(e,t,r=0){if("string"==typeof t){let n=this.compile(t,r);return this.match(e,n)}{let r=new u.MultiMap,n=this.matchImpl(e,t.patternTree,r);return new h.ParseTreeMatch(e,t,r,n)}}compile(e,t){let r=this.tokenize(e),n=new l.ListTokenSource(r),i=new s.CommonTokenStream(n);const a=this._parser;let u,c=new p.ParserInterpreter(a.grammarFileName,a.vocabulary,a.ruleNames,a.getATNWithBypassAlts(),i);try{c.errorHandler=new o.BailErrorStrategy,u=c.parse(t)}catch(e){throw e instanceof d.ParseCancellationException?e.getCause():e instanceof y.RecognitionException?e:e instanceof Error?new x.CannotInvokeStartRule(e):e}if(i.LA(1)!==_.Token.EOF)throw new x.StartRuleDoesNotConsumeFullPattern;return new m.ParseTreePattern(this,e,t,u)}get lexer(){return this._lexer}get parser(){return this._parser}matchImpl(e,t,r){if(!e)throw new TypeError("tree cannot be null");if(!t)throw new TypeError("patternTree cannot be null");if(e instanceof C.TerminalNode&&t instanceof C.TerminalNode){let n;if(e.symbol.type===t.symbol.type)if(t.symbol instanceof T.TokenTagToken){let n=t.symbol;r.map(n.tokenName,e);const i=n.label;i&&r.map(i,e)}else e.text===t.text||n||(n=e);else n||(n=e);return n}if(e instanceof f.ParserRuleContext&&t instanceof f.ParserRuleContext){let n,i=this.getRuleTagToken(t);if(i){if(e.ruleContext.ruleIndex===t.ruleContext.ruleIndex){r.map(i.ruleName,e);const t=i.label;t&&r.map(t,e)}else n||(n=e);return n}if(e.childCount!==t.childCount)return n||(n=e),n;let o=e.childCount;for(let n=0;n<o;n++){let i=this.matchImpl(e.getChild(n),t.getChild(n),r);if(i)return i}return n}return e}getRuleTagToken(e){if(e instanceof v.RuleNode&&1===e.childCount&&e.getChild(0)instanceof C.TerminalNode){let t=e.getChild(0);if(t.symbol instanceof g.RuleTagToken)return t.symbol}}tokenize(e){let t=this.split(e),r=[];for(let n of t)if(n instanceof b.TagChunk){let t=n;const i=t.tag.substr(0,1);if(i===i.toUpperCase()){let n=this._parser.getTokenType(t.tag);if(n===_.Token.INVALID_TYPE)throw new Error("Unknown token "+t.tag+" in pattern: "+e);let i=new T.TokenTagToken(t.tag,n,t.label);r.push(i)}else{if(i!==i.toLowerCase())throw new Error("invalid tag: "+t.tag+" in pattern: "+e);{let n=this._parser.getRuleIndex(t.tag);if(-1===n)throw new Error("Unknown rule "+t.tag+" in pattern: "+e);let i=this._parser.getATNWithBypassAlts().ruleToTokenType[n];r.push(new g.RuleTagToken(t.tag,i,t.label))}}}else{let e=n;this._lexer.inputStream=a.CharStreams.fromString(e.text);let t=this._lexer.nextToken();for(;t.type!==_.Token.EOF;)r.push(t),t=this._lexer.nextToken()}return r}split(e){let t=0,r=e.length,n=[],i=[],o=[];for(;t<r;)t===e.indexOf(this.escape+this.start,t)?t+=this.escape.length+this.start.length:t===e.indexOf(this.escape+this.stop,t)?t+=this.escape.length+this.stop.length:t===e.indexOf(this.start,t)?(i.push(t),t+=this.start.length):t===e.indexOf(this.stop,t)?(o.push(t),t+=this.stop.length):t++;if(i.length>o.length)throw new Error("unterminated tag in pattern: "+e);if(i.length<o.length)throw new Error("missing start tag in pattern: "+e);let a=i.length;for(let t=0;t<a;t++)if(i[t]>=o[t])throw new Error("tag delimiters out of order in pattern: "+e);if(0===a){let t=e.substring(0,r);n.push(new E.TextChunk(t))}if(a>0&&i[0]>0){let t=e.substring(0,i[0]);n.push(new E.TextChunk(t))}for(let t=0;t<a;t++){let r,s=e.substring(i[t]+this.start.length,o[t]),l=s,u=s.indexOf(":");if(u>=0&&(r=s.substring(0,u),l=s.substring(u+1,s.length)),n.push(new b.TagChunk(l,r)),t+1<a){let r=e.substring(o[t]+this.stop.length,i[t+1]);n.push(new E.TextChunk(r))}}if(a>0){let t=o[a-1]+this.stop.length;if(t<r){let i=e.substring(t,r);n.push(new E.TextChunk(i))}}for(let e=0;e<n.length;e++){let t=n[e];if(t instanceof E.TextChunk){let r=t.text.replace(this.escapeRE,"");r.length<t.text.length&&(n[e]=new E.TextChunk(r))}}return n}}n([c.NotNull,i(1,c.NotNull)],x.prototype,"match",null),n([c.NotNull],x.prototype,"lexer",null),n([c.NotNull],x.prototype,"parser",null),n([i(0,c.NotNull),i(1,c.NotNull),i(2,c.NotNull)],x.prototype,"matchImpl",null),r.ParseTreePatternMatcher=x,function(e){e.CannotInvokeStartRule=class extends Error{constructor(e){super("CannotInvokeStartRule: "+e),this.error=e}},e.StartRuleDoesNotConsumeFullPattern=class extends Error{constructor(){super("StartRuleDoesNotConsumeFullPattern")}}}(x=r.ParseTreePatternMatcher||(r.ParseTreePatternMatcher={}))},{233:233,235:235,240:240,242:242,253:253,256:256,257:257,260:260,266:266,350:350,353:353,360:360,361:361,365:365,366:366,368:368,369:369,370:370,371:371}],256:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(275),a=e(276),s=e(343),l=e(246),u=e(247),c=e(249),d=e(306),p=e(242),f=e(242),h=e(255),m=e(310),y=e(260),v=e(328),g=e(266);let b=class e extends h.Parser{constructor(t,r,n,i,o){if(super(t instanceof e?t.inputStream:o),this._parentContextStack=[],this.overrideDecision=-1,this.overrideDecisionInputIndex=-1,this.overrideDecisionAlt=-1,this.overrideDecisionReached=!1,this._overrideDecisionRoot=void 0,t instanceof e){let e=t;this._grammarFileName=e._grammarFileName,this._atn=e._atn,this.pushRecursionContextStates=e.pushRecursionContextStates,this._ruleNames=e._ruleNames,this._vocabulary=e._vocabulary,this.interpreter=new m.ParserATNSimulator(this._atn,this)}else{this._grammarFileName=t,this._atn=i,this._ruleNames=n.slice(0),this._vocabulary=r,this.pushRecursionContextStates=new s.BitSet(i.states.length);for(let e of i.states)e instanceof v.StarLoopEntryState&&e.precedenceRuleDecision&&this.pushRecursionContextStates.set(e.stateNumber);this.interpreter=new m.ParserATNSimulator(i,this)}}reset(e){void 0===e?super.reset():super.reset(e),this.overrideDecisionReached=!1,this._overrideDecisionRoot=void 0}get atn(){return this._atn}get vocabulary(){return this._vocabulary}get ruleNames(){return this._ruleNames}get grammarFileName(){return this._grammarFileName}parse(e){let t=this._atn.ruleToStartState[e];for(this._rootContext=this.createInterpreterRuleContext(void 0,o.ATNState.INVALID_STATE_NUMBER,e),t.isPrecedenceRule?this.enterRecursionRule(this._rootContext,t.stateNumber,e,0):this.enterRule(this._rootContext,t.stateNumber,e);;){let e=this.atnState;if(e.stateType===a.ATNStateType.RULE_STOP){if(this._ctx.isEmpty){if(t.isPrecedenceRule){let e=this._ctx,t=this._parentContextStack.pop();return this.unrollRecursionContexts(t[0]),e}return this.exitRule(),this._rootContext}this.visitRuleStopState(e)}else try{this.visitState(e)}catch(t){if(!(t instanceof y.RecognitionException))throw t;this.state=this._atn.ruleToStopState[e.ruleIndex].stateNumber,this.context.exception=t,this.errorHandler.reportError(this,t),this.recover(t)}}}enterRecursionRule(e,t,r,n){this._parentContextStack.push([this._ctx,e.invokingState]),super.enterRecursionRule(e,t,r,n)}get atnState(){return this._atn.states[this.state]}visitState(e){let t=1;e.numberOfTransitions>1&&(t=this.visitDecisionState(e));let r=e.transition(t-1);switch(r.serializationType){case 1:if(this.pushRecursionContextStates.get(e.stateNumber)&&!(r.target instanceof d.LoopEndState)){let t=this._parentContextStack[this._parentContextStack.length-1],r=this.createInterpreterRuleContext(t[0],t[1],this._ctx.ruleIndex);this.pushNewRecursionContext(r,this._atn.ruleToStartState[e.ruleIndex].stateNumber,this._ctx.ruleIndex)}break;case 5:this.match(r._label);break;case 2:case 7:case 8:r.matches(this._input.LA(1),g.Token.MIN_USER_TOKEN_TYPE,65535)||this.recoverInline(),this.matchWildcard();break;case 9:this.matchWildcard();break;case 3:let t=r.target,n=t.ruleIndex,i=this.createInterpreterRuleContext(this._ctx,e.stateNumber,n);t.isPrecedenceRule?this.enterRecursionRule(i,t.stateNumber,n,r.precedence):this.enterRule(i,r.target.stateNumber,n);break;case 4:let o=r;if(!this.sempred(this._ctx,o.ruleIndex,o.predIndex))throw new l.FailedPredicateException(this);break;case 6:let a=r;this.action(this._ctx,a.ruleIndex,a.actionIndex);break;case 10:if(!this.precpred(this._ctx,r.precedence)){let e=r.precedence;throw new l.FailedPredicateException(this,`precpred(_ctx, ${e})`)}break;default:throw new Error("UnsupportedOperationException: Unrecognized ATN transition type.")}this.state=r.target.stateNumber}visitDecisionState(e){let t;this.errorHandler.sync(this);let r=e.decision;return r!==this.overrideDecision||this._input.index!==this.overrideDecisionInputIndex||this.overrideDecisionReached?t=this.interpreter.adaptivePredict(this._input,r,this._ctx):(t=this.overrideDecisionAlt,this.overrideDecisionReached=!0),t}createInterpreterRuleContext(e,t,r){return new c.InterpreterRuleContext(r,e,t)}visitRuleStopState(e){if(this._atn.ruleToStartState[e.ruleIndex].isPrecedenceRule){let e=this._parentContextStack.pop();this.unrollRecursionContexts(e[0]),this.state=e[1]}else this.exitRule();let t=this._atn.states[this.state].transition(0);this.state=t.followState.stateNumber}addDecisionOverride(e,t,r){this.overrideDecision=e,this.overrideDecisionInputIndex=t,this.overrideDecisionAlt=r}get overrideDecisionRoot(){return this._overrideDecisionRoot}recover(e){let t=this._input.index;if(this.errorHandler.recover(this,e),this._input.index===t){let t=e.getOffendingToken();if(!t)throw new Error("Expected exception to have an offending token");let r=t.tokenSource,n={source:r,stream:void 0!==r?r.inputStream:void 0};if(e instanceof u.InputMismatchException){let r=e.expectedTokens;if(void 0===r)throw new Error("Expected the exception to provide expected tokens");let i=g.Token.INVALID_TYPE;r.isNil||(i=r.minElement);let o=this.tokenFactory.create(n,i,t.text,g.Token.DEFAULT_CHANNEL,-1,-1,t.line,t.charPositionInLine);this._ctx.addErrorNode(this.createErrorNode(this._ctx,o))}else{t.tokenSource;let e=this.tokenFactory.create(n,g.Token.INVALID_TYPE,t.text,g.Token.DEFAULT_CHANNEL,-1,-1,t.line,t.charPositionInLine);this._ctx.addErrorNode(this.createErrorNode(this._ctx,e))}}}recoverInline(){return this._errHandler.recoverInline(this)}get rootContext(){return this._rootContext}};n([p.NotNull],b.prototype,"_vocabulary",void 0),n([f.Override],b.prototype,"reset",null),n([f.Override],b.prototype,"atn",null),n([f.Override],b.prototype,"vocabulary",null),n([f.Override],b.prototype,"ruleNames",null),n([f.Override],b.prototype,"grammarFileName",null),n([f.Override],b.prototype,"enterRecursionRule",null),b=n([i(1,p.NotNull)],b),r.ParserInterpreter=b},{242:242,246:246,247:247,249:249,255:255,260:260,266:266,275:275,276:276,306:306,310:310,328:328,343:343}],306:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(275),o=e(276);class a extends i.ATNState{get stateType(){return o.ATNStateType.LOOP_END}}n([e(242).Override],a.prototype,"stateType",null),r.LoopEndState=a},{242:242,275:275,276:276}],328:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(276),o=e(343),a=e(289);class s extends a.DecisionState{constructor(){super(...arguments),this.precedenceRuleDecision=!1,this.precedenceLoopbackStates=new o.BitSet}get stateType(){return i.ATNStateType.STAR_LOOP_ENTRY}}n([e(242).Override],s.prototype,"stateType",null),r.StarLoopEntryState=s},{242:242,276:276,289:289,343:343}],262:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(269),o=e(261),a=e(360),s=e(348),l=e(242),u=e(362),c=e(257);class d extends a.RuleNode{constructor(e,t){super(),this._parent=e,this.invokingState=null!=t?t:-1}static getChildContext(e,t){return new d(e,t)}depth(){let e=0,t=this;for(;t;)t=t._parent,e++;return e}get isEmpty(){return-1===this.invokingState}get sourceInterval(){return s.Interval.INVALID}get ruleContext(){return this}get parent(){return this._parent}setParent(e){this._parent=e}get payload(){return this}get text(){if(0===this.childCount)return"";let e="";for(let t=0;t<this.childCount;t++)e+=this.getChild(t).text;return e.toString()}get ruleIndex(){return-1}get altNumber(){return i.ATN.INVALID_ALT_NUMBER}set altNumber(e){}getChild(e){throw new RangeError("i must be greater than or equal to 0 and less than childCount")}get childCount(){return 0}accept(e){return e.visitChildren(this)}toStringTree(e){return u.Trees.toStringTree(this,e)}toString(e,t){const r=e instanceof o.Recognizer?e.ruleNames:e;t=t||c.ParserRuleContext.emptyContext();let n="",i=this;for(n+="[";i&&i!==t;){if(r){let e=i.ruleIndex;n+=e>=0&&e<r.length?r[e]:e.toString()}else i.isEmpty||(n+=i.invokingState);!i._parent||!r&&i._parent.isEmpty||(n+=" "),i=i._parent}return(n+="]").toString()}}n([l.Override],d.prototype,"sourceInterval",null),n([l.Override],d.prototype,"ruleContext",null),n([l.Override],d.prototype,"parent",null),n([l.Override],d.prototype,"setParent",null),n([l.Override],d.prototype,"payload",null),n([l.Override],d.prototype,"text",null),n([l.Override],d.prototype,"getChild",null),n([l.Override],d.prototype,"childCount",null),n([l.Override],d.prototype,"accept",null),n([l.Override],d.prototype,"toStringTree",null),r.RuleContext=d},{242:242,257:257,261:261,269:269,348:348,360:360,362:362}],258:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242);class a{constructor(e){if(this.delegates=e,!e)throw new Error("Invalid delegates")}getDelegates(){return this.delegates}syntaxError(e,t,r,n,i,o){this.delegates.forEach((a=>{a.syntaxError&&a.syntaxError(e,t,r,n,i,o)}))}}n([o.Override,i(0,o.NotNull),i(4,o.NotNull)],a.prototype,"syntaxError",null),r.ProxyErrorListener=a},{242:242}],360:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RuleNode=class{}},{}],362:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(269),a=e(238),s=e(357),l=e(242),u=e(255),c=e(257),d=e(360),p=e(361),f=e(266),h=e(355);class m{static toStringTree(e,t){let r;r=t instanceof u.Parser?t.ruleNames:t;let n=h.escapeWhitespace(this.getNodeText(e,r),!1);if(0===e.childCount)return n;let i="";i+="(",i+=n=h.escapeWhitespace(this.getNodeText(e,r),!1),i+=" ";for(let t=0;t<e.childCount;t++)t>0&&(i+=" "),i+=this.toStringTree(e.getChild(t),r);return i+")"}static getNodeText(e,t){let r;if(t instanceof u.Parser)r=t.ruleNames;else{if(!t){let t=e.payload;return"string"==typeof t.text?t.text:e.payload.toString()}r=t}if(e instanceof d.RuleNode){let t=e.ruleContext,n=r[t.ruleIndex],i=t.altNumber;return i!==o.ATN.INVALID_ALT_NUMBER?n+":"+i:n}if(e instanceof s.ErrorNode)return e.toString();if(e instanceof p.TerminalNode)return e.symbol.text||"";throw new TypeError("Unexpected node type")}static getChildren(e){let t=[];for(let r=0;r<e.childCount;r++)t.push(e.getChild(r));return t}static getAncestors(e){let t=[],r=e.parent;for(;r;)t.unshift(r),r=r.parent;return t}static isAncestorOf(e,t){if(!e||!t||!e.parent)return!1;let r=t.parent;for(;r;){if(e===r)return!0;r=r.parent}return!1}static findAllTokenNodes(e,t){return m.findAllNodes(e,t,!0)}static findAllRuleNodes(e,t){return m.findAllNodes(e,t,!1)}static findAllNodes(e,t,r){let n=[];return m._findAllNodes(e,t,r,n),n}static _findAllNodes(e,t,r,n){r&&e instanceof p.TerminalNode?e.symbol.type===t&&n.push(e):!r&&e instanceof c.ParserRuleContext&&e.ruleIndex===t&&n.push(e);for(let i=0;i<e.childCount;i++)m._findAllNodes(e.getChild(i),t,r,n)}static getDescendants(e){let t=[];return function e(r){t.push(r);const n=r.childCount;for(let t=0;t<n;t++)e(r.getChild(t))}(e),t}static getRootOfSubtreeEnclosingRegion(e,t,r){let n=e.childCount;for(let i=0;i<n;i++){let n=e.getChild(i),o=m.getRootOfSubtreeEnclosingRegion(n,t,r);if(o)return o}if(e instanceof c.ParserRuleContext){let n=e.stop;if(t>=e.start.tokenIndex&&(null==n||r<=n.tokenIndex))return e}}static stripChildrenOutOfRange(e,t,r,n){if(!e)return;let i=e.childCount;for(let o=0;o<i;o++){let i=e.getChild(o),s=i.sourceInterval;if(i instanceof c.ParserRuleContext&&(s.b<r||s.a>n)&&m.isAncestorOf(i,t)){let t=new a.CommonToken(f.Token.INVALID_TYPE,"...");e.children[o]=new p.TerminalNode(t)}}}static findNodeSuchThat(e,t){if(t(e))return e;let r=e.childCount;for(let n=0;n<r;n++){let r=m.findNodeSuchThat(e.getChild(n),t);if(void 0!==r)return r}}}n([i(0,l.NotNull)],m,"toStringTree",null),n([l.NotNull,i(0,l.NotNull)],m,"getAncestors",null),n([i(0,l.NotNull)],m,"getRootOfSubtreeEnclosingRegion",null),r.Trees=m},{238:238,242:242,255:255,257:257,266:266,269:269,355:355,357:357,360:360,361:361}],263:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(269),o=e(242),a=e(257);class s extends a.ParserRuleContext{constructor(e,t){void 0!==t?super(e,t):super(),this._altNumber=i.ATN.INVALID_ALT_NUMBER}get altNumber(){return this._altNumber}set altNumber(e){this._altNumber=e}}n([o.Override],s.prototype,"altNumber",null),r.RuleContextWithAltNum=s},{242:242,257:257,269:269}],264:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RuleDependency=function(e){return(e,t,r)=>{}}},{}],265:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.RuleVersion=function(e){return(e,t,r)=>{}}},{}],267:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(348),o=e(242),a=e(266);class s{constructor(e){this.tokens=e,this.programs=new Map,this.programs.set(s.DEFAULT_PROGRAM_NAME,[]),this.lastRewriteTokenIndexes=new Map}getTokenStream(){return this.tokens}rollback(e,t=s.DEFAULT_PROGRAM_NAME){let r=this.programs.get(t);null!=r&&this.programs.set(t,r.slice(s.MIN_TOKEN_INDEX,e))}deleteProgram(e=s.DEFAULT_PROGRAM_NAME){this.rollback(s.MIN_TOKEN_INDEX,e)}insertAfter(e,t,r=s.DEFAULT_PROGRAM_NAME){let n;n="number"==typeof e?e:e.tokenIndex;let i=new c(this.tokens,n,t),o=this.getProgram(r);i.instructionIndex=o.length,o.push(i)}insertBefore(e,t,r=s.DEFAULT_PROGRAM_NAME){let n;n="number"==typeof e?e:e.tokenIndex;let i=new u(this.tokens,n,t),o=this.getProgram(r);i.instructionIndex=o.length,o.push(i)}replaceSingle(e,t){this.replace(e,e,t)}replace(e,t,r,n=s.DEFAULT_PROGRAM_NAME){if("number"!=typeof e&&(e=e.tokenIndex),"number"!=typeof t&&(t=t.tokenIndex),e>t||e<0||t<0||t>=this.tokens.size)throw new RangeError(`replace: range invalid: ${e}..${t}(size=${this.tokens.size})`);let i=new d(this.tokens,e,t,r),o=this.getProgram(n);i.instructionIndex=o.length,o.push(i)}delete(e,t,r=s.DEFAULT_PROGRAM_NAME){void 0===t&&(t=e),this.replace(e,t,"",r)}getLastRewriteTokenIndex(e=s.DEFAULT_PROGRAM_NAME){let t=this.lastRewriteTokenIndexes.get(e);return null==t?-1:t}setLastRewriteTokenIndex(e,t){this.lastRewriteTokenIndexes.set(e,t)}getProgram(e){let t=this.programs.get(e);return null==t&&(t=this.initializeProgram(e)),t}initializeProgram(e){let t=[];return this.programs.set(e,t),t}getText(e,t=s.DEFAULT_PROGRAM_NAME){let r;r=e instanceof i.Interval?e:i.Interval.of(0,this.tokens.size-1),"string"==typeof e&&(t=e);let n=this.programs.get(t),o=r.a,l=r.b;if(l>this.tokens.size-1&&(l=this.tokens.size-1),o<0&&(o=0),null==n||0===n.length)return this.tokens.getText(r);let u=[],c=this.reduceToSingleOperationPerIndex(n),d=o;for(;d<=l&&d<this.tokens.size;){let e=c.get(d);c.delete(d);let t=this.tokens.get(d);null==e?(t.type!==a.Token.EOF&&u.push(String(t.text)),d++):d=e.execute(u)}if(l===this.tokens.size-1)for(let e of c.values())e.index>=this.tokens.size-1&&u.push(e.text.toString());return u.join("")}reduceToSingleOperationPerIndex(e){for(let t=0;t<e.length;t++){let r=e[t];if(null==r)continue;if(!(r instanceof d))continue;let n=r,i=this.getKindOfOps(e,u,t);for(let t of i)t.index===n.index?(e[t.instructionIndex]=void 0,n.text=t.text.toString()+(null!=n.text?n.text.toString():"")):t.index>n.index&&t.index<=n.lastIndex&&(e[t.instructionIndex]=void 0);let o=this.getKindOfOps(e,d,t);for(let t of o){if(t.index>=n.index&&t.lastIndex<=n.lastIndex){e[t.instructionIndex]=void 0;continue}let r=t.lastIndex<n.index||t.index>n.lastIndex;if(null!=t.text||null!=n.text||r){if(!r)throw new Error(`replace op boundaries of ${n} overlap with previous ${t}`)}else e[t.instructionIndex]=void 0,n.index=Math.min(t.index,n.index),n.lastIndex=Math.max(t.lastIndex,n.lastIndex)}}for(let t=0;t<e.length;t++){let r=e[t];if(null==r)continue;if(!(r instanceof u))continue;let n=r,i=this.getKindOfOps(e,u,t);for(let t of i)t.index===n.index&&(t instanceof c?(n.text=this.catOpText(t.text,n.text),e[t.instructionIndex]=void 0):t instanceof u&&(n.text=this.catOpText(n.text,t.text),e[t.instructionIndex]=void 0));let o=this.getKindOfOps(e,d,t);for(let r of o)if(n.index!==r.index){if(n.index>=r.index&&n.index<=r.lastIndex)throw new Error(`insert op ${n} within boundaries of previous ${r}`)}else r.text=this.catOpText(n.text,r.text),e[t]=void 0}let t=new Map;for(let r of e)if(null!=r){if(null!=t.get(r.index))throw new Error("should only be one op per index");t.set(r.index,r)}return t}catOpText(e,t){let r="",n="";return null!=e&&(r=e.toString()),null!=t&&(n=t.toString()),r+n}getKindOfOps(e,t,r){let n=[];for(let i=0;i<r&&i<e.length;i++){let r=e[i];null!=r&&r instanceof t&&n.push(r)}return n}}s.DEFAULT_PROGRAM_NAME="default",s.PROGRAM_INIT_SIZE=100,s.MIN_TOKEN_INDEX=0,r.TokenStreamRewriter=s;class l{constructor(e,t,r){this.tokens=e,this.index=t,this.text=void 0===r?"":r}execute(e){return this.index}toString(){let e=this.constructor.name,t=e.indexOf("$");return"<"+(e=e.substring(t+1,e.length))+"@"+this.tokens.get(this.index)+':"'+this.text+'">'}}n([o.Override],l.prototype,"toString",null),r.RewriteOperation=l;class u extends l{constructor(e,t,r){super(e,t,r)}execute(e){return e.push(this.text.toString()),this.tokens.get(this.index).type!==a.Token.EOF&&e.push(String(this.tokens.get(this.index).text)),this.index+1}}n([o.Override],u.prototype,"execute",null);class c extends u{constructor(e,t,r){super(e,t+1,r)}}class d extends l{constructor(e,t,r,n){super(e,t,n),this.lastIndex=r}execute(e){return null!=this.text&&e.push(this.text.toString()),this.lastIndex+1}toString(){return null==this.text?"<DeleteOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+">":"<ReplaceOp@"+this.tokens.get(this.index)+".."+this.tokens.get(this.lastIndex)+':"'+this.text+'">'}}n([o.Override],d.prototype,"execute",null),n([o.Override],d.prototype,"toString",null)},{242:242,266:266,348:348}],339:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(340);class i{constructor(e){this.keyComparator=e}hashCode(e){return this.keyComparator.hashCode(e.key)}equals(e,t){return this.keyComparator.equals(e.key,t.key)}}class o{constructor(e){this.backingStore=e instanceof o?new n.Array2DHashSet(e.backingStore):new n.Array2DHashSet(new i(e))}clear(){this.backingStore.clear()}containsKey(e){return this.backingStore.contains({key:e})}get(e){let t=this.backingStore.get({key:e});if(t)return t.value}get isEmpty(){return this.backingStore.isEmpty}put(e,t){let r,n=this.backingStore.get({key:e,value:t});return n?(r=n.value,n.value=t):this.backingStore.add({key:e,value:t}),r}putIfAbsent(e,t){let r,n=this.backingStore.get({key:e,value:t});return n?r=n.value:this.backingStore.add({key:e,value:t}),r}get size(){return this.backingStore.size}hashCode(){return this.backingStore.hashCode()}equals(e){return e instanceof o&&this.backingStore.equals(e.backingStore)}}r.Array2DHashMap=o},{340:340}],334:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(340),a=e(271),s=e(335),l=e(336),u=e(337),c=e(242),d=e(352),p=e(328),f=e(268);let h=class{constructor(e,t=0){if(this.states=new o.Array2DHashSet(d.ObjectEqualityComparator.INSTANCE),this.nextStateNumber=0,!e.atn)throw new Error("The ATNState must be associated with an ATN");this.atnStartState=e,this.atn=e.atn,this.decision=t;let r=!1;e instanceof p.StarLoopEntryState&&e.precedenceRuleDecision&&(r=!0,this.s0=new l.DFAState(new a.ATNConfigSet),this.s0full=new l.DFAState(new a.ATNConfigSet)),this.precedenceDfa=r}get isPrecedenceDfa(){return this.precedenceDfa}getPrecedenceStartState(e,t){if(!this.isPrecedenceDfa)throw new Error("Only precedence DFAs may contain a precedence start state.");return t?this.s0full.getTarget(e):this.s0.getTarget(e)}setPrecedenceStartState(e,t,r){if(!this.isPrecedenceDfa)throw new Error("Only precedence DFAs may contain a precedence start state.");e<0||(t?this.s0full.setTarget(e,r):this.s0.setTarget(e,r))}get isEmpty(){return this.isPrecedenceDfa?0===this.s0.getEdgeMap().size&&0===this.s0full.getEdgeMap().size:null==this.s0&&null==this.s0full}get isContextSensitive(){return this.isPrecedenceDfa?this.s0full.getEdgeMap().size>0:null!=this.s0full}addState(e){return e.stateNumber=this.nextStateNumber++,this.states.getOrAdd(e)}toString(e,t){return e||(e=f.VocabularyImpl.EMPTY_VOCABULARY),this.s0?(t?new s.DFASerializer(this,e,t,this.atnStartState.atn):new s.DFASerializer(this,e)).toString():""}toLexerString(){return this.s0?new u.LexerDFASerializer(this).toString():""}};n([c.NotNull],h.prototype,"states",void 0),n([c.NotNull],h.prototype,"atnStartState",void 0),n([c.NotNull],h.prototype,"atn",void 0),h=n([i(0,c.NotNull)],h),r.DFA=h},{242:242,268:268,271:271,328:328,335:335,336:336,337:337,340:340,352:352}],292:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(276),o=e(282);class a extends o.BasicState{get stateType(){return i.ATNStateType.INVALID_TYPE}}n([e(242).Override],a.prototype,"stateType",null),r.InvalidState=a},{242:242,276:276,282:282}],352:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242);class o{hashCode(e){return null==e?0:e.hashCode()}equals(e,t){return null==e?null==t:e.equals(t)}}o.INSTANCE=new o,n([i.Override],o.prototype,"hashCode",null),n([i.Override],o.prototype,"equals",null),r.ObjectEqualityComparator=o},{242:242}],293:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(277),a=e(340),s=e(270),l=e(343),u=e(349),c=e(242),d=e(307),p=e(352),f=e(316),h=e(322),m=e(323),y=e(266),v=e(332);let g=class e{constructor(e){this.atn=e}getDecisionLookahead(t){if(null==t)return;let r=new Array(t.numberOfTransitions);for(let n=0;n<t.numberOfTransitions;n++){let i=new u.IntervalSet;r[n]=i;let o=new a.Array2DHashSet(p.ObjectEqualityComparator.INSTANCE),s=!1;this._LOOK(t.transition(n).target,void 0,f.PredictionContext.EMPTY_LOCAL,i,o,new l.BitSet,s,!1),(0===i.size||i.contains(e.HIT_PRED))&&(i=void 0,r[n]=i)}return r}LOOK(e,t,r){if(void 0===r){if(null==e.atn)throw new Error("Illegal state");r=e.atn.ruleToStopState[e.ruleIndex]}else null===r&&(r=void 0);let n=new u.IntervalSet;return this._LOOK(e,r,t,n,new a.Array2DHashSet,new l.BitSet,!0,!0),n}_LOOK(t,r,n,i,a,l,c,p){let g=s.ATNConfig.create(t,0,n);if(!a.add(g))return;if(t===r){if(f.PredictionContext.isEmptyLocal(n))return void i.add(y.Token.EPSILON);if(n.isEmpty)return void(p&&i.add(y.Token.EOF))}if(t instanceof h.RuleStopState){if(n.isEmpty&&!f.PredictionContext.isEmptyLocal(n))return void(p&&i.add(y.Token.EOF));let e=l.get(t.ruleIndex);try{l.clear(t.ruleIndex);for(let e=0;e<n.size;e++){if(n.getReturnState(e)===f.PredictionContext.EMPTY_FULL_STATE_KEY)continue;let t=this.atn.states[n.getReturnState(e)];this._LOOK(t,r,n.getParent(e),i,a,l,c,p)}}finally{e&&l.set(t.ruleIndex)}}let b=t.numberOfTransitions;for(let s=0;s<b;s++){let f=t.transition(s);if(f instanceof m.RuleTransition){if(l.get(f.ruleIndex))continue;let e=n.getChild(f.followState.stateNumber);try{l.set(f.ruleIndex),this._LOOK(f.target,r,e,i,a,l,c,p)}finally{l.clear(f.ruleIndex)}}else if(f instanceof o.AbstractPredicateTransition)c?this._LOOK(f.target,r,n,i,a,l,c,p):i.add(e.HIT_PRED);else if(f.isEpsilon)this._LOOK(f.target,r,n,i,a,l,c,p);else if(f instanceof v.WildcardTransition)i.addAll(u.IntervalSet.of(y.Token.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType));else{let e=f.label;null!=e&&(f instanceof d.NotSetTransition&&(e=e.complement(u.IntervalSet.of(y.Token.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType))),i.addAll(e))}}}};g.HIT_PRED=y.Token.INVALID_TYPE,n([c.NotNull],g.prototype,"atn",void 0),n([c.NotNull,i(0,c.NotNull),i(1,c.NotNull)],g.prototype,"LOOK",null),n([i(0,c.NotNull),i(2,c.NotNull),i(3,c.NotNull),i(4,c.NotNull),i(5,c.NotNull)],g.prototype,"_LOOK",null),g=n([i(0,c.NotNull)],g),r.LL1Analyzer=g},{242:242,266:266,270:270,277:277,307:307,316:316,322:322,323:323,332:332,340:340,343:343,349:349,352:352}],270:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(339),a=e(289),s=e(351),l=e(242),u=e(352),c=e(316),d=e(324);let p=class e{constructor(e,t,r){"number"==typeof t?(this._state=e,this.altAndOuterContextDepth=t,this._context=r):(this._state=e,this.altAndOuterContextDepth=t.altAndOuterContextDepth,this._context=r)}static create(t,r,n,i=d.SemanticContext.NONE,o){return i!==d.SemanticContext.NONE?null!=o?new m(o,i,t,r,n,!1):new f(i,t,r,n):null!=o?new h(o,t,r,n,!1):new e(t,r,n)}get state(){return this._state}get alt(){return 16777215&this.altAndOuterContextDepth}get context(){return this._context}set context(e){this._context=e}get reachesIntoOuterContext(){return 0!==this.outerContextDepth}get outerContextDepth(){return this.altAndOuterContextDepth>>>24&127}set outerContextDepth(e){e=Math.min(e,127),this.altAndOuterContextDepth=e<<24|(-2130706433&this.altAndOuterContextDepth)>>>0}get lexerActionExecutor(){}get semanticContext(){return d.SemanticContext.NONE}get hasPassedThroughNonGreedyDecision(){return!1}clone(){return this.transform(this.state,!1)}transform(e,t,r){return null==r?this.transformImpl(e,this._context,this.semanticContext,t,this.lexerActionExecutor):r instanceof c.PredictionContext?this.transformImpl(e,r,this.semanticContext,t,this.lexerActionExecutor):r instanceof d.SemanticContext?this.transformImpl(e,this._context,r,t,this.lexerActionExecutor):this.transformImpl(e,this._context,this.semanticContext,t,r)}transformImpl(t,r,n,i,o){let a=i&&e.checkNonGreedyDecision(this,t);return n!==d.SemanticContext.NONE?null!=o||a?new m(o,n,t,this,r,a):new f(n,t,this,r):null!=o||a?new h(o,t,this,r,a):new e(t,this,r)}static checkNonGreedyDecision(e,t){return e.hasPassedThroughNonGreedyDecision||t instanceof a.DecisionState&&t.nonGreedy}appendContext(e,t){if("number"==typeof e){let r=this.context.appendSingleContext(e,t);return this.transform(this.state,!1,r)}{let r=this.context.appendContext(e,t);return this.transform(this.state,!1,r)}}contains(e){if(this.state.stateNumber!==e.state.stateNumber||this.alt!==e.alt||!this.semanticContext.equals(e.semanticContext))return!1;let t=[],r=[];for(t.push(this.context),r.push(e.context);;){let e=t.pop(),n=r.pop();if(!e||!n)break;if(e===n)return!0;if(e.size<n.size)return!1;if(n.isEmpty)return e.hasEmpty;for(let i=0;i<n.size;i++){let o=e.findReturnState(n.getReturnState(i));if(o<0)return!1;t.push(e.getParent(o)),r.push(n.getParent(i))}}return!1}get isPrecedenceFilterSuppressed(){return!!(2147483648&this.altAndOuterContextDepth)}set isPrecedenceFilterSuppressed(e){e?this.altAndOuterContextDepth|=2147483648:this.altAndOuterContextDepth&=2147483647}equals(t){return this===t||t instanceof e&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.reachesIntoOuterContext===t.reachesIntoOuterContext&&this.context.equals(t.context)&&this.semanticContext.equals(t.semanticContext)&&this.isPrecedenceFilterSuppressed===t.isPrecedenceFilterSuppressed&&this.hasPassedThroughNonGreedyDecision===t.hasPassedThroughNonGreedyDecision&&u.ObjectEqualityComparator.INSTANCE.equals(this.lexerActionExecutor,t.lexerActionExecutor)}hashCode(){let e=s.MurmurHash.initialize(7);return e=s.MurmurHash.update(e,this.state.stateNumber),e=s.MurmurHash.update(e,this.alt),e=s.MurmurHash.update(e,this.reachesIntoOuterContext?1:0),e=s.MurmurHash.update(e,this.context),e=s.MurmurHash.update(e,this.semanticContext),e=s.MurmurHash.update(e,this.hasPassedThroughNonGreedyDecision?1:0),e=s.MurmurHash.update(e,this.lexerActionExecutor),s.MurmurHash.finish(e,7)}toDotString(){let e="";e+="digraph G {\n",e+="rankdir=LR;\n";let t=new o.Array2DHashMap(c.PredictionContext.IdentityEqualityComparator.INSTANCE),r=[];function n(e){let n=t.size,i=t.putIfAbsent(e,n);return null!=i?i:(r.push(e),n)}for(r.push(this.context),t.put(this.context,0);;){let t=r.pop();if(!t)break;for(let r=0;r<t.size;r++)e+=" s"+n(t),e+="->",e+="s"+n(t.getParent(r)),e+='[label="'+t.getReturnState(r)+'"];\n'}return(e+="}\n").toString()}toString(e,t,r){null==r&&(r=null!=t),null==t&&(t=!0);let n,i="";n=r?this.context.toStrings(e,this.state.stateNumber):["?"];let o=!0;for(let e of n)o?o=!1:i+=", ",i+="(",i+=this.state,t&&(i+=",",i+=this.alt),this.context&&(i+=",",i+=e),this.semanticContext!==d.SemanticContext.NONE&&(i+=",",i+=this.semanticContext),this.reachesIntoOuterContext&&(i+=",up="+this.outerContextDepth),i+=")";return i.toString()}};n([l.NotNull],p.prototype,"_state",void 0),n([l.NotNull],p.prototype,"_context",void 0),n([l.NotNull],p.prototype,"state",null),n([l.NotNull,i(0,l.NotNull)],p.prototype,"context",null),n([l.NotNull],p.prototype,"semanticContext",null),n([l.Override],p.prototype,"clone",null),n([i(0,l.NotNull),i(2,l.NotNull)],p.prototype,"transformImpl",null),n([l.Override],p.prototype,"equals",null),n([l.Override],p.prototype,"hashCode",null),n([i(0,l.NotNull),i(3,l.NotNull)],p,"create",null),p=n([i(0,l.NotNull),i(2,l.NotNull)],p),r.ATNConfig=p;let f=class extends p{constructor(e,t,r,n){super(t,r,n),this._semanticContext=e}get semanticContext(){return this._semanticContext}};n([l.NotNull],f.prototype,"_semanticContext",void 0),n([l.Override],f.prototype,"semanticContext",null),f=n([i(1,l.NotNull),i(2,l.NotNull)],f);let h=class extends p{constructor(e,t,r,n,i){if("number"==typeof r)super(t,r,n);else if(super(t,r,n),r.semanticContext!==d.SemanticContext.NONE)throw new Error("Not supported");this._lexerActionExecutor=e,this.passedThroughNonGreedyDecision=i}get lexerActionExecutor(){return this._lexerActionExecutor}get hasPassedThroughNonGreedyDecision(){return this.passedThroughNonGreedyDecision}};n([l.Override],h.prototype,"lexerActionExecutor",null),n([l.Override],h.prototype,"hasPassedThroughNonGreedyDecision",null),h=n([i(1,l.NotNull),i(2,l.NotNull)],h);let m=class extends f{constructor(e,t,r,n,i,o){super(t,r,n,i),this._lexerActionExecutor=e,this.passedThroughNonGreedyDecision=o}get lexerActionExecutor(){return this._lexerActionExecutor}get hasPassedThroughNonGreedyDecision(){return this.passedThroughNonGreedyDecision}};n([l.Override],m.prototype,"lexerActionExecutor",null),n([l.Override],m.prototype,"hasPassedThroughNonGreedyDecision",null),m=n([i(1,l.NotNull),i(2,l.NotNull)],m)},{242:242,289:289,316:316,324:324,339:339,351:351,352:352}],351:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),function(e){function t(e=0){return e}function r(e,t){null==t?t=0:"string"==typeof t?t=function(e){let t=e.length;if(0===t)return 0;let r=0;for(let n=0;n<t;n++)r=(r<<5>>>0)-r+e.charCodeAt(n),r|=0;return r}(t):"object"==typeof t&&(t=t.hashCode());let r=t;return r=(r=Math.imul(r,3432918353))<<15|r>>>17,e=(e^=r=Math.imul(r,461845907))<<13|e>>>19,4294967295&Math.imul(e,5)+3864292196}function n(e,t){return e^=4*t,e^=e>>>16,e=Math.imul(e,2246822507),e^=e>>>13,(e=Math.imul(e,3266489909))^e>>>16}e.initialize=t,e.update=r,e.finish=n,e.hashCode=function(e,i=0){let o=t(i),a=0;for(let t of e)o=r(o,t),a++;return n(o,a)}}(r.MurmurHash||(r.MurmurHash={}))},{}],324:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(340),a=e(341),s=e(351),l=e(242),u=e(352),c=e(355);class d{static get NONE(){return void 0===d._NONE&&(d._NONE=new d.Predicate),d._NONE}evalPrecedence(e,t){return this}static and(e,t){if(!e||e===d.NONE)return t;if(t===d.NONE)return e;let r=new d.AND(e,t);return 1===r.opnds.length?r.opnds[0]:r}static or(e,t){if(!e)return t;if(e===d.NONE||t===d.NONE)return d.NONE;let r=new d.OR(e,t);return 1===r.opnds.length?r.opnds[0]:r}}r.SemanticContext=d,function(e){function t(t){let r=[];for(let n=0;n<t.length;n++){let i=t[n];i instanceof e.PrecedencePredicate&&(r.push(i),t.splice(n,1),n--)}return r}class r extends e{constructor(e=-1,t=-1,r=!1){super(),this.ruleIndex=e,this.predIndex=t,this.isCtxDependent=r}eval(e,t){let r=this.isCtxDependent?t:void 0;return e.sempred(r,this.ruleIndex,this.predIndex)}hashCode(){let e=s.MurmurHash.initialize();return e=s.MurmurHash.update(e,this.ruleIndex),e=s.MurmurHash.update(e,this.predIndex),e=s.MurmurHash.update(e,this.isCtxDependent?1:0),s.MurmurHash.finish(e,3)}equals(e){return e instanceof r&&(this===e||this.ruleIndex===e.ruleIndex&&this.predIndex===e.predIndex&&this.isCtxDependent===e.isCtxDependent)}toString(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"}}n([l.Override],r.prototype,"eval",null),n([l.Override],r.prototype,"hashCode",null),n([l.Override],r.prototype,"equals",null),n([l.Override],r.prototype,"toString",null),e.Predicate=r;class d extends e{constructor(e){super(),this.precedence=e}eval(e,t){return e.precpred(t,this.precedence)}evalPrecedence(t,r){return t.precpred(r,this.precedence)?e.NONE:void 0}compareTo(e){return this.precedence-e.precedence}hashCode(){return 31+this.precedence}equals(e){return e instanceof d&&(this===e||this.precedence===e.precedence)}toString(){return"{"+this.precedence+">=prec}?"}}n([l.Override],d.prototype,"eval",null),n([l.Override],d.prototype,"evalPrecedence",null),n([l.Override],d.prototype,"compareTo",null),n([l.Override],d.prototype,"hashCode",null),n([l.Override],d.prototype,"equals",null),n([l.Override],d.prototype,"toString",null),e.PrecedencePredicate=d;class p extends e{}e.Operator=p;let f=class r extends p{constructor(e,n){super();let i=new o.Array2DHashSet(u.ObjectEqualityComparator.INSTANCE);e instanceof r?i.addAll(e.opnds):i.add(e),n instanceof r?i.addAll(n.opnds):i.add(n),this.opnds=i.toArray();let a=function(e){let t;for(let r of e)void 0!==t?t.compareTo(r)>0&&(t=r):t=r;return t}(t(this.opnds));a&&this.opnds.push(a)}get operands(){return this.opnds}equals(e){return this===e||e instanceof r&&a.ArrayEqualityComparator.INSTANCE.equals(this.opnds,e.opnds)}hashCode(){return s.MurmurHash.hashCode(this.opnds,40363613)}eval(e,t){for(let r of this.opnds)if(!r.eval(e,t))return!1;return!0}evalPrecedence(t,r){let n=!1,i=[];for(let o of this.opnds){let a=o.evalPrecedence(t,r);if(n=n||a!==o,null==a)return;a!==e.NONE&&i.push(a)}if(!n)return this;if(0===i.length)return e.NONE;let o=i[0];for(let t=1;t<i.length;t++)o=e.and(o,i[t]);return o}toString(){return c.join(this.opnds,"&&")}};n([l.Override],f.prototype,"operands",null),n([l.Override],f.prototype,"equals",null),n([l.Override],f.prototype,"hashCode",null),n([l.Override],f.prototype,"eval",null),n([l.Override],f.prototype,"evalPrecedence",null),n([l.Override],f.prototype,"toString",null),f=n([i(0,l.NotNull),i(1,l.NotNull)],f),e.AND=f;let h=class r extends p{constructor(e,n){super();let i=new o.Array2DHashSet(u.ObjectEqualityComparator.INSTANCE);e instanceof r?i.addAll(e.opnds):i.add(e),n instanceof r?i.addAll(n.opnds):i.add(n),this.opnds=i.toArray();let a=function(e){let t;for(let r of e)void 0!==t?t.compareTo(r)<0&&(t=r):t=r;return t}(t(this.opnds));a&&this.opnds.push(a)}get operands(){return this.opnds}equals(e){return this===e||e instanceof r&&a.ArrayEqualityComparator.INSTANCE.equals(this.opnds,e.opnds)}hashCode(){return s.MurmurHash.hashCode(this.opnds,486279973)}eval(e,t){for(let r of this.opnds)if(r.eval(e,t))return!0;return!1}evalPrecedence(t,r){let n=!1,i=[];for(let o of this.opnds){let a=o.evalPrecedence(t,r);if(n=n||a!==o,a===e.NONE)return e.NONE;a&&i.push(a)}if(!n)return this;if(0===i.length)return;let o=i[0];for(let t=1;t<i.length;t++)o=e.or(o,i[t]);return o}toString(){return c.join(this.opnds,"||")}};n([l.Override],h.prototype,"operands",null),n([l.Override],h.prototype,"equals",null),n([l.Override],h.prototype,"hashCode",null),n([l.Override],h.prototype,"eval",null),n([l.Override],h.prototype,"evalPrecedence",null),n([l.Override],h.prototype,"toString",null),h=n([i(0,l.NotNull),i(1,l.NotNull)],h),e.OR=h}(d=r.SemanticContext||(r.SemanticContext={}))},{242:242,340:340,341:341,351:351,352:352,355:355}],289:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(275);r.DecisionState=class extends n.ATNState{constructor(){super(...arguments),this.decision=-1,this.nonGreedy=!1,this.sll=!1}}},{275:275}],271:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(339),o=e(340),a=e(341),s=e(269),l=e(270),u=e(343),c=e(242),d=e(352),p=e(316),f=e(317),h=e(324),m=e(355);class y{hashCode(e){return e.state^e.alt}equals(e,t){return e.state===t.state&&e.alt===t.alt}}function v(e){return e?new i.Array2DHashMap(e):new i.Array2DHashMap(y.INSTANCE)}y.INSTANCE=new y;class g{constructor(e,t){this._uniqueAlt=0,this._hasSemanticContext=!1,this._dipsIntoOuterContext=!1,this.outermostConfigSet=!1,this.cachedHashCode=-1,e?(t?(this.mergedConfigs=void 0,this.unmerged=void 0):e.isReadOnly?(this.mergedConfigs=v(),this.unmerged=[]):(this.mergedConfigs=v(e.mergedConfigs),this.unmerged=e.unmerged.slice(0)),this.configs=e.configs.slice(0),this._dipsIntoOuterContext=e._dipsIntoOuterContext,this._hasSemanticContext=e._hasSemanticContext,this.outermostConfigSet=e.outermostConfigSet,!t&&e.isReadOnly||(this._uniqueAlt=e._uniqueAlt,this._conflictInfo=e._conflictInfo)):(this.mergedConfigs=v(),this.unmerged=[],this.configs=[],this._uniqueAlt=s.ATN.INVALID_ALT_NUMBER)}getRepresentedAlternatives(){if(null!=this._conflictInfo)return this._conflictInfo.conflictedAlts.clone();let e=new u.BitSet;for(let t of this)e.set(t.alt);return e}get isReadOnly(){return null==this.mergedConfigs}get isOutermostConfigSet(){return this.outermostConfigSet}set isOutermostConfigSet(e){if(this.outermostConfigSet&&!e)throw new Error("IllegalStateException");this.outermostConfigSet=e}getStates(){let e=new o.Array2DHashSet(d.ObjectEqualityComparator.INSTANCE);for(let t of this.configs)e.add(t.state);return e}optimizeConfigs(e){if(0!==this.configs.length)for(let t of this.configs)t.context=e.atn.getCachedContext(t.context)}clone(e){let t=new g(this,e);return!e&&this.isReadOnly&&t.addAll(this.configs),t}get size(){return this.configs.length}get isEmpty(){return 0===this.configs.length}contains(e){if(!(e instanceof l.ATNConfig))return!1;if(this.mergedConfigs&&this.unmerged){let t=e,r=this.getKey(t),n=this.mergedConfigs.get(r);if(null!=n&&this.canMerge(t,r,n))return n.contains(t);for(let t of this.unmerged)if(t.contains(e))return!0}else for(let t of this.configs)if(t.contains(e))return!0;return!1}*[Symbol.iterator](){yield*this.configs}toArray(){return this.configs}add(e,t){if(this.ensureWritable(),!this.mergedConfigs||!this.unmerged)throw new Error("Covered by ensureWritable but duplicated here for strict null check limitation");let r;null==t&&(t=f.PredictionContextCache.UNCACHED);let n=this.getKey(e),i=this.mergedConfigs.get(n);if(r=null==i,null!=i&&this.canMerge(e,n,i)){i.outerContextDepth=Math.max(i.outerContextDepth,e.outerContextDepth),e.isPrecedenceFilterSuppressed&&(i.isPrecedenceFilterSuppressed=!0);let r=p.PredictionContext.join(i.context,e.context,t);return this.updatePropertiesForMergedConfig(e),i.context!==r&&(i.context=r,!0)}for(let i=0;i<this.unmerged.length;i++){let o=this.unmerged[i];if(this.canMerge(e,n,o)){o.outerContextDepth=Math.max(o.outerContextDepth,e.outerContextDepth),e.isPrecedenceFilterSuppressed&&(o.isPrecedenceFilterSuppressed=!0);let a=p.PredictionContext.join(o.context,e.context,t);return this.updatePropertiesForMergedConfig(e),o.context!==a&&(o.context=a,r&&(this.mergedConfigs.put(n,o),this.unmerged.splice(i,1)),!0)}}return this.configs.push(e),r?this.mergedConfigs.put(n,e):this.unmerged.push(e),this.updatePropertiesForAddedConfig(e),!0}updatePropertiesForMergedConfig(e){this._dipsIntoOuterContext=this._dipsIntoOuterContext||e.reachesIntoOuterContext}updatePropertiesForAddedConfig(e){1===this.configs.length?this._uniqueAlt=e.alt:this._uniqueAlt!==e.alt&&(this._uniqueAlt=s.ATN.INVALID_ALT_NUMBER),this._hasSemanticContext=this._hasSemanticContext||!h.SemanticContext.NONE.equals(e.semanticContext),this._dipsIntoOuterContext=this._dipsIntoOuterContext||e.reachesIntoOuterContext}canMerge(e,t,r){return e.state.stateNumber===r.state.stateNumber&&t.alt===r.alt&&e.semanticContext.equals(r.semanticContext)}getKey(e){return{state:e.state.stateNumber,alt:e.alt}}containsAll(e){for(let t of e){if(!(t instanceof l.ATNConfig))return!1;if(!this.contains(t))return!1}return!0}addAll(e,t){this.ensureWritable();let r=!1;for(let n of e)this.add(n,t)&&(r=!0);return r}clear(){if(this.ensureWritable(),!this.mergedConfigs||!this.unmerged)throw new Error("Covered by ensureWritable but duplicated here for strict null check limitation");this.mergedConfigs.clear(),this.unmerged.length=0,this.configs.length=0,this._dipsIntoOuterContext=!1,this._hasSemanticContext=!1,this._uniqueAlt=s.ATN.INVALID_ALT_NUMBER,this._conflictInfo=void 0}equals(e){return this===e||e instanceof g&&this.outermostConfigSet===e.outermostConfigSet&&m.equals(this._conflictInfo,e._conflictInfo)&&a.ArrayEqualityComparator.INSTANCE.equals(this.configs,e.configs)}hashCode(){if(this.isReadOnly&&-1!==this.cachedHashCode)return this.cachedHashCode;let e=1;return e=5*(e=5*e^(this.outermostConfigSet?1:0))^a.ArrayEqualityComparator.INSTANCE.hashCode(this.configs),this.isReadOnly&&(this.cachedHashCode=e),e}toString(e){null==e&&(e=!1);let t="",r=this.configs.slice(0);r.sort(((e,t)=>e.alt!==t.alt?e.alt-t.alt:e.state.stateNumber!==t.state.stateNumber?e.state.stateNumber-t.state.stateNumber:e.semanticContext.toString().localeCompare(t.semanticContext.toString()))),t+="[";for(let n=0;n<r.length;n++)n>0&&(t+=", "),t+=r[n].toString(void 0,!0,e);return t+="]",this._hasSemanticContext&&(t+=",hasSemanticContext="+this._hasSemanticContext),this._uniqueAlt!==s.ATN.INVALID_ALT_NUMBER&&(t+=",uniqueAlt="+this._uniqueAlt),null!=this._conflictInfo&&(t+=",conflictingAlts="+this._conflictInfo.conflictedAlts,this._conflictInfo.isExact||(t+="*")),this._dipsIntoOuterContext&&(t+=",dipsIntoOuterContext"),t.toString()}get uniqueAlt(){return this._uniqueAlt}get hasSemanticContext(){return this._hasSemanticContext}set hasSemanticContext(e){this.ensureWritable(),this._hasSemanticContext=e}get conflictInfo(){return this._conflictInfo}set conflictInfo(e){this.ensureWritable(),this._conflictInfo=e}get conflictingAlts(){if(null!=this._conflictInfo)return this._conflictInfo.conflictedAlts}get isExactConflict(){return null!=this._conflictInfo&&this._conflictInfo.isExact}get dipsIntoOuterContext(){return this._dipsIntoOuterContext}get(e){return this.configs[e]}ensureWritable(){if(this.isReadOnly)throw new Error("This ATNConfigSet is read only.")}}n([c.NotNull],g.prototype,"getRepresentedAlternatives",null),n([c.Override],g.prototype,"size",null),n([c.Override],g.prototype,"isEmpty",null),n([c.Override],g.prototype,"contains",null),n([c.Override],g.prototype,Symbol.iterator,null),n([c.Override],g.prototype,"toArray",null),n([c.Override],g.prototype,"containsAll",null),n([c.Override],g.prototype,"clear",null),n([c.Override],g.prototype,"equals",null),n([c.Override],g.prototype,"hashCode",null),r.ATNConfigSet=g},{242:242,269:269,270:270,316:316,317:317,324:324,339:339,340:340,341:341,343:343,352:352,355:355}],341:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(351),a=e(352);class s{hashCode(e){return null==e?0:o.MurmurHash.hashCode(e,0)}equals(e,t){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!a.ObjectEqualityComparator.INSTANCE.equals(e[r],t[r]))return!1;return!0}}s.INSTANCE=new s,n([i.Override],s.prototype,"hashCode",null),n([i.Override],s.prototype,"equals",null),r.ArrayEqualityComparator=s},{242:242,351:351,352:352}],340:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(345),a=e(242),s=e(351);class l{constructor(e,t=16){if(this.n=0,this.threshold=Math.floor(12),e instanceof l){this.comparator=e.comparator,this.buckets=e.buckets.slice(0);for(let e=0;e<this.buckets.length;e++){let t=this.buckets[e];t&&(this.buckets[e]=t.slice(0))}this.n=e.n,this.threshold=e.threshold}else this.comparator=e||o.DefaultEqualityComparator.INSTANCE,this.buckets=this.createBuckets(t)}getOrAdd(e){return this.n>this.threshold&&this.expand(),this.getOrAddImpl(e)}getOrAddImpl(e){let t=this.getBucket(e),r=this.buckets[t];if(!r)return r=[e],this.buckets[t]=r,this.n++,e;for(let t of r)if(this.comparator.equals(t,e))return t;return r.push(e),this.n++,e}get(e){if(null==e)return e;let t=this.getBucket(e),r=this.buckets[t];if(r)for(let t of r)if(this.comparator.equals(t,e))return t}getBucket(e){return this.comparator.hashCode(e)&this.buckets.length-1}hashCode(){let e=s.MurmurHash.initialize();for(let t of this.buckets)if(null!=t)for(let r of t){if(null==r)break;e=s.MurmurHash.update(e,this.comparator.hashCode(r))}return s.MurmurHash.finish(e,this.size)}equals(e){return e===this||e instanceof l&&e.size===this.size&&this.containsAll(e)}expand(){let e=this.buckets,t=2*this.buckets.length,r=this.createBuckets(t);this.buckets=r,this.threshold=Math.floor(.75*t),this.size;for(let t of e)if(t)for(let e of t){let t=this.getBucket(e),r=this.buckets[t];r||(r=[],this.buckets[t]=r),r.push(e)}}add(e){return this.getOrAdd(e)===e}get size(){return this.n}get isEmpty(){return 0===this.n}contains(e){return this.containsFast(this.asElementType(e))}containsFast(e){return null!=e&&null!=this.get(e)}*[Symbol.iterator](){yield*this.toArray()}toArray(){const e=new Array(this.size);let t=0;for(let r of this.buckets)if(null!=r)for(let n of r){if(null==n)break;e[t++]=n}return e}containsAll(e){if(e instanceof l){let t=e;for(let e of t.buckets)if(null!=e)for(let t of e){if(null==t)break;if(!this.containsFast(this.asElementType(t)))return!1}}else for(let t of e)if(!this.containsFast(this.asElementType(t)))return!1;return!0}addAll(e){let t=!1;for(let r of e)this.getOrAdd(r)!==r&&(t=!0);return t}clear(){this.buckets=this.createBuckets(16),this.n=0,this.threshold=Math.floor(12)}toString(){if(0===this.size)return"{}";let e="{",t=!0;for(let r of this.buckets)if(null!=r)for(let n of r){if(null==n)break;t?t=!1:e+=", ",e+=n.toString()}return e+"}"}toTableString(){let e="";for(let t of this.buckets){if(null==t){e+="null\n";continue}e+="[";let r=!0;for(let n of t)r?r=!1:e+=" ",e+=null==n?"_":n.toString();e+="]\n"}return e}asElementType(e){return e}createBuckets(e){return new Array(e)}}n([a.NotNull],l.prototype,"comparator",void 0),n([a.Override],l.prototype,"hashCode",null),n([a.Override],l.prototype,"equals",null),n([a.Override],l.prototype,"add",null),n([a.Override],l.prototype,"size",null),n([a.Override],l.prototype,"isEmpty",null),n([a.Override],l.prototype,"contains",null),n([i(0,a.Nullable)],l.prototype,"containsFast",null),n([a.Override],l.prototype,Symbol.iterator,null),n([a.Override],l.prototype,"toArray",null),n([a.Override],l.prototype,"containsAll",null),n([a.Override],l.prototype,"addAll",null),n([a.Override],l.prototype,"clear",null),n([a.Override],l.prototype,"toString",null),n([a.SuppressWarnings("unchecked")],l.prototype,"asElementType",null),n([a.SuppressWarnings("unchecked")],l.prototype,"createBuckets",null),r.Array2DHashSet=l},{242:242,345:345,351:351}],317:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(339),o=e(242),a=e(352),s=e(316);class l{constructor(e=!0){this.contexts=new i.Array2DHashMap(a.ObjectEqualityComparator.INSTANCE),this.childContexts=new i.Array2DHashMap(a.ObjectEqualityComparator.INSTANCE),this.joinContexts=new i.Array2DHashMap(a.ObjectEqualityComparator.INSTANCE),this.enableCache=e}getAsCached(e){if(!this.enableCache)return e;let t=this.contexts.get(e);return t||(t=e,this.contexts.put(e,e)),t}getChild(e,t){if(!this.enableCache)return e.getChild(t);let r=new l.PredictionContextAndInt(e,t),n=this.childContexts.get(r);return n||(n=e.getChild(t),n=this.getAsCached(n),this.childContexts.put(r,n)),n}join(e,t){if(!this.enableCache)return s.PredictionContext.join(e,t,this);let r=new l.IdentityCommutativePredictionContextOperands(e,t),n=this.joinContexts.get(r);return n||(n=s.PredictionContext.join(e,t,this),n=this.getAsCached(n),this.joinContexts.put(r,n),n)}}l.UNCACHED=new l(!1),r.PredictionContextCache=l,function(e){class t{constructor(e,t){this.obj=e,this.value=t}equals(e){if(!(e instanceof t))return!1;if(e===this)return!0;let r=e;return this.value===r.value&&(this.obj===r.obj||null!=this.obj&&this.obj.equals(r.obj))}hashCode(){let e=5;return 7*(e=7*e+(null!=this.obj?this.obj.hashCode():0))+this.value}}n([o.Override],t.prototype,"equals",null),n([o.Override],t.prototype,"hashCode",null),e.PredictionContextAndInt=t;class r{constructor(e,t){this._x=e,this._y=t}get x(){return this._x}get y(){return this._y}equals(e){if(!(e instanceof r))return!1;if(this===e)return!0;let t=e;return this._x===t._x&&this._y===t._y||this._x===t._y&&this._y===t._x}hashCode(){return this._x.hashCode()^this._y.hashCode()}}n([o.Override],r.prototype,"equals",null),n([o.Override],r.prototype,"hashCode",null),e.IdentityCommutativePredictionContextOperands=r}(l=r.PredictionContextCache||(r.PredictionContextCache={}))},{242:242,316:316,339:339,352:352}],281:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(276),o=e(284);class a extends o.BlockStartState{get stateType(){return i.ATNStateType.BLOCK_START}}n([e(242).Override],a.prototype,"stateType",null),r.BasicBlockStartState=a},{242:242,276:276,284:284}],283:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(275),o=e(276);class a extends i.ATNState{get stateType(){return o.ATNStateType.BLOCK_END}}n([e(242).Override],a.prototype,"stateType",null),r.BlockEndState=a},{242:242,275:275,276:276}],284:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(289);r.BlockStartState=class extends n.DecisionState{}},{289:289}],280:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(349),a=e(242),s=e(331);let l=class extends s.Transition{constructor(e,t){super(e),this._label=t}get serializationType(){return 5}get label(){return o.IntervalSet.of(this._label)}matches(e,t,r){return this._label===e}toString(){return String(this.label)}};n([a.Override],l.prototype,"serializationType",null),n([a.Override,a.NotNull],l.prototype,"label",null),n([a.Override],l.prototype,"matches",null),n([a.Override,a.NotNull],l.prototype,"toString",null),l=n([i(0,a.NotNull)],l),r.AtomTransition=l},{242:242,331:331,349:349}],282:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(275),o=e(276);class a extends i.ATNState{get stateType(){return o.ATNStateType.BASIC}}n([e(242).Override],a.prototype,"stateType",null),r.BasicState=a},{242:242,275:275,276:276}],297:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(351),a=e(242);class s{constructor(e,t){this._ruleIndex=e,this._actionIndex=t}get ruleIndex(){return this._ruleIndex}get actionIndex(){return this._actionIndex}get actionType(){return 1}get isPositionDependent(){return!0}execute(e){e.action(void 0,this._ruleIndex,this._actionIndex)}hashCode(){let e=o.MurmurHash.initialize();return e=o.MurmurHash.update(e,this.actionType),e=o.MurmurHash.update(e,this._ruleIndex),e=o.MurmurHash.update(e,this._actionIndex),o.MurmurHash.finish(e,3)}equals(e){return e===this||e instanceof s&&this._ruleIndex===e._ruleIndex&&this._actionIndex===e._actionIndex}}n([a.Override],s.prototype,"actionType",null),n([a.Override],s.prototype,"isPositionDependent",null),n([a.Override,i(0,a.NotNull)],s.prototype,"execute",null),n([a.Override],s.prototype,"hashCode",null),n([a.Override],s.prototype,"equals",null),r.LexerCustomAction=s},{242:242,351:351}],290:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242),a=e(331);let s=class extends a.Transition{constructor(e,t=-1){super(e),this._outermostPrecedenceReturn=t}get outermostPrecedenceReturn(){return this._outermostPrecedenceReturn}get serializationType(){return 1}get isEpsilon(){return!0}matches(e,t,r){return!1}toString(){return"epsilon"}};n([o.Override],s.prototype,"serializationType",null),n([o.Override],s.prototype,"isEpsilon",null),n([o.Override],s.prototype,"matches",null),n([o.Override,o.NotNull],s.prototype,"toString",null),s=n([i(0,o.NotNull)],s),r.EpsilonTransition=s},{242:242,331:331}],299:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(351),a=e(242);class s{constructor(e){this._mode=e}get mode(){return this._mode}get actionType(){return 2}get isPositionDependent(){return!1}execute(e){e.mode(this._mode)}hashCode(){let e=o.MurmurHash.initialize();return e=o.MurmurHash.update(e,this.actionType),e=o.MurmurHash.update(e,this._mode),o.MurmurHash.finish(e,2)}equals(e){return e===this||e instanceof s&&this._mode===e._mode}toString(){return`mode(${this._mode})`}}n([a.Override],s.prototype,"actionType",null),n([a.Override],s.prototype,"isPositionDependent",null),n([a.Override,i(0,a.NotNull)],s.prototype,"execute",null),n([a.Override],s.prototype,"hashCode",null),n([a.Override],s.prototype,"equals",null),n([a.Override],s.prototype,"toString",null),r.LexerModeAction=s},{242:242,351:351}],296:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(351),a=e(242);class s{constructor(e){this._channel=e}get channel(){return this._channel}get actionType(){return 0}get isPositionDependent(){return!1}execute(e){e.channel=this._channel}hashCode(){let e=o.MurmurHash.initialize();return e=o.MurmurHash.update(e,this.actionType),e=o.MurmurHash.update(e,this._channel),o.MurmurHash.finish(e,2)}equals(e){return e===this||e instanceof s&&this._channel===e._channel}toString(){return`channel(${this._channel})`}}n([a.Override],s.prototype,"actionType",null),n([a.Override],s.prototype,"isPositionDependent",null),n([a.Override,i(0,a.NotNull)],s.prototype,"execute",null),n([a.Override],s.prototype,"hashCode",null),n([a.Override],s.prototype,"equals",null),n([a.Override],s.prototype,"toString",null),r.LexerChannelAction=s},{242:242,351:351}],300:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(351),a=e(242);class s{constructor(){}get actionType(){return 3}get isPositionDependent(){return!1}execute(e){e.more()}hashCode(){let e=o.MurmurHash.initialize();return e=o.MurmurHash.update(e,this.actionType),o.MurmurHash.finish(e,1)}equals(e){return e===this}toString(){return"more"}}n([a.Override],s.prototype,"actionType",null),n([a.Override],s.prototype,"isPositionDependent",null),n([a.Override,i(0,a.NotNull)],s.prototype,"execute",null),n([a.Override],s.prototype,"hashCode",null),n([a.Override],s.prototype,"equals",null),n([a.Override],s.prototype,"toString",null),r.LexerMoreAction=s,function(e){e.INSTANCE=new e}(s=r.LexerMoreAction||(r.LexerMoreAction={}))},{242:242,351:351}],303:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(351),a=e(242);class s{constructor(){}get actionType(){return 6}get isPositionDependent(){return!1}execute(e){e.skip()}hashCode(){let e=o.MurmurHash.initialize();return e=o.MurmurHash.update(e,this.actionType),o.MurmurHash.finish(e,1)}equals(e){return e===this}toString(){return"skip"}}n([a.Override],s.prototype,"actionType",null),n([a.Override],s.prototype,"isPositionDependent",null),n([a.Override,i(0,a.NotNull)],s.prototype,"execute",null),n([a.Override],s.prototype,"hashCode",null),n([a.Override],s.prototype,"equals",null),n([a.Override],s.prototype,"toString",null),r.LexerSkipAction=s,function(e){e.INSTANCE=new e}(s=r.LexerSkipAction||(r.LexerSkipAction={}))},{242:242,351:351}],301:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(351),a=e(242);class s{constructor(){}get actionType(){return 4}get isPositionDependent(){return!1}execute(e){e.popMode()}hashCode(){let e=o.MurmurHash.initialize();return e=o.MurmurHash.update(e,this.actionType),o.MurmurHash.finish(e,1)}equals(e){return e===this}toString(){return"popMode"}}n([a.Override],s.prototype,"actionType",null),n([a.Override],s.prototype,"isPositionDependent",null),n([a.Override,i(0,a.NotNull)],s.prototype,"execute",null),n([a.Override],s.prototype,"hashCode",null),n([a.Override],s.prototype,"equals",null),n([a.Override],s.prototype,"toString",null),r.LexerPopModeAction=s,function(e){e.INSTANCE=new e}(s=r.LexerPopModeAction||(r.LexerPopModeAction={}))},{242:242,351:351}],302:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(351),a=e(242);class s{constructor(e){this._mode=e}get mode(){return this._mode}get actionType(){return 5}get isPositionDependent(){return!1}execute(e){e.pushMode(this._mode)}hashCode(){let e=o.MurmurHash.initialize();return e=o.MurmurHash.update(e,this.actionType),e=o.MurmurHash.update(e,this._mode),o.MurmurHash.finish(e,2)}equals(e){return e===this||e instanceof s&&this._mode===e._mode}toString(){return`pushMode(${this._mode})`}}n([a.Override],s.prototype,"actionType",null),n([a.Override],s.prototype,"isPositionDependent",null),n([a.Override,i(0,a.NotNull)],s.prototype,"execute",null),n([a.Override],s.prototype,"hashCode",null),n([a.Override],s.prototype,"equals",null),n([a.Override],s.prototype,"toString",null),r.LexerPushModeAction=s},{242:242,351:351}],304:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(351),a=e(242);class s{constructor(e){this._type=e}get type(){return this._type}get actionType(){return 7}get isPositionDependent(){return!1}execute(e){e.type=this._type}hashCode(){let e=o.MurmurHash.initialize();return e=o.MurmurHash.update(e,this.actionType),e=o.MurmurHash.update(e,this._type),o.MurmurHash.finish(e,2)}equals(e){return e===this||e instanceof s&&this._type===e._type}toString(){return`type(${this._type})`}}n([a.Override],s.prototype,"actionType",null),n([a.Override],s.prototype,"isPositionDependent",null),n([a.Override,i(0,a.NotNull)],s.prototype,"execute",null),n([a.Override],s.prototype,"hashCode",null),n([a.Override],s.prototype,"equals",null),n([a.Override],s.prototype,"toString",null),r.LexerTypeAction=s},{242:242,351:351}],311:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(276),o=e(284);class a extends o.BlockStartState{get stateType(){return i.ATNStateType.PLUS_BLOCK_START}}n([e(242).Override],a.prototype,"stateType",null),r.PlusBlockStartState=a},{242:242,276:276,284:284}],307:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242),a=e(325);let s=class extends a.SetTransition{constructor(e,t){super(e,t)}get serializationType(){return 8}matches(e,t,r){return e>=t&&e<=r&&!super.matches(e,t,r)}toString(){return"~"+super.toString()}};n([o.Override],s.prototype,"serializationType",null),n([o.Override],s.prototype,"matches",null),n([o.Override],s.prototype,"toString",null),s=n([i(0,o.NotNull),i(1,o.Nullable)],s),r.NotSetTransition=s},{242:242,325:325}],320:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(349),a=e(242),s=e(331);let l=class extends s.Transition{constructor(e,t,r){super(e),this.from=t,this.to=r}get serializationType(){return 2}get label(){return o.IntervalSet.of(this.from,this.to)}matches(e,t,r){return e>=this.from&&e<=this.to}toString(){return"'"+String.fromCodePoint(this.from)+"'..'"+String.fromCodePoint(this.to)+"'"}};n([a.Override],l.prototype,"serializationType",null),n([a.Override,a.NotNull],l.prototype,"label",null),n([a.Override],l.prototype,"matches",null),n([a.Override,a.NotNull],l.prototype,"toString",null),l=n([i(0,a.NotNull)],l),r.RangeTransition=l},{242:242,331:331,349:349}],312:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(276),o=e(289);class a extends o.DecisionState{get stateType(){return i.ATNStateType.PLUS_LOOP_BACK}}n([e(242).Override],a.prototype,"stateType",null),r.PlusLoopbackState=a},{242:242,276:276,289:289}],323:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242),a=e(331);let s=class extends a.Transition{constructor(e,t,r,n){super(e),this.tailCall=!1,this.optimizedTailCall=!1,this.ruleIndex=t,this.precedence=r,this.followState=n}get serializationType(){return 3}get isEpsilon(){return!0}matches(e,t,r){return!1}};n([o.NotNull],s.prototype,"followState",void 0),n([o.Override],s.prototype,"serializationType",null),n([o.Override],s.prototype,"isEpsilon",null),n([o.Override],s.prototype,"matches",null),s=n([i(0,o.NotNull),i(3,o.NotNull)],s),r.RuleTransition=s},{242:242,331:331}],322:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(275),o=e(276),a=e(242);class s extends i.ATNState{get nonStopStateNumber(){return-1}get stateType(){return o.ATNStateType.RULE_STOP}}n([a.Override],s.prototype,"nonStopStateNumber",null),n([a.Override],s.prototype,"stateType",null),r.RuleStopState=s},{242:242,275:275,276:276}],313:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(277),a=e(242),s=e(324);let l=class extends o.AbstractPredicateTransition{constructor(e,t){super(e),this.precedence=t}get serializationType(){return 10}get isEpsilon(){return!0}matches(e,t,r){return!1}get predicate(){return new s.SemanticContext.PrecedencePredicate(this.precedence)}toString(){return this.precedence+" >= _p"}};n([a.Override],l.prototype,"serializationType",null),n([a.Override],l.prototype,"isEpsilon",null),n([a.Override],l.prototype,"matches",null),n([a.Override],l.prototype,"toString",null),l=n([i(0,a.NotNull)],l),r.PrecedencePredicateTransition=l},{242:242,277:277,324:324}],321:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(275),o=e(276);class a extends i.ATNState{constructor(){super(...arguments),this.isPrecedenceRule=!1,this.leftFactored=!1}get stateType(){return o.ATNStateType.RULE_START}}n([e(242).Override],a.prototype,"stateType",null),r.RuleStartState=a},{242:242,275:275,276:276}],329:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(275),o=e(276);class a extends i.ATNState{get loopEntryState(){return this.transition(0).target}get stateType(){return o.ATNStateType.STAR_LOOP_BACK}}n([e(242).Override],a.prototype,"stateType",null),r.StarLoopbackState=a},{242:242,275:275,276:276}],325:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(349),a=e(242),s=e(266),l=e(331);let u=class extends l.Transition{constructor(e,t){super(e),null==t&&(t=o.IntervalSet.of(s.Token.INVALID_TYPE)),this.set=t}get serializationType(){return 7}get label(){return this.set}matches(e,t,r){return this.set.contains(e)}toString(){return this.set.toString()}};n([a.NotNull],u.prototype,"set",void 0),n([a.Override],u.prototype,"serializationType",null),n([a.Override,a.NotNull],u.prototype,"label",null),n([a.Override],u.prototype,"matches",null),n([a.Override,a.NotNull],u.prototype,"toString",null),u=n([i(0,a.NotNull),i(1,a.Nullable)],u),r.SetTransition=u},{242:242,266:266,331:331,349:349}],332:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242),a=e(331);let s=class extends a.Transition{constructor(e){super(e)}get serializationType(){return 9}matches(e,t,r){return e>=t&&e<=r}toString(){return"."}};n([o.Override],s.prototype,"serializationType",null),n([o.Override],s.prototype,"matches",null),n([o.Override,o.NotNull],s.prototype,"toString",null),s=n([i(0,o.NotNull)],s),r.WildcardTransition=s},{242:242,331:331}],330:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(276),o=e(289);class a extends o.DecisionState{get stateType(){return i.ATNStateType.TOKEN_START}}n([e(242).Override],a.prototype,"stateType",null),r.TokensStartState=a},{242:242,276:276,289:289}],327:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(276),o=e(284);class a extends o.BlockStartState{get stateType(){return i.ATNStateType.STAR_BLOCK_START}}n([e(242).Override],a.prototype,"stateType",null),r.StarBlockStartState=a},{242:242,276:276,284:284}],354:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(351);class i{constructor(e,t,r,n){this.data=new Uint32Array(4),this.data[0]=e,this.data[1]=t,this.data[2]=r,this.data[3]=n}static fromString(e){if(!/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/.test(e))throw new Error("Incorrectly formatted UUID");let t=e.split("-"),r=parseInt(t[0],16),n=(parseInt(t[1],16)<<16>>>0)+parseInt(t[2],16),o=(parseInt(t[3],16)<<16>>>0)+parseInt(t[4].substr(0,4),16),a=parseInt(t[4].substr(-8),16);return new i(r,n,o,a)}hashCode(){return n.MurmurHash.hashCode([this.data[0],this.data[1],this.data[2],this.data[3]])}equals(e){return e===this||e instanceof i&&this.data[0]===e.data[0]&&this.data[1]===e.data[1]&&this.data[2]===e.data[2]&&this.data[3]===e.data[3]}toString(){return("00000000"+this.data[0].toString(16)).substr(-8)+"-"+("0000"+(this.data[1]>>>16).toString(16)).substr(-4)+"-"+("0000"+this.data[1].toString(16)).substr(-4)+"-"+("0000"+(this.data[2]>>>16).toString(16)).substr(-4)+"-"+("0000"+this.data[2].toString(16)).substr(-4)+("00000000"+this.data[3].toString(16)).substr(-8)}}r.UUID=i},{351:351}],278:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242),a=e(331);let s=class extends a.Transition{constructor(e,t,r=-1,n=!1){super(e),this.ruleIndex=t,this.actionIndex=r,this.isCtxDependent=n}get serializationType(){return 6}get isEpsilon(){return!0}matches(e,t,r){return!1}toString(){return"action_"+this.ruleIndex+":"+this.actionIndex}};n([o.Override],s.prototype,"serializationType",null),n([o.Override],s.prototype,"isEpsilon",null),n([o.Override],s.prototype,"matches",null),n([o.Override],s.prototype,"toString",null),s=n([i(0,o.NotNull)],s),r.ActionTransition=s},{242:242,331:331}],274:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(271),a=e(336),s=e(242),l=e(316);let u=class e{constructor(e){this.atn=e}static get ERROR(){return e._ERROR||(e._ERROR=new a.DFAState(new o.ATNConfigSet),e._ERROR.stateNumber=l.PredictionContext.EMPTY_FULL_STATE_KEY),e._ERROR}clearDFA(){this.atn.clearDFA()}};n([s.NotNull],u.prototype,"atn",void 0),n([s.NotNull],u,"ERROR",null),u=n([i(0,s.NotNull)],u),r.ATNSimulator=u,u=r.ATNSimulator||(r.ATNSimulator={}),r.ATNSimulator=u},{242:242,271:271,316:316,336:336}],336:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(269),a=e(343),s=e(351),l=e(242),u=e(316);class c{constructor(e){this.stateNumber=-1,this.configs=e,this.edges=new Map,this.contextEdges=new Map}get isContextSensitive(){return!!this.contextSymbols}isContextSymbol(e){return!!this.isContextSensitive&&this.contextSymbols.get(e)}setContextSymbol(e){this.contextSymbols.set(e)}setContextSensitive(e){this.isContextSensitive||this.contextSymbols||(this.contextSymbols=new a.BitSet)}get acceptStateInfo(){return this._acceptStateInfo}set acceptStateInfo(e){this._acceptStateInfo=e}get isAcceptState(){return!!this._acceptStateInfo}get prediction(){return this._acceptStateInfo?this._acceptStateInfo.prediction:o.ATN.INVALID_ALT_NUMBER}get lexerActionExecutor(){if(this._acceptStateInfo)return this._acceptStateInfo.lexerActionExecutor}getTarget(e){return this.edges.get(e)}setTarget(e,t){this.edges.set(e,t)}getEdgeMap(){return this.edges}getContextTarget(e){return e===u.PredictionContext.EMPTY_FULL_STATE_KEY&&(e=-1),this.contextEdges.get(e)}setContextTarget(e,t){if(!this.isContextSensitive)throw new Error("The state is not context sensitive.");e===u.PredictionContext.EMPTY_FULL_STATE_KEY&&(e=-1),this.contextEdges.set(e,t)}getContextEdgeMap(){let e=new Map(this.contextEdges),t=e.get(-1);if(void 0!==t){if(1===e.size){let e=new Map;return e.set(u.PredictionContext.EMPTY_FULL_STATE_KEY,t),e}e.delete(-1),e.set(u.PredictionContext.EMPTY_FULL_STATE_KEY,t)}return e}hashCode(){let e=s.MurmurHash.initialize(7);return e=s.MurmurHash.update(e,this.configs.hashCode()),s.MurmurHash.finish(e,1)}equals(e){if(this===e)return!0;if(!(e instanceof c))return!1;let t=e;return this.configs.equals(t.configs)}toString(){let e="";return e+=this.stateNumber+":"+this.configs,this.isAcceptState&&(e+="=>",this.predicates?e+=this.predicates:e+=this.prediction),e.toString()}}n([l.NotNull],c.prototype,"configs",void 0),n([l.NotNull],c.prototype,"edges",void 0),n([l.NotNull],c.prototype,"contextEdges",void 0),n([l.Override],c.prototype,"hashCode",null),n([l.Override],c.prototype,"equals",null),n([l.Override],c.prototype,"toString",null),r.DFAState=c,function(e){let t=class{constructor(e,t){this.alt=t,this.pred=e}toString(){return"("+this.pred+", "+this.alt+")"}};n([l.NotNull],t.prototype,"pred",void 0),n([l.Override],t.prototype,"toString",null),t=n([i(0,l.NotNull)],t),e.PredPrediction=t}(c=r.DFAState||(r.DFAState={}))},{242:242,269:269,316:316,343:343,351:351}],277:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(331);r.AbstractPredicateTransition=class extends n.Transition{constructor(e){super(e)}}},{331:331}],331:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242);let a=class{constructor(e){if(null==e)throw new Error("target cannot be null.");this.target=e}get isEpsilon(){return!1}get label(){}};a.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],n([o.NotNull],a.prototype,"target",void 0),a=n([i(0,o.NotNull)],a),r.Transition=a},{242:242}],279:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(287),a=e(242);let s=class extends o.DecisionEventInfo{constructor(e,t,r,n,i,o){super(e,t,n,i,o,t.useContext),this.ambigAlts=r}get ambiguousAlternatives(){return this.ambigAlts}};n([a.NotNull],s.prototype,"ambigAlts",void 0),n([a.NotNull],s.prototype,"ambiguousAlternatives",null),s=n([i(1,a.NotNull),i(2,a.NotNull),i(3,a.NotNull)],s),r.AmbiguityInfo=s},{242:242,287:287}],287:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242);let a=class{constructor(e,t,r,n,i,o){this.decision=e,this.fullCtx=o,this.stopIndex=i,this.input=r,this.startIndex=n,this.state=t}};n([o.NotNull],a.prototype,"input",void 0),a=n([i(2,o.NotNull)],a),r.DecisionEventInfo=a},{242:242}],285:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(355);class a{constructor(e,t){this._conflictedAlts=e,this.exact=t}get conflictedAlts(){return this._conflictedAlts}get isExact(){return this.exact}equals(e){return e===this||e instanceof a&&this.isExact===e.isExact&&o.equals(this.conflictedAlts,e.conflictedAlts)}hashCode(){return this.conflictedAlts.hashCode()}}n([i.Override],a.prototype,"equals",null),n([i.Override],a.prototype,"hashCode",null),r.ConflictInfo=a},{242:242,355:355}],286:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(287),a=e(242);let s=class extends o.DecisionEventInfo{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}};s=n([i(1,a.NotNull),i(2,a.NotNull)],s),r.ContextSensitivityInfo=s},{242:242,287:287}],288:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});class i{constructor(e){this.invocations=0,this.timeInPrediction=0,this.SLL_TotalLook=0,this.SLL_MinLook=0,this.SLL_MaxLook=0,this.LL_TotalLook=0,this.LL_MinLook=0,this.LL_MaxLook=0,this.contextSensitivities=[],this.errors=[],this.ambiguities=[],this.predicateEvals=[],this.SLL_ATNTransitions=0,this.SLL_DFATransitions=0,this.LL_Fallback=0,this.LL_ATNTransitions=0,this.LL_DFATransitions=0,this.decision=e}toString(){return"{decision="+this.decision+", contextSensitivities="+this.contextSensitivities.length+", errors="+this.errors.length+", ambiguities="+this.ambiguities.length+", SLL_lookahead="+this.SLL_TotalLook+", SLL_ATNTransitions="+this.SLL_ATNTransitions+", SLL_DFATransitions="+this.SLL_DFATransitions+", LL_Fallback="+this.LL_Fallback+", LL_lookahead="+this.LL_TotalLook+", LL_ATNTransitions="+this.LL_ATNTransitions+"}"}}n([e(242).Override],i.prototype,"toString",null),r.DecisionInfo=i},{242:242}],291:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(287),a=e(242);let s=class extends o.DecisionEventInfo{constructor(e,t,r,n,i){super(e,t,r,n,i,t.useContext)}};s=n([i(1,a.NotNull),i(2,a.NotNull)],s),r.ErrorInfo=s},{242:242,287:287}],333:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.AcceptStateInfo=class{constructor(e,t){this._prediction=e,this._lexerActionExecutor=t}get prediction(){return this._prediction}get lexerActionExecutor(){return this._lexerActionExecutor}}},{}],308:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(271),o=e(242);class a extends i.ATNConfigSet{constructor(e,t){null!=e&&null!=t?super(e,t):super()}clone(e){let t=new a(this,e);return!e&&this.isReadOnly&&t.addAll(this),t}getKey(e){return{state:0,alt:e.hashCode()}}canMerge(e,t,r){return e.equals(r)}}n([o.Override],a.prototype,"clone",null),n([o.Override],a.prototype,"getKey",null),n([o.Override],a.prototype,"canMerge",null),r.OrderedATNConfigSet=a},{242:242,271:271}],295:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(341),a=e(298),s=e(351),l=e(242);let u=class e{constructor(e){this._lexerActions=e;let t=s.MurmurHash.initialize();for(let r of e)t=s.MurmurHash.update(t,r);this.cachedHashCode=s.MurmurHash.finish(t,e.length)}static append(t,r){if(!t)return new e([r]);let n=t._lexerActions.slice(0);return n.push(r),new e(n)}fixOffsetBeforeMatch(t){let r;for(let e=0;e<this._lexerActions.length;e++)!this._lexerActions[e].isPositionDependent||this._lexerActions[e]instanceof a.LexerIndexedCustomAction||(r||(r=this._lexerActions.slice(0)),r[e]=new a.LexerIndexedCustomAction(t,this._lexerActions[e]));return r?new e(r):this}get lexerActions(){return this._lexerActions}execute(e,t,r){let n=!1,i=t.index;try{for(let o of this._lexerActions){if(o instanceof a.LexerIndexedCustomAction){let e=o.offset;t.seek(r+e),o=o.action,n=r+e!==i}else o.isPositionDependent&&(t.seek(i),n=!1);o.execute(e)}}finally{n&&t.seek(i)}}hashCode(){return this.cachedHashCode}equals(t){return t===this||t instanceof e&&this.cachedHashCode===t.cachedHashCode&&o.ArrayEqualityComparator.INSTANCE.equals(this._lexerActions,t._lexerActions)}};n([l.NotNull],u.prototype,"_lexerActions",void 0),n([l.NotNull],u.prototype,"lexerActions",null),n([i(0,l.NotNull)],u.prototype,"execute",null),n([l.Override],u.prototype,"hashCode",null),n([l.Override],u.prototype,"equals",null),n([l.NotNull,i(1,l.NotNull)],u,"append",null),u=n([i(0,l.NotNull)],u),r.LexerActionExecutor=u},{242:242,298:298,341:341,351:351}],298:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(351),a=e(242);let s=class e{constructor(e,t){this._offset=e,this._action=t}get offset(){return this._offset}get action(){return this._action}get actionType(){return this._action.actionType}get isPositionDependent(){return!0}execute(e){this._action.execute(e)}hashCode(){let e=o.MurmurHash.initialize();return e=o.MurmurHash.update(e,this._offset),e=o.MurmurHash.update(e,this._action),o.MurmurHash.finish(e,2)}equals(t){return t===this||t instanceof e&&this._offset===t._offset&&this._action.equals(t._action)}};n([a.NotNull],s.prototype,"action",null),n([a.Override],s.prototype,"actionType",null),n([a.Override],s.prototype,"isPositionDependent",null),n([a.Override],s.prototype,"execute",null),n([a.Override],s.prototype,"hashCode",null),n([a.Override],s.prototype,"equals",null),s=n([i(1,a.NotNull)],s),r.LexerIndexedCustomAction=s},{242:242,351:351}],305:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(287);let a=class extends o.DecisionEventInfo{constructor(e,t,r,n,i,o,a){super(e,t,n,i,o,a),this.predictedAlt=r}};a=n([i(3,e(242).NotNull)],a),r.LookaheadEventInfo=a},{242:242,287:287}],342:[function(e,t,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),(n=r.Arrays||(r.Arrays={})).binarySearch=function(e,t,r,n){return function(e,t,r,n){let i=t,o=r-1;for(;i<=o;){let t=i+o>>>1,r=e[t];if(r<n)i=t+1;else{if(!(r>n))return t;o=t-1}}return-(i+1)}(e,void 0!==r?r:0,void 0!==n?n:e.length,t)},n.toString=function(e){let t="[",r=!0;for(let n of e)r?r=!1:t+=", ",t+=null===n?"null":void 0===n?"undefined":n;return t+"]"}},{}],326:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242),a=e(257);let s=class{constructor(e,t,r,n){this.outerContext=null!=e?e:a.ParserRuleContext.emptyContext(),this.s0=t,this.useContext=r,this.remainingOuterContext=n}};s=n([i(1,o.NotNull)],s),r.SimulatorState=s},{242:242,257:257}],346:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(342),o=e(242),a=new Int32Array(0);class s{constructor(e){if(e)if(e instanceof s)this._data=e._data.slice(0),this._size=e._size;else if("number"==typeof e)0===e?(this._data=a,this._size=0):(this._data=new Int32Array(e),this._size=0);else{this._data=a,this._size=0;for(let t of e)this.add(t)}else this._data=a,this._size=0}add(e){this._data.length===this._size&&this.ensureCapacity(this._size+1),this._data[this._size]=e,this._size++}addAll(e){if(Array.isArray(e))this.ensureCapacity(this._size+e.length),this._data.subarray(this._size,this._size+e.length).set(e),this._size+=e.length;else if(e instanceof s)this.ensureCapacity(this._size+e._size),this._data.subarray(this._size,this._size+e.size).set(e._data),this._size+=e._size;else{this.ensureCapacity(this._size+e.size);let t=0;for(let r of e)this._data[this._size+t]=r,t++;this._size+=e.size}}get(e){if(e<0||e>=this._size)throw RangeError();return this._data[e]}contains(e){for(let t=0;t<this._size;t++)if(this._data[t]===e)return!0;return!1}set(e,t){if(e<0||e>=this._size)throw RangeError();let r=this._data[e];return this._data[e]=t,r}removeAt(e){let t=this.get(e);return this._data.copyWithin(e,e+1,this._size),this._data[this._size-1]=0,this._size--,t}removeRange(e,t){if(e<0||t<0||e>this._size||t>this._size)throw RangeError();if(e>t)throw RangeError();this._data.copyWithin(t,e,this._size),this._data.fill(0,this._size-(t-e),this._size),this._size-=t-e}get isEmpty(){return 0===this._size}get size(){return this._size}trimToSize(){this._data.length!==this._size&&(this._data=this._data.slice(0,this._size))}clear(){this._data.fill(0,0,this._size),this._size=0}toArray(){return 0===this._size?[]:Array.from(this._data.subarray(0,this._size))}sort(){this._data.subarray(0,this._size).sort()}equals(e){if(e===this)return!0;if(!(e instanceof s))return!1;if(this._size!==e._size)return!1;for(let t=0;t<this._size;t++)if(this._data[t]!==e._data[t])return!1;return!0}hashCode(){let e=1;for(let t=0;t<this._size;t++)e=31*e+this._data[t];return e}toString(){return this._data.toString()}binarySearch(e,t,r){if(void 0===t&&(t=0),void 0===r&&(r=this._size),t<0||r<0||t>this._size||r>this._size)throw new RangeError;if(t>r)throw new RangeError;return i.Arrays.binarySearch(this._data,e,t,r)}ensureCapacity(e){if(e<0||e>2147483639)throw new RangeError;let t;for(t=0===this._data.length?4:this._data.length;t<e;)((t*=2)<0||t>2147483639)&&(t=2147483639);let r=new Int32Array(t);r.set(this._data),this._data=r}toCharArray(){let e=new Uint16Array(this._size),t=0,r=!1;for(let n=0;n<this._size;n++){let i=this._data[n];if(i>=0&&i<65536){e[t]=i,t++;continue}if(!r){let t=new Uint16Array(this.charArraySize());t.set(e,0),e=t,r=!0}let o=String.fromCodePoint(i);e[t]=o.charCodeAt(0),e[t+1]=o.charCodeAt(1),t+=2}return e}charArraySize(){let e=0;for(let t=0;t<this._size;t++)e+=this._data[t]>=65536?2:1;return e}}n([o.NotNull],s.prototype,"_data",void 0),n([o.Override],s.prototype,"equals",null),n([o.Override],s.prototype,"hashCode",null),n([o.Override],s.prototype,"toString",null),r.IntegerList=s},{242:242,342:342}],318:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0}),e(339);const i=e(351),o=e(242),a=e(322);var s;(s=r.PredictionMode||(r.PredictionMode={}))[s.SLL=0]="SLL",s[s.LL=1]="LL",s[s.LL_EXACT_AMBIG_DETECTION=2]="LL_EXACT_AMBIG_DETECTION",function(e){class t{AltAndContextConfigEqualityComparator(){}hashCode(e){let t=i.MurmurHash.initialize(7);return t=i.MurmurHash.update(t,e.state.stateNumber),t=i.MurmurHash.update(t,e.context),i.MurmurHash.finish(t,2)}equals(e,t){return e===t||null!=e&&null!=t&&e.state.stateNumber===t.state.stateNumber&&e.context.equals(t.context)}}t.INSTANCE=new t,n([o.Override],t.prototype,"hashCode",null),n([o.Override],t.prototype,"equals",null),e.hasConfigInRuleStopState=function(e){for(let t of e)if(t.state instanceof a.RuleStopState)return!0;return!1},e.allConfigsInRuleStopStates=function(e){for(let t of e)if(!(t.state instanceof a.RuleStopState))return!1;return!0}}(r.PredictionMode||(r.PredictionMode={}))},{242:242,322:322,339:339,351:351}],314:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(287),a=e(242);let s=class extends o.DecisionEventInfo{constructor(e,t,r,n,i,o,a,s){super(t,e,r,n,i,e.useContext),this.semctx=o,this.evalResult=a,this.predictedAlt=s}};s=n([i(0,a.NotNull),i(2,a.NotNull),i(5,a.NotNull)],s),r.PredicateEvalInfo=s},{242:242,287:287}],337:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(335),a=e(242),s=e(268);let l=class extends o.DFASerializer{constructor(e){super(e,s.VocabularyImpl.EMPTY_VOCABULARY)}getEdgeLabel(e){return"'"+String.fromCodePoint(e)+"'"}};n([a.Override,a.NotNull],l.prototype,"getEdgeLabel",null),l=n([i(0,a.NotNull)],l),r.LexerDFASerializer=l},{242:242,268:268,335:335}],335:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(274),o=e(242),a=e(316),s=e(261),l=e(268);class u{constructor(e,t,r,n){t instanceof s.Recognizer?(r=t.ruleNames,n=t.atn,t=t.vocabulary):t||(t=l.VocabularyImpl.EMPTY_VOCABULARY),this.dfa=e,this.vocabulary=t,this.ruleNames=r,this.atn=n}toString(){if(!this.dfa.s0)return"";let e="";if(this.dfa.states){let t=new Array(...this.dfa.states.toArray());t.sort(((e,t)=>e.stateNumber-t.stateNumber));for(let r of t){let t=r.getEdgeMap(),n=[...t.keys()].sort(((e,t)=>e-t)),o=r.getContextEdgeMap(),a=[...o.keys()].sort(((e,t)=>e-t));for(let o of n){let n=t.get(o);if((null==n||n===i.ATNSimulator.ERROR)&&!r.isContextSymbol(o))continue;let a=!1;e+=this.getStateString(r)+"-"+this.getEdgeLabel(o)+"->",r.isContextSymbol(o)&&(e+="!",a=!0);let s=n;s&&s.stateNumber!==i.ATNSimulator.ERROR.stateNumber?e+=this.getStateString(s)+"\n":a&&(e+="ctx\n")}if(r.isContextSensitive)for(let t of a)e+=this.getStateString(r)+"-"+this.getContextLabel(t)+"->"+this.getStateString(o.get(t))+"\n"}}let t=e;return 0===t.length?"":t}getContextLabel(e){if(e===a.PredictionContext.EMPTY_FULL_STATE_KEY)return"ctx:EMPTY_FULL";if(e===a.PredictionContext.EMPTY_LOCAL_STATE_KEY)return"ctx:EMPTY_LOCAL";if(this.atn&&e>0&&e<=this.atn.states.length){let t=this.atn.states[e].ruleIndex;if(this.ruleNames&&t>=0&&t<this.ruleNames.length)return"ctx:"+String(e)+"("+this.ruleNames[t]+")"}return"ctx:"+String(e)}getEdgeLabel(e){return this.vocabulary.getDisplayName(e)}getStateString(e){if(e===i.ATNSimulator.ERROR)return"ERROR";let t=e.stateNumber,r="s"+t;if(e.isAcceptState&&(r=e.predicates?":s"+t+"=>"+e.predicates:":s"+t+"=>"+e.prediction),e.isContextSensitive){r+="*";for(let t of e.configs)if(t.reachesIntoOuterContext){r+="*";break}}return r}}n([o.NotNull],u.prototype,"dfa",void 0),n([o.NotNull],u.prototype,"vocabulary",void 0),n([o.Override],u.prototype,"toString",null),r.DFASerializer=u},{242:242,261:261,268:268,274:274,316:316}],345:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(351),a=e(352);class s{hashCode(e){return null==e?0:"string"==typeof e||"number"==typeof e?o.MurmurHash.hashCode([e]):a.ObjectEqualityComparator.INSTANCE.hashCode(e)}equals(e,t){return null==e?null==t:"string"==typeof e||"number"==typeof e?e===t:a.ObjectEqualityComparator.INSTANCE.equals(e,t)}}s.INSTANCE=new s,n([i.Override],s.prototype,"hashCode",null),n([i.Override],s.prototype,"equals",null),r.DefaultEqualityComparator=s},{242:242,351:351,352:352}],350:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.MultiMap=class extends Map{constructor(){super()}map(e,t){let r=super.get(e);r||(r=[],super.set(e,r)),r.push(t)}getPairs(){let e=[];return this.forEach(((t,r)=>{t.forEach((t=>{e.push([r,t])}))})),e}}},{}],356:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242);class a{visit(e){return e.accept(this)}visitChildren(e){let t=this.defaultResult(),r=e.childCount;for(let n=0;n<r&&this.shouldVisitNextChild(e,t);n++){let r=e.getChild(n).accept(this);t=this.aggregateResult(t,r)}return t}visitTerminal(e){return this.defaultResult()}visitErrorNode(e){return this.defaultResult()}aggregateResult(e,t){return t}shouldVisitNextChild(e,t){return!0}}n([o.Override,i(0,o.NotNull)],a.prototype,"visit",null),n([o.Override,i(0,o.NotNull)],a.prototype,"visitChildren",null),n([o.Override,i(0,o.NotNull)],a.prototype,"visitTerminal",null),n([o.Override,i(0,o.NotNull)],a.prototype,"visitErrorNode",null),n([i(0,o.NotNull)],a.prototype,"shouldVisitNextChild",null),r.AbstractParseTreeVisitor=a},{242:242}],358:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ParseTreeProperty=class{constructor(e="ParseTreeProperty"){this._symbol=Symbol(e)}get(e){return e[this._symbol]}set(e,t){e[this._symbol]=t}removeFrom(e){let t=e[this._symbol];return delete e[this._symbol],t}}},{}],359:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(357),i=e(361),o=e(360);class a{walk(e,t){let r=[],a=[],s=t,l=0;for(;s;)if(s instanceof n.ErrorNode?e.visitErrorNode&&e.visitErrorNode(s):s instanceof i.TerminalNode?e.visitTerminal&&e.visitTerminal(s):this.enterRule(e,s),s.childCount>0)r.push(s),a.push(l),l=0,s=s.getChild(0);else do{if(s instanceof o.RuleNode&&this.exitRule(e,s),0===r.length){s=void 0,l=0;break}let t=r[r.length-1];if(s=++l<t.childCount?t.getChild(l):void 0)break;s=r.pop(),l=a.pop()}while(s)}enterRule(e,t){let r=t.ruleContext;e.enterEveryRule&&e.enterEveryRule(r),r.enterRule(e)}exitRule(e,t){let r=t.ruleContext;r.exitRule(e),e.exitEveryRule&&e.exitEveryRule(r)}}r.ParseTreeWalker=a,function(e){e.DEFAULT=new e}(a=r.ParseTreeWalker||(r.ParseTreeWalker={}))},{357:357,360:360,361:361}],364:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Chunk=class{}},{}],365:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242);let a=class{constructor(e,t,r,n){if(!e)throw new Error("tree cannot be null");if(!t)throw new Error("pattern cannot be null");if(!r)throw new Error("labels cannot be null");this._tree=e,this._pattern=t,this._labels=r,this._mismatchedNode=n}get(e){let t=this._labels.get(e);if(t&&0!==t.length)return t[t.length-1]}getAll(e){return this._labels.get(e)||[]}get labels(){return this._labels}get mismatchedNode(){return this._mismatchedNode}get succeeded(){return!this._mismatchedNode}get pattern(){return this._pattern}get tree(){return this._tree}toString(){return`Match ${this.succeeded?"succeeded":"failed"}; found ${this.labels.size} labels`}};n([o.NotNull,i(0,o.NotNull)],a.prototype,"getAll",null),n([o.NotNull],a.prototype,"labels",null),n([o.NotNull],a.prototype,"pattern",null),n([o.NotNull],a.prototype,"tree",null),n([o.Override],a.prototype,"toString",null),a=n([i(0,o.NotNull),i(1,o.NotNull),i(2,o.NotNull)],a),r.ParseTreeMatch=a},{242:242}],366:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242),a=e(372);let s=class{constructor(e,t,r,n){this._matcher=e,this._patternRuleIndex=r,this._pattern=t,this._patternTree=n}match(e){return this._matcher.match(e,this)}matches(e){return this._matcher.match(e,this).succeeded}findAll(e,t){let r=a.XPath.findAll(e,t,this._matcher.parser),n=[];for(let e of r){let t=this.match(e);t.succeeded&&n.push(t)}return n}get matcher(){return this._matcher}get pattern(){return this._pattern}get patternRuleIndex(){return this._patternRuleIndex}get patternTree(){return this._patternTree}};n([o.NotNull],s.prototype,"_pattern",void 0),n([o.NotNull],s.prototype,"_patternTree",void 0),n([o.NotNull],s.prototype,"_matcher",void 0),n([o.NotNull,i(0,o.NotNull)],s.prototype,"match",null),n([i(0,o.NotNull)],s.prototype,"matches",null),n([o.NotNull,i(0,o.NotNull),i(1,o.NotNull)],s.prototype,"findAll",null),n([o.NotNull],s.prototype,"matcher",null),n([o.NotNull],s.prototype,"pattern",null),n([o.NotNull],s.prototype,"patternTree",null),s=n([i(0,o.NotNull),i(1,o.NotNull),i(3,o.NotNull)],s),r.ParseTreePattern=s},{242:242,372:372}],372:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(235),i=e(240),o=e(252),a=e(257),s=e(266),l=e(374),u=e(375),c=e(376),d=e(377),p=e(378),f=e(379),h=e(380),m=e(381);class y{constructor(e,t){this.parser=e,this.path=t,this.elements=this.split(t)}split(e){let t=new l.XPathLexer(n.CharStreams.fromString(e));t.recover=e=>{throw e},t.removeErrorListeners(),t.addErrorListener(new u.XPathLexerErrorListener);let r=new i.CommonTokenStream(t);try{r.fill()}catch(r){if(r instanceof o.LexerNoViableAltException){let n="Invalid tokens or characters at index "+t.charPositionInLine+" in path '"+e+"' -- "+r.message;throw new RangeError(n)}throw r}let a=r.getTokens(),c=[],d=a.length,p=0;e:for(;p<d;){let e,t=a[p];switch(t.type){case l.XPathLexer.ROOT:case l.XPathLexer.ANYWHERE:let r=t.type===l.XPathLexer.ANYWHERE,n=(e=a[++p]).type===l.XPathLexer.BANG;n&&(e=a[++p]);let i=this.getXPathElement(e,r);i.invert=n,c.push(i),p++;break;case l.XPathLexer.TOKEN_REF:case l.XPathLexer.RULE_REF:case l.XPathLexer.WILDCARD:c.push(this.getXPathElement(t,!1)),p++;break;case s.Token.EOF:break e;default:throw new Error("Unknowth path element "+t)}}return c}getXPathElement(e,t){if(e.type===s.Token.EOF)throw new Error("Missing path element at end of path");let r=e.text;if(null==r)throw new Error("Expected wordToken to have text content.");let n=this.parser.getTokenType(r),i=this.parser.getRuleIndex(r);switch(e.type){case l.XPathLexer.WILDCARD:return t?new h.XPathWildcardAnywhereElement:new m.XPathWildcardElement;case l.XPathLexer.TOKEN_REF:case l.XPathLexer.STRING:if(n===s.Token.INVALID_TYPE)throw new Error(r+" at index "+e.startIndex+" isn't a valid token name");return t?new p.XPathTokenAnywhereElement(r,n):new f.XPathTokenElement(r,n);default:if(-1===i)throw new Error(r+" at index "+e.startIndex+" isn't a valid rule name");return t?new c.XPathRuleAnywhereElement(r,i):new d.XPathRuleElement(r,i)}}static findAll(e,t,r){return new y(r,t).evaluate(e)}evaluate(e){let t=new a.ParserRuleContext;t.addChild(e);let r=new Set([t]),n=0;for(;n<this.elements.length;){let e=new Set;for(let t of r)t.childCount>0&&this.elements[n].evaluate(t).forEach(e.add,e);n++,r=e}return r}}y.WILDCARD="*",y.NOT="!",r.XPath=y},{235:235,240:240,252:252,257:257,266:266,374:374,375:375,376:376,377:377,378:378,379:379,380:380,381:381}],368:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(242),a=e(266);let s=class{constructor(e,t,r){if(null==e||0===e.length)throw new Error("ruleName cannot be null or empty.");this._ruleName=e,this.bypassTokenType=t,this._label=r}get ruleName(){return this._ruleName}get label(){return this._label}get channel(){return a.Token.DEFAULT_CHANNEL}get text(){return null!=this._label?"<"+this._label+":"+this._ruleName+">":"<"+this._ruleName+">"}get type(){return this.bypassTokenType}get line(){return 0}get charPositionInLine(){return-1}get tokenIndex(){return-1}get startIndex(){return-1}get stopIndex(){return-1}get tokenSource(){}get inputStream(){}toString(){return this._ruleName+":"+this.bypassTokenType}};n([o.NotNull],s.prototype,"ruleName",null),n([o.Override],s.prototype,"channel",null),n([o.Override],s.prototype,"text",null),n([o.Override],s.prototype,"type",null),n([o.Override],s.prototype,"line",null),n([o.Override],s.prototype,"charPositionInLine",null),n([o.Override],s.prototype,"tokenIndex",null),n([o.Override],s.prototype,"startIndex",null),n([o.Override],s.prototype,"stopIndex",null),n([o.Override],s.prototype,"tokenSource",null),n([o.Override],s.prototype,"inputStream",null),n([o.Override],s.prototype,"toString",null),s=n([i(0,o.NotNull)],s),r.RuleTagToken=s},{242:242,266:266}],371:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(238),a=e(242);let s=class extends o.CommonToken{constructor(e,t,r){super(t),this._tokenName=e,this._label=r}get tokenName(){return this._tokenName}get label(){return this._label}get text(){return null!=this._label?"<"+this._label+":"+this._tokenName+">":"<"+this._tokenName+">"}toString(){return this._tokenName+":"+this.type}};n([a.NotNull],s.prototype,"_tokenName",void 0),n([a.NotNull],s.prototype,"tokenName",null),n([a.Override],s.prototype,"text",null),n([a.Override],s.prototype,"toString",null),s=n([i(0,a.NotNull)],s),r.TokenTagToken=s},{238:238,242:242}],370:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}};Object.defineProperty(r,"__esModule",{value:!0});const o=e(364),a=e(242);let s=class extends o.Chunk{constructor(e){if(super(),null==e)throw new Error("text cannot be null");this._text=e}get text(){return this._text}toString(){return"'"+this._text+"'"}};n([a.NotNull],s.prototype,"_text",void 0),n([a.NotNull],s.prototype,"text",null),n([a.Override],s.prototype,"toString",null),s=n([i(0,a.NotNull)],s),r.TextChunk=s},{242:242,364:364}],369:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(364),o=e(242);class a extends i.Chunk{constructor(e,t){if(super(),null==e||0===e.length)throw new Error("tag cannot be null or empty");this._tag=e,this._label=t}get tag(){return this._tag}get label(){return this._label}toString(){return null!=this._label?this._label+":"+this._tag:this._tag}}n([o.NotNull],a.prototype,"tag",null),n([o.Override],a.prototype,"toString",null),r.TagChunk=a},{242:242,364:364}],375:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});class i{syntaxError(e,t,r,n,i,o){}}n([e(242).Override],i.prototype,"syntaxError",null),r.XPathLexerErrorListener=i},{242:242}],374:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});const n=e(273),i=e(250),o=e(294),a=e(268),s=e(355);class l extends i.Lexer{constructor(e){super(e),this._interp=new o.LexerATNSimulator(l._ATN,this)}get vocabulary(){return l.VOCABULARY}get grammarFileName(){return"XPathLexer.g4"}get ruleNames(){return l.ruleNames}get serializedATN(){return l._serializedATN}get channelNames(){return l.channelNames}get modeNames(){return l.modeNames}action(e,t,r){4===t&&this.ID_action(e,r)}ID_action(e,t){if(0===t){let e=this.text;e.charAt(0)===e.charAt(0).toUpperCase()?this.type=l.TOKEN_REF:this.type=l.RULE_REF}}static get _ATN(){return l.__ATN||(l.__ATN=(new n.ATNDeserializer).deserialize(s.toCharArray(l._serializedATN))),l.__ATN}}l.TOKEN_REF=1,l.RULE_REF=2,l.ANYWHERE=3,l.ROOT=4,l.WILDCARD=5,l.BANG=6,l.ID=7,l.STRING=8,l.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],l.modeNames=["DEFAULT_MODE"],l.ruleNames=["ANYWHERE","ROOT","WILDCARD","BANG","ID","NameChar","NameStartChar","STRING"],l._LITERAL_NAMES=[void 0,void 0,void 0,"'//'","'/'","'*'","'!'"],l._SYMBOLIC_NAMES=[void 0,"TOKEN_REF","RULE_REF","ANYWHERE","ROOT","WILDCARD","BANG","ID","STRING"],l.VOCABULARY=new a.VocabularyImpl(l._LITERAL_NAMES,l._SYMBOLIC_NAMES,[]),l._serializedATNSegments=2,l._serializedATNSegment0='줝쪺֍꾺体؇쉁\n2\b\t\t\t\t\t\t\b\t\b\t\t\t\n\f"\v\b\b\t\t\t,\n\t\f\t\t/\v\t\t\t-\n\t\b\v\t\r\nʶ\n2;C\\aac|¡¬¬¯¯··¼¼ÂØÚøú˃ˈ˓ˢ˦ˮˮ˰˰̂Ͷ͸͹ͼͿ΁΁ΈΈΊΌΎΎΐΣΥϷϹ҃҅҉ҌԱԳ՘՛՛գ։ֿׁׁ֓׃ׄ׆ׇ׉׉ג׬ײ״؂؇ؒ؜؞؞آ٫ٰە۪ۗ۟ۡ۬۾܁܁ܑ݌ݏ޳߂߷߼߼ࠂ࠯ࡂ࡝ࢢࢶࢸࢿࣖ॥२ॱॳঅই঎঑঒কপবল঴঴স঻া৆৉৊্৐৙৙৞য়ৡ৥২৳ਃਅਇ਌਑਒ਕਪਬਲ਴ਵ਷ਸ਺਻ਾਾੀ੄੉੊੍੏੓੓ਜ਼ਫ਼੠੠੨੷ઃઅઇએઑઓકપબલ઴વષ઻ાેૉો્૏૒૒ૢ૥૨૱ૻૻଃଅଇ଎଑଒କପବଲ଴ଵଷ଻ା୆୉୊୍୏୘୙୞ୟୡ୥୨ୱ୳୳஄அஇ஌ஐஒஔ஗஛ஜஞஞ஠஡஥஦ப஬ர஻ீ௄ைொௌ௏௒௒௙௙௨௱ంఅఇఎఐఒఔపబ఻ిెైొౌ౏౗ౘౚ౜ౢ౥౨౱ಂಅಇಎಐಒಔಪಬವಷ಻ಾೆೈೊೌ೏೗೘ೠೠೢ೥೨ೱೳ೴ഃഅഇഎഐഒഔ഼ിെൈൊൌ൐ൖ൙ൡ൥൨൱ർඁ඄අඇ඘ගඳඵල඿඿ෂ෈෌෌ෑූෘෘේ෡෨෱෴෵ฃ฼โ๐๒๛຃ຄຆຆຉຊຌຌຏຏຖນປມຣລວວຩຩຬອຯົຽ຿ໂໆ່່໊໏໒໛ໞ໡༂༂༚༛༢༫༹༹༷༷༻༻ཀཉཋ཮ཱི྆ྈྙྛ྾࿈࿈ဂ။ၒ႟ႢჇ჉჉჏჏გჼჾቊቌ቏ቒቘቚቚቜ቟ቢኊኌ኏ኒኲኴ኷ኺዀዂዂዄ዇ዊዘዚጒጔ጗ጚ፜፟፡ᎂ᎑Ꭲ᏷ᏺ᏿ᐃ᙮ᙱᚁᚃ᚜ᚢ᛬ᛰ᛺ᜂᜎᜐ᜖ᜢ᜶ᝂ᝕ᝢᝮᝰᝲ᝴᝵គ៕៙៙៞៟២៫᠍᠐᠒᠛ᠢ᡹ᢂ᢬ᢲ᣷ᤂᤠᤢ᤭ᤲ᤽᥈᥯ᥲ᥶ᦂ᦭ᦲ᧋᧒᧛ᨂ᨝ᨢ᩠ᩢ᩾᪁᪋᪒᪛᪩᪩ᪿ᪲ᬂ᭍᭒᭛᭭᭵ᮂ᯵ᰂ᰹᱂᱋ᱏ᱿ᲂᲊ᳔᳖᳒᳸ᳺ᳻ᴂ᷽᷷἗Ἒ἟ἢ὇Ὂ὏ὒὙὛὛὝὝὟὟὡ὿ᾂᾶᾸι῀῀ῄῆῈ῎ῒ῕Ῐ῝ῢ΅ῴῶῸ῾‍‑‬‰⁁⁂⁖⁖⁢⁦⁨ⁱ⁳⁳₁₁ₒ₞⃒⃞⃣⃣⃧⃲℄℄℉℉ℌℕ℗℗ℛ℟ΩΩℨℨKKℬℯℱ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ↊ⰂⰰⰲⱠⱢ⳦Ⳮ⳵ⴂⴧ⴩⴩⴯⴯ⴲ⵩⵱⵱ⶁ⶘ⶢⶨⶪⶰⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚⷠⷢ⸁⸱⸱〇〉〣〱〳〷〺〾ぃ゘゛゜ゟァィーヾ㄁ㄇㄯㄳ㆐ㆢㆼㇲ㈁㐂䶷丂鿗ꀂ꒎ꓒ꓿ꔂ꘎ꘒ꘭Ꙃ꙱ꙶꙿꚁ꛳ꜙ꜡Ꜥ꞊ꞍꞰꞲꞹꟹ꠩ꡂ꡵ꢂ꣇꣒꣛꣢꣹ꣽꣽꣿꣿ꤂꤯ꤲ꥕ꥢ꥾ꦂ꧂꧑꧛ꧢꨀꨂ꨸ꩂ꩏꩒꩛ꩢ꩸ꩼ꫄ꫝ꫟ꫢ꫱ꫴ꫸ꬃ꬈ꬋ꬐ꬓ꬘ꬢꬨꬪꬰꬲꭜꭞꭧꭲ꯬꯮꯯꯲꯻갂힥ힲ퟈ퟍ퟽車﩯全﫛fl﬈ﬕ﬙ײַשׁשּׁטּךּמּנּנּ﭂ףּ﭅צּרּ﮳ﯕ﴿ﵒ﶑ﶔ﷉ﷲ﷽︂︑︢︱︵︶﹏﹑ﹲﹶﹸ﻾!!2;C\aac|ィ￀ᅣ￉ᅩ￑ᅯ￙ᅵ￞�\r(*<>?AOR_‚üłŶǿǿʂʞʢ˒ˢˢ̡̲̂͌͒ͼ΂Ο΢υϊϑϓϗЂҟҢҫҲӕӚӽԂԩԲե؂ܸ݂ݗݢݩࠂࠇࠊࠊࠌ࠷࠹࠺࠾࠾ࡁࡗࡢࡸࢂࢠ࣢ࣶࣴࣷंगढऻংহীুਂਅਇਈ਎ਕਗਙਛਵ਺਼ੁੁ੢੾ંઞૂૉો૨ଂଷୂୗୢ୴ஂஓంొಂ಴ೂ೴ဂ၈ၨၱႁႼႿႿგცჲ჻ᄂᄶᄸᅁᅒᅵᅸᅸᆂᇆᇌᇎᇒᇜᇞᇞሂሓሕሹቀቀኂኈኊኊኌ኏ኑኟኡኪኲዬዲዻጂጅጇጎ጑ጒጕጪጬጲጴጵጷጻጾፆፉፊፍፏፒፒፙፙ፟፥፨፮፲፶ᐂᑌᑒᑛᒂᓇᓉᓉᓒᓛᖂᖷᖺᗂᗚᗟᘂᙂᙆᙆᙒᙛᚂᚹᛂᛋᜂ᜛ᜟᜭᜲ᜻ᢢᣫᤁᤁ᫂᫺ᰂᰊᰌ᰸᰺᱂᱒ᱛᱴᲑᲔᲩᲫᲸ ⎛␂⑰⒂╅。㐰䐂䙈栂樺橂橠橢橫櫒櫯櫲櫶欂欸歂歅歒歛步歹歿殑漂潆潒澀澑澡濢濢瀂蟮蠂諴뀂뀃밂뱬뱲뱾벂벊벒벛벟베벢벥텧텫텯톄톇톍톬톯퉄퉆퐂푖푘풞풠풡풤풤풧풨풫풮풰풻풽풽풿퓅퓇픇픉플픏픖픘픞픠픻픽핀핂핆핈핈핌핒핔횧횪훂후훜훞훼훾휖휘휶휸흐흒흰흲힊힌힪힬ퟄퟆퟍퟐ\ud801\uda02\uda38\uda3d\uda6e\uda77\uda77\uda86\uda86\uda9d\udaa1\udaa3\udab1ꛘ꜂뜶띂렟렢캣﨟"ĂDZɀC\\c|¬¬··¼¼ÂØÚøú˃ˈ˓ˢ˦ˮˮ˰˰ͲͶ͸͹ͼͿ΁΁ΈΈΊΌΎΎΐΣΥϷϹ҃ҌԱԳ՘՛՛գ։ג׬ײ״آٌٰٱٳەۗۗۧۨ۰۱ۼ۾܁܁ܒܒܔܱݏާ޳޳ߌ߬߶߷߼߼ࠂࠗࠜࠜࠦࠦࠪࠪࡂ࡚ࢢࢶࢸࢿआऻिि॒॒ग़ॣॳংই঎঑঒কপবল঴঴স঻িি৐৐৞য়ৡৣ৲৳ਇ਌਑਒ਕਪਬਲ਴ਵ਷ਸ਺਻ਜ਼ਫ਼੠੠ੴ੶ઇએઑઓકપબલ઴વષ઻િિ૒૒ૢૣૻૻଇ଎଑଒କପବଲ଴ଵଷ଻ିି୞ୟୡୣ୳୳அஅஇ஌ஐஒஔ஗஛ஜஞஞ஠஡஥஦ப஬ர஻௒௒ఇఎఐఒఔపబ఻ిిౚ౜ౢౣಂಂಇಎಐಒಔಪಬವಷ಻ಿಿೠೠೢೣೳ೴ഇഎഐഒഔ഼ിി൐൐ൖ൘ൡൣർඁඇ඘ගඳඵල඿඿ෂ෈ฃาิีโ่຃ຄຆຆຉຊຌຌຏຏຖນປມຣລວວຩຩຬອຯາິີ຿຿ໂໆ່່ໞ໡༂༂གཉཋ཮ྊྎဂာ၁၁ၒၗၜၟၣၣၧၨၰၲၷႃ႐႐ႢჇ჉჉჏჏გჼჾቊቌ቏ቒቘቚቚቜ቟ቢኊኌ኏ኒኲኴ኷ኺዀዂዂዄ዇ዊዘዚጒጔ጗ጚ፜ᎂ᎑Ꭲ᏷ᏺ᏿ᐃ᙮ᙱᚁᚃ᚜ᚢ᛬ᛰ᛺ᜂᜎᜐᜓᜢᜳᝂᝓᝢᝮᝰᝲគ឵៙៙៞៞ᠢ᡹ᢂᢆᢉᢪ᢬᢬ᢲ᣷ᤂᤠᥒ᥯ᥲ᥶ᦂ᦭ᦲ᧋ᨂᨘᨢᩖ᪩᪩ᬈᭇ᭍ᮅᮢ᮰᮱ᮼᯧᰂᰥᱏ᱑ᱜ᱿ᲂᲊᳫᳮᳰᳳ᳷᳸ᴂ᷁Ḃ἗Ἒ἟ἢ὇Ὂ὏ὒὙὛὛὝὝὟὟὡ὿ᾂᾶᾸι῀῀ῄῆῈ῎ῒ῕Ῐ῝ῢ΅ῴῶῸ῾⁳⁳₁₁ₒ₞℄℄℉℉ℌℕ℗℗ℛ℟ΩΩℨℨKKℬℯℱ℻ℾ⅁ⅇ⅋⅐⅐Ⅲ↊ⰂⰰⰲⱠⱢ⳦Ⳮ⳰⳴⳵ⴂⴧ⴩⴩⴯⴯ⴲ⵩⵱⵱ⶂ⶘ⶢⶨⶪⶰⶲⶸⶺⷀⷂⷈⷊⷐⷒⷘⷚⷠ⸱⸱〇〉〣〫〳〷〺〾ぃ゘ゟァィーヾ㄁ㄇㄯㄳ㆐ㆢㆼㇲ㈁㐂䶷丂鿗ꀂ꒎ꓒ꓿ꔂ꘎ꘒ꘡꘬꘭Ꙃ꙰ꚁꚟꚢ꛱ꜙ꜡Ꜥ꞊ꞍꞰꞲꞹꟹꠃꠅꠇꠉꠌꠎꠤꡂ꡵ꢄꢵꣴ꣹ꣽꣽꣿꣿꤌꤧꤲꥈꥢ꥾ꦆꦴ꧑꧑ꧢꧦꧨ꧱ꧼꨀꨂꨪꩂꩄꩆꩍꩢ꩸ꩼꩼꪀꪱꪳꪳꪷꪸꪻ꪿ꫂꫂ꫄꫄ꫝ꫟ꫢꫬꫴ꫶ꬃ꬈ꬋ꬐ꬓ꬘ꬢꬨꬪꬰꬲꭜꭞꭧꭲꯤ갂힥ힲ퟈ퟍ퟽車﩯全﫛fl﬈ﬕ﬙ײַײַﬡשׁשּׁטּךּמּנּנּ﭂ףּ﭅צּרּ﮳ﯕ﴿ﵒ﶑ﶔ﷉ﷲ﷽ﹲﹶﹸ﻾C\c|ィ￀ᅣ￉ᅩ￑ᅯ￙ᅵ￞\r(*<>?AOR_‚üłŶʂʞʢ˒̡̲̂͌͒ͷ΂Ο΢υϊϑϓϗЂҟҲӕӚӽԂԩԲե؂ܸ݂ݗݢݩࠂࠇࠊࠊࠌ࠷࠹࠺࠾࠾ࡁࡗࡢࡸࢂࢠ࣢ࣶࣴࣷंगढऻংহীুਂਂ਒ਕਗਙਛਵ੢੾ંઞૂૉો૦ଂଷୂୗୢ୴ஂஓంొಂ಴ೂ೴စ္ႅႱგცᄅᄨᅒᅴᅸᅸᆅᆴᇃᇆᇜᇜᇞᇞሂሓሕርኂኈኊኊኌ኏ኑኟኡኪኲዠጇጎ጑ጒጕጪጬጲጴጵጷጻጿጿፒፒ፟፣ᐂᐶᑉᑌᒂᒱᓆᓇᓉᓉᖂᖰᗚᗝᘂᘱᙆᙆᚂᚬᜂ᜛ᢢᣡᤁᤁ᫂᫺ᰂᰊᰌᰰ᱂᱂ᱴᲑ ⎛␂⑰⒂╅。㐰䐂䙈栂樺橂橠櫒櫯欂欱歂歅步歹歿殑漂潆潒潒澕澡濢濢瀂蟮蠂諴뀂뀃밂뱬뱲뱾벂벊벒벛퐂푖푘풞풠풡풤풤풧풨풫풮풰풻풽풽풿퓅퓇픇픉플픏픖픘픞픠픻픽핀핂핆핈핈',l._serializedATNSegment1="핌핒핔횧횪훂후훜훞훼훾휖휘휶휸흐흒흰흲힊힌힪힬ퟄퟆퟍꛘ꜂뜶띂렟렢캣﨟1\t\v\t\v\r%')111,\b#\n \b\r\"  !!#\" #$\b$\f%&\t&'(\t()-)*,\v+*,/-.-+.0/-01)1 -",l._serializedATN=s.join([l._serializedATNSegment0,l._serializedATNSegment1],""),r.XPathLexer=l},{250:250,268:268,273:273,294:294,355:355}],378:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(362),a=e(373);class s extends a.XPathElement{constructor(e,t){super(e),this.tokenType=t}evaluate(e){return o.Trees.findAllTokenNodes(e,this.tokenType)}}n([i.Override],s.prototype,"evaluate",null),r.XPathTokenAnywhereElement=s},{242:242,362:362,373:373}],379:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(361),a=e(362),s=e(373);class l extends s.XPathElement{constructor(e,t){super(e),this.tokenType=t}evaluate(e){let t=[];for(let r of a.Trees.getChildren(e))r instanceof o.TerminalNode&&(r.symbol.type===this.tokenType&&!this.invert||r.symbol.type!==this.tokenType&&this.invert)&&t.push(r);return t}}n([i.Override],l.prototype,"evaluate",null),r.XPathTokenElement=l},{242:242,361:361,362:362,373:373}],376:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(362),a=e(373);class s extends a.XPathElement{constructor(e,t){super(e),this.ruleIndex=t}evaluate(e){return o.Trees.findAllRuleNodes(e,this.ruleIndex)}}n([i.Override],s.prototype,"evaluate",null),r.XPathRuleAnywhereElement=s},{242:242,362:362,373:373}],380:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(362),a=e(372),s=e(373);class l extends s.XPathElement{constructor(){super(a.XPath.WILDCARD)}evaluate(e){return this.invert?[]:o.Trees.getDescendants(e)}}n([i.Override],l.prototype,"evaluate",null),r.XPathWildcardAnywhereElement=l},{242:242,362:362,372:372,373:373}],381:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(242),o=e(362),a=e(372),s=e(373);class l extends s.XPathElement{constructor(){super(a.XPath.WILDCARD)}evaluate(e){let t=[];if(this.invert)return t;for(let r of o.Trees.getChildren(e))t.push(r);return t}}n([i.Override],l.prototype,"evaluate",null),r.XPathWildcardElement=l},{242:242,362:362,372:372,373:373}],377:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});const i=e(257),o=e(242),a=e(362),s=e(373);class l extends s.XPathElement{constructor(e,t){super(e),this.ruleIndex=t}evaluate(e){let t=[];for(let r of a.Trees.getChildren(e))r instanceof i.ParserRuleContext&&(r.ruleIndex===this.ruleIndex&&!this.invert||r.ruleIndex!==this.ruleIndex&&this.invert)&&t.push(r);return t}}n([o.Override],l.prototype,"evaluate",null),r.XPathRuleElement=l},{242:242,257:257,362:362,373:373}],373:[function(e,t,r){var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a};Object.defineProperty(r,"__esModule",{value:!0});class i{constructor(e){this.nodeName=e,this.invert=!1}toString(){let e=this.invert?"!":"";return Object.constructor.name+"["+e+this.nodeName+"]"}}n([e(242).Override],i.prototype,"toString",null),r.XPathElement=i},{242:242}],382:[function(e,t,r){t.exports=function(e,t,r){if(e.filter)return e.filter(t,r);if(null==e)throw new TypeError;if("function"!=typeof t)throw new TypeError;for(var i=[],o=0;o<e.length;o++)if(n.call(e,o)){var a=e[o];t.call(r,a,o,e)&&i.push(a)}return i};var n=Object.prototype.hasOwnProperty},{}],384:[function(e,t,r){(function(r){(function(){var n=e(382);t.exports=function(){return n(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],(function(e){return"function"==typeof r[e]}))}}).call(this)}).call(this,void 0!==j?j:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{382:382}],394:[function(e,t,r){const n=e(393),i={allowBooleanAttributes:!1,unpairedTags:[]};function o(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function a(e,t){const r=t;for(;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{const n=e.substr(r,t-r);if(t>5&&"xml"===n)return p("InvalidXml","XML declaration allowed only at the start of the document.",h(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}function l(e,t){let r="",n="",i=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===n?n=e[t]:n!==e[t]||(n="");else if(">"===e[t]&&""===n){i=!0;break}r+=e[t]}return""===n&&{value:r,index:t,tagClosed:i}}r.validate=function(e,t){t=Object.assign({},i,t);const r=[];let u=!1,f=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(let i=0;i<e.length;i++)if("<"===e[i]&&"?"===e[i+1]){if((i=a(e,i+=2)).err)return i}else{if("<"!==e[i]){if(o(e[i]))continue;return p("InvalidChar","char '"+e[i]+"' is not expected.",h(e,i))}{let y=i;if("!"===e[++i]){i=s(e,i);continue}{let v=!1;"/"===e[i]&&(v=!0,i++);let g="";for(;i<e.length&&">"!==e[i]&&" "!==e[i]&&"\t"!==e[i]&&"\n"!==e[i]&&"\r"!==e[i];i++)g+=e[i];if("/"===(g=g.trim())[g.length-1]&&(g=g.substring(0,g.length-1),i--),m=g,!n.isName(m))return p("InvalidTag",0===g.trim().length?"Invalid space after '<'.":"Tag '"+g+"' is an invalid name.",h(e,i));const b=l(e,i);if(!1===b)return p("InvalidAttr","Attributes for '"+g+"' have open quote.",h(e,i));let C=b.value;if(i=b.index,"/"===C[C.length-1]){const r=i-C.length,n=c(C=C.substring(0,C.length-1),t);if(!0!==n)return p(n.err.code,n.err.msg,h(e,r+n.err.line));u=!0}else if(v){if(!b.tagClosed)return p("InvalidTag","Closing tag '"+g+"' doesn't have proper closing.",h(e,i));if(C.trim().length>0)return p("InvalidTag","Closing tag '"+g+"' can't have attributes or invalid starting.",h(e,y));{const t=r.pop();if(g!==t.tagName){let r=h(e,t.tagStartPos);return p("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+g+"'.",h(e,y))}0==r.length&&(f=!0)}}else{const n=c(C,t);if(!0!==n)return p(n.err.code,n.err.msg,h(e,i-C.length+n.err.line));if(!0===f)return p("InvalidXml","Multiple possible root nodes found.",h(e,i));-1!==t.unpairedTags.indexOf(g)||r.push({tagName:g,tagStartPos:y}),u=!0}for(i++;i<e.length;i++)if("<"===e[i]){if("!"===e[i+1]){i=s(e,++i);continue}if("?"!==e[i+1])break;if((i=a(e,++i)).err)return i}else if("&"===e[i]){const t=d(e,i);if(-1==t)return p("InvalidChar","char '&' is not expected.",h(e,i));i=t}else if(!0===f&&!o(e[i]))return p("InvalidXml","Extra text at the end",h(e,i));"<"===e[i]&&i--}}}var m;return u?1==r.length?p("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",h(e,r[0].tagStartPos)):!(r.length>0)||p("InvalidXml","Invalid '"+JSON.stringify(r.map((e=>e.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):p("InvalidXml","Start tag expected.",1)};const u=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function c(e,t){const r=n.getAllMatches(e,u),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return p("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",m(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return p("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",m(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return p("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",m(r[e]));const n=r[e][2];if(!f(n))return p("InvalidAttr","Attribute '"+n+"' is an invalid name.",m(r[e]));if(i.hasOwnProperty(n))return p("InvalidAttr","Attribute '"+n+"' is repeated.",m(r[e]));i[n]=1}return!0}function d(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){let r=/\d/;for("x"===e[t]&&(t++,r=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(r))break}return-1}(e,++t);let r=0;for(;t<e.length;t++,r++)if(!(e[t].match(/\w/)&&r<20)){if(";"===e[t])break;return-1}return t}function p(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function f(e){return n.isName(e)}function h(e,t){const r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function m(e){return e.startIndex+e[1].length}},{393:393}],395:[function(e,t,r){const n=e(396),i={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function o(e){this.options=Object.assign({},i,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=a,this.options.format?(this.indentate=s,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function a(e,t,r){const n=this.j2x(e,r+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,n.attrStr,r):this.buildObjectNode(n.val,t,n.attrStr,r)}function s(e){return this.options.indentBy.repeat(e)}function l(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e.substr(this.attrPrefixLen)}o.prototype.build=function(e){return this.options.preserveOrder?n(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)},o.prototype.j2x=function(e,t){let r="",n="";for(let i in e)if(void 0===e[i]);else if(null===e[i])"?"===i[0]?n+=this.indentate(t)+"<"+i+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)n+=this.buildTextValNode(e[i],i,"",t);else if("object"!=typeof e[i]){const o=this.isAttribute(i);if(o)r+=this.buildAttrPairStr(o,""+e[i]);else if(i===this.options.textNodeName){let t=this.options.tagValueProcessor(i,""+e[i]);n+=this.replaceEntitiesValue(t)}else n+=this.buildTextValNode(e[i],i,"",t)}else if(Array.isArray(e[i])){const r=e[i].length;let o="";for(let a=0;a<r;a++){const r=e[i][a];void 0===r||(null===r?"?"===i[0]?n+=this.indentate(t)+"<"+i+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar:"object"==typeof r?this.options.oneListGroup?o+=this.j2x(r,t+1).val:o+=this.processTextOrObjNode(r,i,t):o+=this.buildTextValNode(r,i,"",t))}this.options.oneListGroup&&(o=this.buildObjectNode(o,i,"",t)),n+=o}else if(this.options.attributesGroupName&&i===this.options.attributesGroupName){const t=Object.keys(e[i]),n=t.length;for(let o=0;o<n;o++)r+=this.buildAttrPairStr(t[o],""+e[i][t[o]])}else n+=this.processTextOrObjNode(e[i],i,t);return{attrStr:r,val:n}},o.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t?" "+e:" "+e+'="'+t+'"'},o.prototype.buildObjectNode=function(e,t,r,n){if(""===e)return"?"===t[0]?this.indentate(n)+"<"+t+r+"?"+this.tagEndChar:this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{let i="</"+t+this.tagEndChar,o="";return"?"===t[0]&&(o="?",i=""),r&&-1===e.indexOf("<")?this.indentate(n)+"<"+t+r+o+">"+e+i:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===o.length?this.indentate(n)+`\x3c!--${e}--\x3e`+this.newLine:this.indentate(n)+"<"+t+r+o+this.tagEndChar+e+this.indentate(n)+i}},o.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":"></"+e,t},o.prototype.buildTextValNode=function(e,t,r,n){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(n)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(n)+`\x3c!--${e}--\x3e`+this.newLine;if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return""===(i=this.replaceEntitiesValue(i))?this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+r+">"+i+"</"+t+this.tagEndChar}},o.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e},t.exports=o},{396:396}],400:[function(e,t,r){const{buildOptions:n}=e(398),i=e(399),{prettify:o}=e(401),a=e(394);t.exports=class{constructor(e){this.externalEntities={},this.options=n(e)}parse(e,t){if("string"==typeof e);else{if(!e.toString)throw new Error("XML data is accepted in String or Bytes[] form.");e=e.toString()}if(t){!0===t&&(t={});const r=a.validate(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}const r=new i(this.options);r.addExternalEntities(this.externalEntities);const n=r.parseXml(e);return this.options.preserveOrder||void 0===n?n:o(n,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}},{394:394,398:398,399:399,401:401}],393:[function(e,t,r){const n="[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",i=new RegExp("^"+n+"$");r.isExist=function(e){return void 0!==e},r.isName=function(e){return!(null==i.exec(e))},r.getAllMatches=function(e,t){const r=[];let n=t.exec(e);for(;n;){const i=[];i.startIndex=t.lastIndex-n[0].length;const o=n.length;for(let e=0;e<o;e++)i.push(n[e]);r.push(i),n=t.exec(e)}return r},r.nameRegexp=n},{}],396:[function(e,t,r){function n(e){const t=Object.keys(e);for(let e=0;e<t.length;e++){const r=t[e];if(":@"!==r)return r}}function i(e,t){let r="";if(e&&!t.ignoreAttributes)for(let n in e){let i=t.attributeValueProcessor(n,e[n]);!0===(i=a(i,t))&&t.suppressBooleanAttributes?r+=" "+n.substr(t.attributeNamePrefix.length):r+=` ${n.substr(t.attributeNamePrefix.length)}="${i}"`}return r}function o(e,t){let r=(e=e.substr(0,e.length-t.textNodeName.length-1)).substr(e.lastIndexOf(".")+1);for(let n in t.stopNodes)if(t.stopNodes[n]===e||t.stopNodes[n]==="*."+r)return!0;return!1}function a(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){const n=t.entities[r];e=e.replace(n.regex,n.val)}return e}t.exports=function(e,t){let r="";return t.format&&t.indentBy.length>0&&(r="\n"),function e(t,r,s,l){let u="",c=!1;for(let d=0;d<t.length;d++){const p=t[d],f=n(p);let h="";if(h=0===s.length?f:`${s}.${f}`,f===r.textNodeName){let e=p[f];o(h,r)||(e=a(e=r.tagValueProcessor(f,e),r)),c&&(u+=l),u+=e,c=!1;continue}if(f===r.cdataPropName){c&&(u+=l),u+=`<![CDATA[${p[f][0][r.textNodeName]}]]>`,c=!1;continue}if(f===r.commentPropName){u+=l+`\x3c!--${p[f][0][r.textNodeName]}--\x3e`,c=!0;continue}if("?"===f[0]){const e=i(p[":@"],r),t="?xml"===f?"":l;let n=p[f][0][r.textNodeName];n=0!==n.length?" "+n:"",u+=t+`<${f}${n}${e}?>`,c=!0;continue}let m=l;""!==m&&(m+=r.indentBy);const y=l+`<${f}${i(p[":@"],r)}`,v=e(p[f],r,h,m);-1!==r.unpairedTags.indexOf(f)?r.suppressUnpairedNode?u+=y+">":u+=y+"/>":v&&0!==v.length||!r.suppressEmptyNode?v&&v.endsWith(">")?u+=y+`>${v}${l}</${f}>`:(u+=y+">",v&&""!==l&&(v.includes("/>")||v.includes("</"))?u+=l+r.indentBy+v+l:u+=v,u+=`</${f}>`):u+=y+"/>",c=!0}return u}(e,t,"",r)}},{}],397:[function(e,t,r){const n=e(393);function i(e,t){let r="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)r+=e[t];if(-1!==(r=r.trim()).indexOf(" "))throw new Error("External entites are not supported");const n=e[t++];let i="";for(;t<e.length&&e[t]!==n;t++)i+=e[t];return[r,i,t]}function o(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}function a(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"N"===e[t+3]&&"T"===e[t+4]&&"I"===e[t+5]&&"T"===e[t+6]&&"Y"===e[t+7]}function s(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"L"===e[t+3]&&"E"===e[t+4]&&"M"===e[t+5]&&"E"===e[t+6]&&"N"===e[t+7]&&"T"===e[t+8]}function l(e,t){return"!"===e[t+1]&&"A"===e[t+2]&&"T"===e[t+3]&&"T"===e[t+4]&&"L"===e[t+5]&&"I"===e[t+6]&&"S"===e[t+7]&&"T"===e[t+8]}function u(e,t){return"!"===e[t+1]&&"N"===e[t+2]&&"O"===e[t+3]&&"T"===e[t+4]&&"A"===e[t+5]&&"T"===e[t+6]&&"I"===e[t+7]&&"O"===e[t+8]&&"N"===e[t+9]}function c(e){if(n.isName(e))return e;throw new Error("Invalid entity name "+e)}t.exports=function(e,t){const r={};if("O"!==e[t+3]||"C"!==e[t+4]||"T"!==e[t+5]||"Y"!==e[t+6]||"P"!==e[t+7]||"E"!==e[t+8])throw new Error("Invalid Tag instead of DOCTYPE");{t+=9;let n=1,d=!1,p=!1,f="";for(;t<e.length;t++)if("<"!==e[t]||p)if(">"===e[t]){if(p?"-"===e[t-1]&&"-"===e[t-2]&&(p=!1,n--):n--,0===n)break}else"["===e[t]?d=!0:f+=e[t];else{if(d&&a(e,t))t+=7,[entityName,val,t]=i(e,t+1),-1===val.indexOf("&")&&(r[c(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(d&&s(e,t))t+=8;else if(d&&l(e,t))t+=8;else if(d&&u(e,t))t+=9;else{if(!o)throw new Error("Invalid DOCTYPE");p=!0}n++,f=""}if(0!==n)throw new Error("Unclosed DOCTYPE")}return{entities:r,i:t}}},{393:393}],398:[function(e,t,r){const n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e}};r.buildOptions=function(e){return Object.assign({},n,e)}},{}],399:[function(e,t,r){const n=e(393),i=e(402),o=e(397),a=e(423);function s(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const n=t[r];this.lastEntities[n]={regex:new RegExp("&"+n+";","g"),val:e[n]}}}function l(e,t,r,n,i,o,a){if(void 0!==e&&(this.options.trimValues&&!n&&(e=e.trim()),e.length>0)){a||(e=this.replaceEntitiesValue(e));const n=this.options.tagValueProcessor(t,e,r,i,o);return null==n?e:typeof n!=typeof e||n!==e?n:this.options.trimValues||e.trim()===e?C(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function u(e){if(this.options.removeNSPrefix){const t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,n.nameRegexp);const c=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function d(e,t,r){if(!this.options.ignoreAttributes&&"string"==typeof e){const r=n.getAllMatches(e,c),i=r.length,o={};for(let e=0;e<i;e++){const n=this.resolveNameSpace(r[e][1]);let i=r[e][4],a=this.options.attributeNamePrefix+n;if(n.length)if(this.options.transformAttributeName&&(a=this.options.transformAttributeName(a)),"__proto__"===a&&(a="#__proto__"),void 0!==i){this.options.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i);const e=this.options.attributeValueProcessor(n,i,t);o[a]=null==e?i:typeof e!=typeof i||e!==i?e:C(i,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[a]=!0)}if(!Object.keys(o).length)return;if(this.options.attributesGroupName){const e={};return e[this.options.attributesGroupName]=o,e}return o}}const p=function(e){e=e.replace(/\r\n?/g,"\n");const t=new i("!xml");let r=t,n="",a="";for(let s=0;s<e.length;s++)if("<"===e[s])if("/"===e[s+1]){const t=v(e,">",s,"Closing Tag is not closed.");let i=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){const e=i.indexOf(":");-1!==e&&(i=i.substr(e+1))}this.options.transformTagName&&(i=this.options.transformTagName(i)),r&&(n=this.saveTextToParentTag(n,r,a));const o=a.substring(a.lastIndexOf(".")+1);if(i&&-1!==this.options.unpairedTags.indexOf(i))throw new Error(`Unpaired tag can not be used as closing tag: </${i}>`);let l=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(l=a.lastIndexOf(".",a.lastIndexOf(".")-1),this.tagsNodeStack.pop()):l=a.lastIndexOf("."),a=a.substring(0,l),r=this.tagsNodeStack.pop(),n="",s=t}else if("?"===e[s+1]){let t=g(e,s,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,a),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new i(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,a,t.tagName)),this.addChild(r,e,a)}s=t.closeIndex+1}else if("!--"===e.substr(s+1,3)){const t=v(e,"--\x3e",s+4,"Comment is not closed.");if(this.options.commentPropName){const i=e.substring(s+4,t-2);n=this.saveTextToParentTag(n,r,a),r.add(this.options.commentPropName,[{[this.options.textNodeName]:i}])}s=t}else if("!D"===e.substr(s+1,2)){const t=o(e,s);this.docTypeEntities=t.entities,s=t.i}else if("!["===e.substr(s+1,2)){const t=v(e,"]]>",s,"CDATA is not closed.")-2,i=e.substring(s+9,t);if(n=this.saveTextToParentTag(n,r,a),this.options.cdataPropName)r.add(this.options.cdataPropName,[{[this.options.textNodeName]:i}]);else{let e=this.parseTextData(i,r.tagname,a,!0,!1,!0);null==e&&(e=""),r.add(this.options.textNodeName,e)}s=t+2}else{let o=g(e,s,this.options.removeNSPrefix),l=o.tagName,u=o.tagExp,c=o.attrExpPresent,d=o.closeIndex;this.options.transformTagName&&(l=this.options.transformTagName(l)),r&&n&&"!xml"!==r.tagname&&(n=this.saveTextToParentTag(n,r,a,!1));const p=r;if(p&&-1!==this.options.unpairedTags.indexOf(p.tagname)&&(r=this.tagsNodeStack.pop(),a=a.substring(0,a.lastIndexOf("."))),l!==t.tagname&&(a+=a?"."+l:l),this.isItStopNode(this.options.stopNodes,a,l)){let t="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)s=o.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(l))s=o.closeIndex;else{const r=this.readStopNodeData(e,l,d+1);if(!r)throw new Error("Unexpected end of "+l);s=r.i,t=r.tagContent}const n=new i(l);l!==u&&c&&(n[":@"]=this.buildAttributesMap(u,a,l)),t&&(t=this.parseTextData(t,l,a,!0,c,!0,!0)),a=a.substr(0,a.lastIndexOf(".")),n.add(this.options.textNodeName,t),this.addChild(r,n,a)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){u="/"===l[l.length-1]?l=l.substr(0,l.length-1):u.substr(0,u.length-1),this.options.transformTagName&&(l=this.options.transformTagName(l));const e=new i(l);l!==u&&c&&(e[":@"]=this.buildAttributesMap(u,a,l)),this.addChild(r,e,a),a=a.substr(0,a.lastIndexOf("."))}else{const e=new i(l);this.tagsNodeStack.push(r),l!==u&&c&&(e[":@"]=this.buildAttributesMap(u,a,l)),this.addChild(r,e,a),r=e}n="",s=d}}else n+=e[s];return t.child};function f(e,t,r){const n=this.options.updateTag(t.tagname,r,t[":@"]);!1===n||("string"==typeof n?(t.tagname=n,e.addChild(t)):e.addChild(t))}const h=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const r=this.docTypeEntities[t];e=e.replace(r.regx,r.val)}for(let t in this.lastEntities){const r=this.lastEntities[t];e=e.replace(r.regex,r.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const r=this.htmlEntities[t];e=e.replace(r.regex,r.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function m(e,t,r,n){return e&&(void 0===n&&(n=0===Object.keys(t.child).length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,n))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function y(e,t,r){const n="*."+r;for(const r in e){const i=e[r];if(n===i||t===i)return!0}return!1}function v(e,t,r,n){const i=e.indexOf(t,r);if(-1===i)throw new Error(n);return i+t.length-1}function g(e,t,r,n=">"){const i=function(e,t,r=">"){let n,i="";for(let o=t;o<e.length;o++){let t=e[o];if(n)t===n&&(n="");else if('"'===t||"'"===t)n=t;else if(t===r[0]){if(!r[1])return{data:i,index:o};if(e[o+1]===r[1])return{data:i,index:o}}else"\t"===t&&(t=" ");i+=t}}(e,t+1,n);if(!i)return;let o=i.data;const a=i.index,s=o.search(/\s/);let l=o,u=!0;if(-1!==s&&(l=o.substr(0,s).replace(/\s\s*$/,""),o=o.substr(s+1)),r){const e=l.indexOf(":");-1!==e&&(u=(l=l.substr(e+1))!==i.data.substr(e+1))}return{tagName:l,tagExp:o,closeIndex:a,attrExpPresent:u}}function b(e,t,r){const n=r;let i=1;for(;r<e.length;r++)if("<"===e[r])if("/"===e[r+1]){const o=v(e,">",r,t+" is not closed");if(e.substring(r+2,o).trim()===t&&0==--i)return{tagContent:e.substring(n,r),i:o};r=o}else if("?"===e[r+1])r=v(e,"?>",r+1,"StopNode is not closed.");else if("!--"===e.substr(r+1,3))r=v(e,"--\x3e",r+3,"StopNode is not closed.");else if("!["===e.substr(r+1,2))r=v(e,"]]>",r,"StopNode is not closed.")-2;else{const n=g(e,r,">");n&&((n&&n.tagName)===t&&"/"!==n.tagExp[n.tagExp.length-1]&&i++,r=n.closeIndex)}}function C(e,t,r){if(t&&"string"==typeof e){const t=e.trim();return"true"===t||"false"!==t&&a(e,r)}return n.isExist(e)?e:""}t.exports=class{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"}},this.addExternalEntities=s,this.parseXml=p,this.parseTextData=l,this.resolveNameSpace=u,this.buildAttributesMap=d,this.isItStopNode=y,this.replaceEntitiesValue=h,this.readStopNodeData=b,this.saveTextToParentTag=m,this.addChild=f}}},{393:393,397:397,402:402,423:423}],402:[function(e,t,r){t.exports=class{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child})}}},{}],423:[function(e,t,r){const n=/^[-+]?0x[a-fA-F0-9]+$/,i=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const o={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};t.exports=function(e,t={}){if(t=Object.assign({},o,t),!e||"string"!=typeof e)return e;let r=e.trim();if(void 0!==t.skipLike&&t.skipLike.test(r))return e;if(t.hex&&n.test(r))return Number.parseInt(r,16);{const n=i.exec(r);if(n){const i=n[1],o=n[2];let s=(a=n[3])&&-1!==a.indexOf(".")?("."===(a=a.replace(/0+$/,""))?a="0":"."===a[0]?a="0"+a:"."===a[a.length-1]&&(a=a.substr(0,a.length-1)),a):a;const l=n[4]||n[6];if(!t.leadingZeros&&o.length>0&&i&&"."!==r[2])return e;if(!t.leadingZeros&&o.length>0&&!i&&"."!==r[1])return e;{const n=Number(r),a=""+n;return-1!==a.search(/[eE]/)||l?t.eNotation?n:e:-1!==r.indexOf(".")?"0"===a&&""===s||a===s||i&&a==="-"+s?n:e:o?s===a||i+s===a?n:e:r===a||r===i+a?n:e}}return e}var a}},{}],401:[function(e,t,r){function n(e){const t=Object.keys(e);for(let e=0;e<t.length;e++){const r=t[e];if(":@"!==r)return r}}function i(e,t,r,n){if(t){const i=Object.keys(t),o=i.length;for(let a=0;a<o;a++){const o=i[a];n.isArray(o,r+"."+o,!0,!0)?e[o]=[t[o]]:e[o]=t[o]}}}function o(e,t){const{textNodeName:r}=t,n=Object.keys(e).length;return 0===n||!(1!==n||!e[r]&&"boolean"!=typeof e[r]&&0!==e[r])}r.prettify=function(e,t){return function e(t,r,a){let s;const l={};for(let u=0;u<t.length;u++){const c=t[u],d=n(c);let p="";if(p=void 0===a?d:a+"."+d,d===r.textNodeName)void 0===s?s=c[d]:s+=""+c[d];else{if(void 0===d)continue;if(c[d]){let t=e(c[d],r,p);const n=o(t,r);c[":@"]?i(t,c[":@"],p,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==l[d]&&l.hasOwnProperty(d)?(Array.isArray(l[d])||(l[d]=[l[d]]),l[d].push(t)):r.isArray(d,p,n)?l[d]=[t]:l[d]=t}}}return"string"==typeof s?s.length>0&&(l[r.textNodeName]=s):void 0!==s&&(l[r.textNodeName]=s),l}(e,t)}},{}],403:[function(e,t,r){var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=function(e,t,r){if("[object Function]"!==i.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(r,e[a],a,e);else for(var s in e)n.call(e,s)&&t.call(r,e[s],s,e)}},{}],404:[function(e,t,r){var n=Array.prototype.slice,i=Object.prototype.toString;t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var r,o=n.call(arguments,1),a=Math.max(0,t.length-o.length),s=[],l=0;l<a;l++)s.push("$"+l);if(r=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof r){var i=t.apply(this,o.concat(n.call(arguments)));return Object(i)===i?i:this}return t.apply(e,o.concat(n.call(arguments)))})),t.prototype){var u=function(){};u.prototype=t.prototype,r.prototype=new u,u.prototype=null}return r}},{}],405:[function(e,t,r){var n=e(404);t.exports=Function.prototype.bind||n},{404:404}],406:[function(e,t,r){(function(r){(function(){var n=r.Symbol,i=e(407);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}}).call(this)}).call(this,void 0!==j?j:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{407:407}],407:[function(e,t,r){t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},{}],408:[function(e,t,r){t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},{}],409:[function(e,t,r){var n=e(408);t.exports=function(){return n()&&!!Symbol.toStringTag}},{408:408}],410:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},{}],411:[function(e,t,r){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=Object.prototype.toString,o=function(e){return!(n&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i.call(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i.call(e)&&"[object Function]"===i.call(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,t.exports=s?o:a},{}],412:[function(e,t,r){var n,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=e(409)(),l=Object.getPrototypeOf;t.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!l)return!1;if(void 0===n){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();n=!!t&&l(t)}return l(e)===n}},{409:409}],413:[function(e,t,r){(function(r){(function(){var n=e(403),i=e(384),o=e(416),a=o("Object.prototype.toString"),s=e(406)()&&"symbol"==typeof Symbol.toStringTag,l=i(),u=o("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},c=o("String.prototype.slice"),d={},p=e(417),f=Object.getPrototypeOf;s&&p&&f&&n(l,(function(e){var t=new r[e];if(!(Symbol.toStringTag in t))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=f(t),i=p(n,Symbol.toStringTag);if(!i){var o=f(n);i=p(o,Symbol.toStringTag)}d[e]=i.get})),t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s){var t=c(a(e),8,-1);return u(l,t)>-1}return!!p&&function(e){var t=!1;return n(d,(function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}})),t}(e)}}).call(this)}).call(this,void 0!==j?j:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{384:384,403:403,406:406,416:416,417:417}],417:[function(e,t,r){var n=e(414)("%Object.getOwnPropertyDescriptor%");if(n)try{n([],"length")}catch(e){n=null}t.exports=n},{414:414}],416:[function(e,t,r){var n=e(414),i=e(415),o=i(n("String.prototype.indexOf"));t.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")?i(r):r}},{414:414,415:415}],414:[function(e,t,r){var n=TypeError,i=Object.getOwnPropertyDescriptor;if(i)try{i({},"")}catch(e){i=null}var o=function(){throw new n},a=i?function(){try{return o}catch(e){try{return i(arguments,"callee").get}catch(e){return o}}}():o,s=e(406)(),l=Object.getPrototypeOf||function(e){return e.__proto__},u="undefined"==typeof Uint8Array?void 0:l(Uint8Array),c={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":s?l([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s?l(l([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%JSONParse%":"object"==typeof JSON?JSON.parse:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&s?l((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&s?l((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":s?l(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":s?Symbol:void 0,"%SymbolPrototype%":s?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":a,"%TypedArray%":u,"%TypedArrayPrototype%":u?u.prototype:void 0,"%TypeError%":n,"%TypeErrorPrototype%":n.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},d=e(405).call(Function.call,String.prototype.replace),p=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,f=/\\(\\)?/g;t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var r,o=(r=[],d(e,p,(function(e,t,n,i){r[r.length]=n?d(i,f,"$1"):t||e})),r),a=function(e,t){if(!(e in c))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===c[e]&&!t)throw new n("intrinsic "+e+" exists, but is not available. Please file an issue!");return c[e]}("%"+(o.length>0?o[0]:"")+"%",t),s=1;s<o.length;s+=1)if(null!=a)if(i&&s+1>=o.length){var l=i(a,o[s]);if(!t&&!(o[s]in a))throw new n("base intrinsic for "+e+" exists, but the property is not available.");a=l&&"get"in l&&!("originalValue"in l.get)?l.get:a[o[s]]}else a=a[o[s]];return a}},{405:405,406:406}],415:[function(e,t,r){var n=e(405),i=e(414),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),l=i("%Object.defineProperty%",!0);if(l)try{l({},"a",{value:1})}catch(e){l=null}t.exports=function(){return s(n,a,arguments)};var u=function(){return s(n,o,arguments)};l?l(t.exports,"apply",{value:u}):t.exports.apply=u},{405:405,414:414}],419:[function(e,t,r){!function(){var e=function(){var e,t,r,n;function i(){for(var e,t=o();h("|");)E(),(e||(e=[t])).push(o());return e?{type:8,args:e}:t}function o(){return h("(")?a():l()}function a(){g("(");var e=i();g(")");for(var t,r=[];t=s();)r.push(t);return r.length?1===e.type?(e.parts=e.parts.concat(r),e):(r.unshift(e),{type:1,parts:r}):e}function s(){return h("[")?function(){g("[");var e=function(){if(h(":"))return E(),{type:10,toIdx:f()};var e=f();return h(":")?(E(),h("]")?{type:10,fromIdx:e}:{type:10,fromIdx:e,toIdx:f()}):{type:10,idx:e}}();return g("]"),{type:4,arg:e}}():h("{")?function(){g("{");var e=u();return g("}"),{type:3,arg:e}}():h("(")?a():void 0}function l(){m()||S(E());var e,t,r,n,i=!1;h("^")?(E(),i=!0):v()&&(e=E().val.substr(1));for(var o,a=[];o=y()?(t=void 0,void 0,void 0,r=E().val,n=b(),(h("*")||1===n.type||3===n.type)&&(t=E().val),{type:2,selector:r,prop:t}):s();)a.push(o);return{type:1,fromRoot:i,subst:e,parts:a}}function u(){for(var e,t=c();h("||");)E(),(e||(e=[t])).push(c());return e?{type:5,op:"||",args:e}:t}function c(){for(var e,t=d();h("&&");)E(),(e||(e=[t])).push(d());return e?{type:5,op:"&&",args:e}:t}function d(){for(var e=function e(){for(var t=function(){for(var e=p();h("+")||h("-");)e={type:7,op:E().val,args:[e,p()]};return e}();h("<")||h(">")||h("<=")||h(">=");)t={type:6,op:E().val,args:[t,e()]};return t}();h("==")||h("!=")||h("===")||h("!==")||h("^==")||h("==^")||h("^=")||h("=^")||h("$==")||h("==$")||h("$=")||h("=$")||h("*==")||h("==*")||h("*=")||h("=*");)e={type:6,op:E().val,args:[e,d()]};return e}function p(){for(var e=f();h("*")||h("/")||h("%");)e={type:7,op:E().val,args:[e,p()]};return e}function f(){return h("!")||h("-")?{type:9,op:E().val,arg:f()}:3===(e=b().type)||2===e||4===e||5===e?{type:11,val:E().val}:m()?l():h("(")?function(){g("(");var e=u();return g(")"),e}():S(E());var e}function h(e){var t=b();return 6===t.type&&t.val===e}function m(){return y()||v()||h("^")}function y(){var e=b();if(6===e.type){var t=e.val;return"."===t||".."===t}return!1}function v(){var e=b();return 1===e.type&&"$"===e.val[0]}function g(e){var t=E();6===t.type&&t.val===e||S(t)}function b(){if(null!==r)return r;var e=t;return r=C(),t=e,r}function C(){for(;r=e[t]," \r\n\t".indexOf(r)>-1;)++t;var r;if(t>=n)return{type:7,range:[t,t]};var i=function(){var r=t,n=e[t],i=e[t+1];if("."===n){if(_(i))return;return"."===e[++t]?{type:6,val:"..",range:[r,++t]}:{type:6,val:".",range:[r,t]}}if("="===i){var o=e[t+2];if("="===o){if("=!^$*".indexOf(n)>=0)return{type:6,val:n+i+o,range:[r,t+=3]}}else if("^$*".indexOf(o)>=0){if("="===n)return{type:6,val:n+i+o,range:[r,t+=3]}}else if("=!^$*><".indexOf(n)>=0)return{type:6,val:n+i,range:[r,t+=2]}}else if("="===n&&"^$*".indexOf(i)>=0)return{type:6,val:n+i,range:[r,t+=2]};return n!==i||"|"!==n&&"&"!==n?":{}()[]^+-*/%!><|".indexOf(n)>=0?{type:6,val:n,range:[r,++t]}:void 0:{type:6,val:n+i,range:[r,t+=2]}}();if(i||(i=function(){var r=e[t];if(T(r)){for(var i=t,o=r;++t<n&&x(r=e[t]);)o+=r;switch(o){case"true":case"false":return{type:4,val:"true"===o,range:[i,t]};case"null":return{type:5,val:null,range:[i,t]};default:return{type:1,val:o,range:[i,t]}}}}())||(i=function(){if('"'===e[t]||"'"===e[t]){for(var r,i=e[t],o=++t,a="",s=!1;t<n;){if("\\"===(r=e[t++]))r=e[t++];else if(('"'===r||"'"===r)&&r===i){s=!0;break}a+=r}return s?{type:3,val:a,range:[o,t]}:void 0}}())||(i=function(){var r=t,i=e[t],o="."===i;if(o||_(i)){for(var a=i;++t<n;){if("."===(i=e[t])){if(o)return;o=!0}else if(!_(i))break;a+=i}return{type:2,val:o?parseFloat(a):parseInt(a,10),range:[r,t]}}}()))return i;i={range:[t,t]},t>=n?i.type=7:i.val=e[t],S(i)}function E(){var e;return r?(t=r.range[1],e=r,r=null,e):C()}function _(e){return"0123456789".indexOf(e)>=0}function T(e){return"$"===e||"@"===e||"_"===e||e>="a"&&e<="z"||e>="A"&&e<="Z"}function x(e){return T(e)||e>="0"&&e<="9"}function S(e){7===e.type&&O(e,"Unexpected end of path"),O(e,'Unexpected token "%0"',e.val)}function O(e,t){var r=Array.prototype.slice.call(arguments,2),n=t.replace(/%(\d)/g,(function(e,t){return r[t]||""})),i=new Error(n);throw i.column=e.range[0],i}return function(o){e=o.split(""),t=0,r=null,n=e.length;var a=i(),s=E();return 7!==s.type&&S(s),a}}(),r=function(){var e,t,r,n;function i(){if(n.length)return n.shift();var e="v"+ ++r;return t.push(e),e}function o(){for(var e=arguments,t=e.length;t--;)n.push(e[t])}function a(t,r,n){if(t.prop){var a=f(t.prop),s=i(),l=i(),u=i(),c=i(),d=i(),p=i(),m=i();e.push(s,"= [];",l,"= 0;",u,"=",n,".length;",m,"= [];","while(",l,"<",u,") {",c,"=",n,"[",l,"++];","if(",c,"!= null) {"),"*"===t.prop?(e.push("if(typeof ",c,'=== "object") {',"if(isArr(",c,")) {",s,"=",s,".concat(",c,");","}","else {","for(",d," in ",c,") {","if(",c,".hasOwnProperty(",d,")) {",p,"=",c,"[",d,"];"),h(s,p),e.push("}","}","}","}")):(e.push(p,"=",c,"[",a,"];"),h(s,p,m,u)),e.push("}","}",r,"=",u,"> 1 &&",m,".length?",m,".length > 1?","concat.apply(",s,",",m,") :",s,".concat(",m,"[0]) :",s,";"),o(s,l,u,c,d,p,m)}}function s(t,r,n){var a=t.prop,s=i(),l=i(),u=i(),c=i(),d=i(),p=i(),f=i(),m=i();e.push(s,"=",n,".slice(),",m,"= [];","while(",s,".length) {",l,"=",s,".shift();"),a?e.push("if(typeof ",l,'=== "object" &&',l,") {"):e.push("if(typeof ",l,"!= null) {"),e.push(u,"= [];","if(isArr(",l,")) {",c,"= 0,",f,"=",l,".length;","while(",c,"<",f,") {",p,"=",l,"[",c,"++];"),a&&e.push("if(typeof ",p,'=== "object") {'),h(u,p),a&&e.push("}"),e.push("}","}","else {"),a?"*"!==a&&(e.push(p,"=",l,'["'+a+'"];'),h(m,p)):(h(m,l),e.push("if(typeof ",l,'=== "object") {')),e.push("for(",d," in ",l,") {","if(",l,".hasOwnProperty(",d,")) {",p,"=",l,"[",d,"];"),h(u,p),"*"===a&&h(m,p),e.push("}","}"),a||e.push("}"),e.push("}",u,".length &&",s,".unshift.apply(",s,",",u,");","}","}",r,"=",m,";"),o(s,l,u,c,d,p,f,m)}function l(t,r,n){var a=i(),s=i(),l=i(),u=i(),d=i();e.push(a,"= [];",s,"= 0;",l,"=",n,".length;","while(",s,"<",l,") {",d,"=",n,"[",s,"++];"),c(t.arg,u,d),e.push(y(t.arg,u),"&&",a,".push(",d,");","}",r,"=",a,";"),o(a,s,l,d,u)}function u(t,r,n){var a,s,l=t.arg;if(l.idx){var u=i();return c(l.idx,u,n),e.push(u,"< 0 && (",u,"=",n,".length +",u,");",r,"=",n,"[",u,"] == null? [] : [",n,"[",u,"]];"),o(u),!1}l.fromIdx?l.toIdx?(c(l.fromIdx,a=i(),n),c(l.toIdx,s=i(),n),e.push(r,"=",n,".slice(",a,",",s,");"),o(a,s)):(c(l.fromIdx,a=i(),n),e.push(r,"=",n,".slice(",a,");"),o(a)):(c(l.toIdx,s=i(),n),e.push(r,"=",n,".slice(0,",s,");"),o(s))}function c(t,r,n){switch(t.type){case 1:!function(t,r,n){var i=t.parts,o=0,c=i.length;for(e.push(r,"=",t.fromRoot?"data":t.subst?"subst."+t.subst:n,";","isArr("+r+") || ("+r+" = ["+r+"]);");o<c;){var d=i[o++];switch(d.type){case 2:".."===d.selector?s(d,r,r):a(d,r,r);break;case 3:l(d,r,r);break;case 4:u(d,r,r);break;case 8:p(d,r,r)}}}(t,r,n);break;case 8:p(t,r,n);break;case 6:!function(t,r,n){var a=i(),s=i(),l=i(),u=i(),p=i(),f=i(),h=i(),m=i(),y=t.args[0],v=t.args[1];e.push(r,"= false;"),c(y,a,n),c(v,s,n);var g=1===y.type,b=11===v.type;e.push(l,"="),g?e.push("true;"):e.push("isArr(",a,");"),e.push(u,"="),b?e.push("false;"):e.push("isArr(",s,");"),e.push("if("),g||e.push(l,"&&"),e.push(a,".length === 1) {",a,"=",a,"[0];",l,"= false;","}"),b||e.push("if(",u,"&&",s,".length === 1) {",s,"=",s,"[0];",u,"= false;","}"),e.push(p,"= 0;","if(",l,") {",h,"=",a,".length;"),b||(e.push("if(",u,") {",m,"=",s,".length;","while(",p,"<",h,"&& !",r,") {",f,"= 0;","while(",f,"<",m,") {"),d(t.op,[a,"[",p,"]"].join(""),[s,"[",f,"]"].join("")),e.push(r,"= true;","break;","}","++",f,";","}","++",p,";","}","}","else {")),e.push("while(",p,"<",h,") {"),d(t.op,[a,"[",p,"]"].join(""),s),e.push(r,"= true;","break;","}","++",p,";","}"),b||e.push("}"),e.push("}"),b||(e.push("else if(",u,") {",m,"=",s,".length;","while(",p,"<",m,") {"),d(t.op,a,[s,"[",p,"]"].join("")),e.push(r,"= true;","break;","}","++",p,";","}","}")),e.push("else {",r,"=",x[t.op](a,s),";","}"),o(a,s,l,u,p,f,h,m)}(t,r,n);break;case 7:!function(t,r,n){var a=i(),s=i(),l=t.args;c(l[0],a,n),c(l[1],s,n),e.push(r,"=",x[t.op](v(l[0],a),v(l[1],s)),";"),o(a,s)}(t,r,n);break;case 5:!function(t,r,n){var a,s=[],l=t.args,u=l.length,d=0;switch(e.push(r,"= false;"),t.op){case"&&":for(;d<u;)s.push(a=i()),c(l[d],a,n),e.push("if(",y(l[d++],a),") {");e.push(r,"= true;");break;case"||":for(;d<u;)s.push(a=i()),c(l[d],a,n),e.push("if(",y(l[d],a),") {",r,"= true;","}"),1+d++<u&&e.push("else {");--u}for(;u--;)e.push("}");o.apply(null,s)}(t,r,n);break;case 9:!function(t,r,n){var a=i(),s=t.arg;switch(c(s,a,n),t.op){case"!":e.push(r,"= !",y(s,a)+";");break;case"-":e.push(r,"= -",v(s,a)+";")}o(a)}(t,r,n);break;case 11:e.push(r,"="),h=t.val,e.push("string"==typeof h?f(h):null===h?"null":h),e.push(";")}var h}function d(t,r,n){e.push("if(",x[t](r,n),") {")}function p(t,r,n){for(var a=[],s=t.args,l=s.length,u=0;u<l;)a.push(i()),c(s[u],a[u++],n);e.push(r,"= concat.call(",a.join(","),");"),o.apply(null,a)}function f(e){return"'"+e.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"}function h(t,r,n,i){e.push("if(typeof ",r,'!== "undefined") {',"if(isArr(",r,")) {"),n&&(e.push(i,"> 1?"),m(n,r),e.push(":")),e.push(t,"=",t,".length?",t,".concat(",r,") :",r,".slice()",";","}","else {"),n&&e.push("if(",n,".length) {",t,"= concat.apply(",t,",",n,");",n,"= [];","}"),m(t,r),e.push(";","}","}")}function m(t,r){e.push(t,".length?",t,".push(",r,") :",t,"[0] =",r)}function y(e,t){switch(e.type){case 5:return t;case 11:return"!!"+t;case 1:return t+".length > 0";default:return["(typeof ",t,'=== "boolean"?',t,":","isArr(",t,")?",t,".length > 0 : !!",t,")"].join("")}}function v(e,t){switch(e.type){case 11:return t;case 1:return t+"[0]";default:return["(isArr(",t,")?",t,"[0] : ",t,")"].join("")}}function g(e,t){return["typeof ",e,'=== "string" && typeof ',t,'=== "string" &&',e,".indexOf(",t,") === 0"].join("")}function b(e,t){return[e,"!= null &&",t,"!= null &&",e,".toString().toLowerCase().indexOf(",t,".toString().toLowerCase()) === 0"].join("")}function C(e,t){return["typeof ",e,'=== "string" && typeof ',t,'=== "string" &&',e,".length >=",t,".length &&",e,".lastIndexOf(",t,") ===",e,".length -",t,".length"].join("")}function E(e,t){return[e,"!= null &&",t,"!= null &&","(",e,"=",e,".toString()).length >=","(",t,"=",t,".toString()).length &&","(",e,".toLowerCase()).lastIndexOf(","(",t,".toLowerCase())) ===",e,".length -",t,".length"].join("")}function _(e,t){return["typeof ",e,'=== "string" && typeof ',t,'=== "string" &&',e,".indexOf(",t,") > -1"].join("")}function T(e,t){return[e,"!= null && ",t,"!= null &&",e,".toString().toLowerCase().indexOf(",t,".toString().toLowerCase()) > -1"].join("")}var x={"===":function(e,t){return e+"==="+t},"==":function(e,t){return["typeof ",e,'=== "string" && typeof ',t,'=== "string"?',e,".toLowerCase() ===",t,".toLowerCase() :"+e,"==",t].join("")},">=":function(e,t){return e+">="+t},">":function(e,t){return e+">"+t},"<=":function(e,t){return e+"<="+t},"<":function(e,t){return e+"<"+t},"!==":function(e,t){return e+"!=="+t},"!=":function(e,t){return e+"!="+t},"^==":g,"==^":function(e,t){return g(t,e)},"^=":b,"=^":function(e,t){return b(t,e)},"$==":C,"==$":function(e,t){return C(t,e)},"$=":E,"=$":function(e,t){return E(t,e)},"*==":_,"==*":function(e,t){return _(t,e)},"=*":function(e,t){return T(t,e)},"*=":T,"+":function(e,t){return e+"+"+t},"-":function(e,t){return e+"-"+t},"*":function(e,t){return e+"*"+t},"/":function(e,t){return e+"/"+t},"%":function(e,t){return e+"%"+t}};return function(i){if(e=[],t=["res"],r=0,n=[],c(i,"res","data"),e.unshift("var ",Array.isArray?"isArr = Array.isArray":'toStr = Object.prototype.toString, isArr = function(o) { return toStr.call(o) === "[object Array]"; }',", concat = Array.prototype.concat",",",t.join(","),";"),1===i.type){var o=i.parts[i.parts.length-1];o&&4===o.type&&"idx"in o.arg&&e.push("res = res[0];")}return e.push("return res;"),e.join("")}}();function n(t){return Function("data,subst",r(e(t)))}var i={},o=[],a={cacheSize:100},s={cacheSize:function(e,t){if(t<e&&o.length>t)for(var r=o.splice(0,o.length-t),n=r.length;n--;)delete i[r[n]]}},l=function(e,t,r){return i[e]||(i[e]=n(e),o.push(e)>a.cacheSize&&delete i[o.shift()]),i[e](t,r||{})};l.version="0.3.4",l.params=function(e){if(!arguments.length)return a;for(var t in e)e.hasOwnProperty(t)&&(s[t]&&s[t](a[t],e[t]),a[t]=e[t])},l.compile=n,l.apply=l,"object"==typeof t&&"object"==typeof t.exports?t.exports=l:"object"==typeof modules?modules.define("jspath",(function(e){e(l)})):window.JSPath=l}()},{}],424:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],425:[function(e,t,r){var n=e(411),i=e(412),o=e(442),a=e(413);function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=s(Object.prototype.toString),d=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),f=s(Boolean.prototype.valueOf);if(l)var h=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function y(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"[object Map]"===c(e)}function g(e){return"[object Set]"===c(e)}function b(e){return"[object WeakMap]"===c(e)}function C(e){return"[object WeakSet]"===c(e)}function E(e){return"[object ArrayBuffer]"===c(e)}function _(e){return"undefined"!=typeof ArrayBuffer&&(E.working?E(e):e instanceof ArrayBuffer)}function T(e){return"[object DataView]"===c(e)}function x(e){return"undefined"!=typeof DataView&&(T.working?T(e):e instanceof DataView)}r.isArgumentsObject=n,r.isGeneratorFunction=i,r.isTypedArray=a,r.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},r.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||x(e)},r.isUint8Array=function(e){return"Uint8Array"===o(e)},r.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},r.isUint16Array=function(e){return"Uint16Array"===o(e)},r.isUint32Array=function(e){return"Uint32Array"===o(e)},r.isInt8Array=function(e){return"Int8Array"===o(e)},r.isInt16Array=function(e){return"Int16Array"===o(e)},r.isInt32Array=function(e){return"Int32Array"===o(e)},r.isFloat32Array=function(e){return"Float32Array"===o(e)},r.isFloat64Array=function(e){return"Float64Array"===o(e)},r.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},r.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},v.working="undefined"!=typeof Map&&v(new Map),r.isMap=function(e){return"undefined"!=typeof Map&&(v.working?v(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),r.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),r.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},C.working="undefined"!=typeof WeakSet&&C(new WeakSet),r.isWeakSet=function(e){return C(e)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),r.isArrayBuffer=_,T.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&T(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=x;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function O(e){return"[object SharedArrayBuffer]"===c(e)}function w(e){return void 0!==S&&(void 0===O.working&&(O.working=O(new S)),O.working?O(e):e instanceof S)}function A(e){return y(e,d)}function N(e){return y(e,p)}function P(e){return y(e,f)}function I(e){return l&&y(e,h)}function R(e){return u&&y(e,m)}r.isSharedArrayBuffer=w,r.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},r.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},r.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},r.isGeneratorObject=function(e){return"[object Generator]"===c(e)},r.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},r.isNumberObject=A,r.isStringObject=N,r.isBooleanObject=P,r.isBigIntObject=I,r.isSymbolObject=R,r.isBoxedPrimitive=function(e){return A(e)||N(e)||P(e)||I(e)||R(e)},r.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(_(e)||w(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(r,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},{411:411,412:412,413:413,442:442}],442:[function(e,t,r){(function(r){(function(){var n=e(403),i=e(384),o=e(445),a=o("Object.prototype.toString"),s=e(406)()&&"symbol"==typeof Symbol.toStringTag,l=i(),u=o("String.prototype.slice"),c={},d=e(446),p=Object.getPrototypeOf;s&&d&&p&&n(l,(function(e){if("function"==typeof r[e]){var t=new r[e];if(!(Symbol.toStringTag in t))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=p(t),i=d(n,Symbol.toStringTag);if(!i){var o=p(n);i=d(o,Symbol.toStringTag)}c[e]=i.get}}));var f=e(413);t.exports=function(e){return!!f(e)&&(s?function(e){var t=!1;return n(c,(function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}})),t}(e):u(a(e),8,-1))}}).call(this)}).call(this,void 0!==j?j:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{384:384,403:403,406:406,413:413,445:445,446:446}],429:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default="00000000-0000-0000-0000-000000000000"},{}],430:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e(440))&&n.__esModule?n:{default:n};r.default=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}},{440:440}],434:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e(440))&&n.__esModule?n:{default:n};const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).substr(1));r.default=function(e,t=0){const r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,i.default)(r))throw TypeError("Stringified UUID is invalid");return r}},{440:440}],441:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e(440))&&n.__esModule?n:{default:n};r.default=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},{440:440}],438:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e(432)),i=o(e(434));function o(e){return e&&e.__esModule?e:{default:e}}r.default=function(e,t,r){const o=(e=e||{}).random||(e.rng||n.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=o[e];return t}return(0,i.default)(o)}},{432:432,434:434}],435:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e(432)),i=o(e(434));function o(e){return e&&e.__esModule?e:{default:e}}let a,s,l=0,u=0;r.default=function(e,t,r){let o=t&&r||0;const c=t||new Array(16);let d=(e=e||{}).node||a,p=void 0!==e.clockseq?e.clockseq:s;if(null==d||null==p){const t=e.random||(e.rng||n.default)();null==d&&(d=a=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==p&&(p=s=16383&(t[6]<<8|t[7]))}let f=void 0!==e.msecs?e.msecs:Date.now(),h=void 0!==e.nsecs?e.nsecs:u+1;const m=f-l+(h-u)/1e4;if(m<0&&void 0===e.clockseq&&(p=p+1&16383),(m<0||f>l)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=f,u=h,s=p;const y=(1e4*(268435455&(f+=122192928e5))+h)%4294967296;c[o++]=y>>>24&255,c[o++]=y>>>16&255,c[o++]=y>>>8&255,c[o++]=255&y;const v=f/4294967296*1e4&268435455;c[o++]=v>>>8&255,c[o++]=255&v,c[o++]=v>>>24&15|16,c[o++]=v>>>16&255,c[o++]=p>>>8|128,c[o++]=255&p;for(let e=0;e<6;++e)c[o+e]=d[e];return t||(0,i.default)(c)}},{432:432,434:434}],440:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=e(431))&&n.__esModule?n:{default:n};r.default=function(e){return"string"==typeof e&&i.default.test(e)}},{431:431}],439:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e(437)),i=o(e(433));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v5",80,i.default);r.default=a},{433:433,437:437}],436:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(e(437)),i=o(e(428));function o(e){return e&&e.__esModule?e:{default:e}}var a=(0,n.default)("v3",48,i.default);r.default=a},{428:428,437:437}],428:[function(e,t,r){function n(e){return 14+(e+64>>>9<<4)+1}function i(e,t){const r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,n,o,a){return i((s=i(i(t,e),i(n,a)))<<(l=o)|s>>>32-l,r);var s,l}function a(e,t,r,n,i,a,s){return o(t&r|~t&n,e,t,i,a,s)}function s(e,t,r,n,i,a,s){return o(t&n|r&~n,e,t,i,a,s)}function l(e,t,r,n,i,a,s){return o(t^r^n,e,t,i,a,s)}function u(e,t,r,n,i,a,s){return o(r^(t|~n),e,t,i,a,s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){const t=[],r=32*e.length;for(let n=0;n<r;n+=8){const r=e[n>>5]>>>n%32&255,i=parseInt("0123456789abcdef".charAt(r>>>4&15)+"0123456789abcdef".charAt(15&r),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let r=1732584193,o=-271733879,c=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){const n=r,p=o,f=c,h=d;r=a(r,o,c,d,e[t],7,-680876936),d=a(d,r,o,c,e[t+1],12,-389564586),c=a(c,d,r,o,e[t+2],17,606105819),o=a(o,c,d,r,e[t+3],22,-1044525330),r=a(r,o,c,d,e[t+4],7,-176418897),d=a(d,r,o,c,e[t+5],12,1200080426),c=a(c,d,r,o,e[t+6],17,-1473231341),o=a(o,c,d,r,e[t+7],22,-45705983),r=a(r,o,c,d,e[t+8],7,1770035416),d=a(d,r,o,c,e[t+9],12,-1958414417),c=a(c,d,r,o,e[t+10],17,-42063),o=a(o,c,d,r,e[t+11],22,-1990404162),r=a(r,o,c,d,e[t+12],7,1804603682),d=a(d,r,o,c,e[t+13],12,-40341101),c=a(c,d,r,o,e[t+14],17,-1502002290),o=a(o,c,d,r,e[t+15],22,1236535329),r=s(r,o,c,d,e[t+1],5,-165796510),d=s(d,r,o,c,e[t+6],9,-1069501632),c=s(c,d,r,o,e[t+11],14,643717713),o=s(o,c,d,r,e[t],20,-373897302),r=s(r,o,c,d,e[t+5],5,-701558691),d=s(d,r,o,c,e[t+10],9,38016083),c=s(c,d,r,o,e[t+15],14,-660478335),o=s(o,c,d,r,e[t+4],20,-405537848),r=s(r,o,c,d,e[t+9],5,568446438),d=s(d,r,o,c,e[t+14],9,-1019803690),c=s(c,d,r,o,e[t+3],14,-187363961),o=s(o,c,d,r,e[t+8],20,1163531501),r=s(r,o,c,d,e[t+13],5,-1444681467),d=s(d,r,o,c,e[t+2],9,-51403784),c=s(c,d,r,o,e[t+7],14,1735328473),o=s(o,c,d,r,e[t+12],20,-1926607734),r=l(r,o,c,d,e[t+5],4,-378558),d=l(d,r,o,c,e[t+8],11,-2022574463),c=l(c,d,r,o,e[t+11],16,1839030562),o=l(o,c,d,r,e[t+14],23,-35309556),r=l(r,o,c,d,e[t+1],4,-1530992060),d=l(d,r,o,c,e[t+4],11,1272893353),c=l(c,d,r,o,e[t+7],16,-155497632),o=l(o,c,d,r,e[t+10],23,-1094730640),r=l(r,o,c,d,e[t+13],4,681279174),d=l(d,r,o,c,e[t],11,-358537222),c=l(c,d,r,o,e[t+3],16,-722521979),o=l(o,c,d,r,e[t+6],23,76029189),r=l(r,o,c,d,e[t+9],4,-640364487),d=l(d,r,o,c,e[t+12],11,-421815835),c=l(c,d,r,o,e[t+15],16,530742520),o=l(o,c,d,r,e[t+2],23,-995338651),r=u(r,o,c,d,e[t],6,-198630844),d=u(d,r,o,c,e[t+7],10,1126891415),c=u(c,d,r,o,e[t+14],15,-1416354905),o=u(o,c,d,r,e[t+5],21,-57434055),r=u(r,o,c,d,e[t+12],6,1700485571),d=u(d,r,o,c,e[t+3],10,-1894986606),c=u(c,d,r,o,e[t+10],15,-1051523),o=u(o,c,d,r,e[t+1],21,-2054922799),r=u(r,o,c,d,e[t+8],6,1873313359),d=u(d,r,o,c,e[t+15],10,-30611744),c=u(c,d,r,o,e[t+6],15,-1560198380),o=u(o,c,d,r,e[t+13],21,1309151649),r=u(r,o,c,d,e[t+4],6,-145523070),d=u(d,r,o,c,e[t+11],10,-1120210379),c=u(c,d,r,o,e[t+2],15,718787259),o=u(o,c,d,r,e[t+9],21,-343485551),r=i(r,n),o=i(o,p),c=i(c,f),d=i(d,h)}return[r,o,c,d]}(function(e){if(0===e.length)return[];const t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))}},{}],431:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],432:[function(e,t,r){let n;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)};const i=new Uint8Array(16)},{}],433:[function(e,t,r){function n(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function i(e,t){return e<<t|e>>>32-t}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,a=Math.ceil(o/16),s=new Array(a);for(let t=0;t<a;++t){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];s[t]=r}s[a-1][14]=8*(e.length-1)/Math.pow(2,32),s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<a;++e){const o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=s[e][t];for(let e=16;e<80;++e)o[e]=i(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let a=r[0],l=r[1],u=r[2],c=r[3],d=r[4];for(let e=0;e<80;++e){const r=Math.floor(e/20),s=i(a,5)+n(r,l,u,c)+d+t[r]+o[e]>>>0;d=c,c=u,u=i(l,30)>>>0,l=a,a=s}r[0]=r[0]+a>>>0,r[1]=r[1]+l>>>0,r[2]=r[2]+u>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+d>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}},{}],437:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t,r){function o(e,o,a,s){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof o&&(o=(0,i.default)(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+e.length);if(l.set(o),l.set(e,o.length),(l=r(l))[6]=15&l[6]|t,l[8]=63&l[8]|128,a){s=s||0;for(let e=0;e<16;++e)a[s+e]=l[e];return a}return(0,n.default)(l)}try{o.name=e}catch(e){}return o.DNS=a,o.URL=s,o},r.URL=r.DNS=void 0;var n=o(e(434)),i=o(e(430));function o(e){return e&&e.__esModule?e:{default:e}}const a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";r.DNS=a;const s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";r.URL=s},{430:430,434:434}],446:[function(e,t,r){var n=e(443)("%Object.getOwnPropertyDescriptor%");if(n)try{n([],"length")}catch(e){n=null}t.exports=n},{443:443}],445:[function(e,t,r){var n=e(443),i=e(444),o=i(n("String.prototype.indexOf"));t.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")?i(r):r}},{443:443,444:444}],443:[function(e,t,r){var n=TypeError,i=Object.getOwnPropertyDescriptor;if(i)try{i({},"")}catch(e){i=null}var o=function(){throw new n},a=i?function(){try{return o}catch(e){try{return i(arguments,"callee").get}catch(e){return o}}}():o,s=e(406)(),l=Object.getPrototypeOf||function(e){return e.__proto__},u="undefined"==typeof Uint8Array?void 0:l(Uint8Array),c={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":s?l([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s?l(l([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%JSONParse%":"object"==typeof JSON?JSON.parse:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&s?l((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&s?l((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":s?l(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":s?Symbol:void 0,"%SymbolPrototype%":s?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":a,"%TypedArray%":u,"%TypedArrayPrototype%":u?u.prototype:void 0,"%TypeError%":n,"%TypeErrorPrototype%":n.prototype,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype},d=e(405).call(Function.call,String.prototype.replace),p=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,f=/\\(\\)?/g;t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var r,o=(r=[],d(e,p,(function(e,t,n,i){r[r.length]=n?d(i,f,"$1"):t||e})),r),a=function(e,t){if(!(e in c))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===c[e]&&!t)throw new n("intrinsic "+e+" exists, but is not available. Please file an issue!");return c[e]}("%"+(o.length>0?o[0]:"")+"%",t),s=1;s<o.length;s+=1)if(null!=a)if(i&&s+1>=o.length){var l=i(a,o[s]);if(!t&&!(o[s]in a))throw new n("base intrinsic for "+e+" exists, but the property is not available.");a=l&&"get"in l&&!("originalValue"in l.get)?l.get:a[o[s]]}else a=a[o[s]];return a}},{405:405,406:406}],444:[function(e,t,r){var n=e(405),i=e(443),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(a,o),l=i("%Object.defineProperty%",!0);if(l)try{l({},"a",{value:1})}catch(e){l=null}t.exports=function(){return s(n,a,arguments)};var u=function(){return s(n,o,arguments)};l?l(t.exports,"apply",{value:u}):t.exports.apply=u},{405:405,443:443}]},{},[1])(1)})),ci=F((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Template=t.GlobalSettings=void 0;var r=function(){function e(e){this._stateStack=[],void 0!==e&&(this.$_acTemplateVersion=this.generateVersionJson(),this.$root=e.$root,this.$host=e.$host)}return e.prototype.isReservedField=function(t){return e._reservedFields.indexOf(t)>=0},e.prototype.saveState=function(){this._stateStack.push({$data:this.$data,$index:this.$index})},e.prototype.restoreLastState=function(){if(0===this._stateStack.length)throw new Error("There is no evaluation context state to restore.");var e=this._stateStack.pop();this.$data=e.$data,this.$index=e.$index},Object.defineProperty(e.prototype,"$data",{get:function(){return void 0!==this._$data?this._$data:this.$root},set:function(e){this._$data=e},enumerable:!1,configurable:!0}),e.prototype.generateVersionJson=function(){var e="2.3.1".split("."),t=[];return e[2]&&(t=e[2].split("-")),{major:parseInt(e[0]),minor:parseInt(e[1]),patch:parseInt(t[0]),suffix:t[1]||""}},e._reservedFields=["$data","$when","$root","$index","$host","$_acTemplateVersion"],e}(),n=function(){function e(){this._memory=new ui.SimpleObjectMemory(this)}return e.prototype.getValue=function(e){var t=e.length>0&&"$"!==e[0]?"$data."+e:e;return this._memory.getValue(t)},e.prototype.setValue=function(e,t){this._memory.setValue(e,t)},e.prototype.version=function(){return this._memory.version()},e}(),i=function(){function e(){}return e.getUndefinedFieldValueSubstitutionString=void 0,e}();t.GlobalSettings=i;var o=function(){function e(t){this._preparedPayload=e.prepare(t)}return e.prepare=function(t){if("string"==typeof t)return e.parseInterpolatedString(t);if("object"==typeof t&&null!==t){if(Array.isArray(t)){for(var r=[],n=0,i=t;n<i.length;n++){var o=i[n];r.push(e.prepare(o))}return r}r={};for(var a=0,s=Object.keys(t);a<s.length;a++){var l=s[a];r[l]=e.prepare(t[l])}return r}return t},e.internalTryEvaluateExpression=function(e,t,r){var o=new n;o.$root=t.$root,o.$data=t.$data,o.$index=t.$index,o.$host=t.$host,o.$_acTemplateVersion=t.$_acTemplateVersion;var a=void 0;if(r&&((a=new ui.Options).nullSubstitution=function(e){var t=void 0;return i.getUndefinedFieldValueSubstitutionString&&(t=i.getUndefinedFieldValueSubstitutionString(e)),t||"${"+e+"}"}),e.type===ui.ExpressionType.Concat&&r){for(var s="",l=0,u=e.children;l<u.length;l++){var c=u[l],d=void 0;try{d=c.tryEvaluate(o,a)}catch(e){d={value:void 0,error:e}}d.error&&(d.value="${"+c.toString()+"}"),s+=d.value.toString()}return{value:s,error:void 0}}return e.tryEvaluate(o,a)},e.parseInterpolatedString=function(e){if(e.indexOf("${")>=0){var t=ui.Expression.parse("`"+e+"`",(function(e){return ui.ExpressionFunctions.standardFunctions.get(e)||new ui.ExpressionEvaluator(e,(function(t,r,n){throw new Error("Unknown function "+e)}),ui.ReturnType.String)}));if("concat"===t.type){if(!(1!==t.children.length||t.children[0]instanceof ui.Constant))return t.children[0];if(2===t.children.length){var r=t.children[0];if(r instanceof ui.Constant&&""===r.value&&!(t.children[1]instanceof ui.Constant))return t.children[1]}return t}}return e},e.tryEvaluateExpression=function(t,n,i){return e.internalTryEvaluateExpression(t,new r(n),i)},e.prototype.expandSingleObject=function(e){for(var t={},r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];if(!this._context.isReservedField(i)){var o=this.internalExpand(e[i]);void 0!==o&&(t[i]=o)}}return t},e.prototype.internalExpand=function(t){var r;if(this._context.saveState(),Array.isArray(t)){for(var n=[],i=0,o=t;i<o.length;i++){var a=o[i],s=this.internalExpand(a);null!==s&&(Array.isArray(s)?n=n.concat(s):n.push(s))}r=n}else if(t instanceof ui.Expression){if((h=e.internalTryEvaluateExpression(t,this._context,!0)).error)throw new Error(h.error);r=h.value}else if("object"==typeof t&&null!==t){var l=t.$when,u=t.$data,c=!1,d=void 0;if(void 0===u)d=[void 0];else{if(u instanceof ui.Expression){if((h=e.internalTryEvaluateExpression(u,this._context,!0)).error)throw new Error(h.error);u=h.value}Array.isArray(u)?(d=u,c=!0):d=[u]}r=[];for(var p=0;p<d.length;p++){c&&(this._context.$index=p),void 0!==d[p]&&(this._context.$data=d[p]);var f=!1;if(l instanceof ui.Expression){var h,m=!1;(h=e.internalTryEvaluateExpression(l,this._context,!1)).error||(m="boolean"==typeof h.value&&h.value),h.value||this.templateExpansionWarnings.push("WARN: Unable to parse the Adaptive Expression "+l+". The $when condition has been set to false by default."),f=!m}else l&&(this.templateExpansionWarnings.push("WARN: "+l+" is not an Adaptive Expression. The $when condition has been set to false by default."),f=!0);if(!f){var y=this.expandSingleObject(t);null!==y&&r.push(y)}}0===r.length?r=null:1===r.length&&(r=r[0])}else r=t;return this._context.restoreLastState(),r},e.prototype.expand=function(e){return this.templateExpansionWarnings=[],this._context=new r(e),this.internalExpand(this._preparedPayload)},e.prototype.getLastTemplateExpansionWarnings=function(){return this.templateExpansionWarnings},e}();t.Template=o})),di=F((function(e,t){var r=j&&j.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))};function n(e,t,a){if("boolean"==typeof e)return null;switch(e.type){case"array":return Array.isArray(e.items)?function(e,t){var o,a;return Array.isArray(e.items)?{type:"Container",items:r(r([],i(e),!0),null!==(a=null===(o=e.items)||void 0===o?void 0:o.map((function(e,r){return n(e,t+"["+r+"]")})))&&void 0!==a?a:[],!0)}:null}(e,t):function(e){return{type:"Container",items:r([],i(e),!0)}}(e);case"object":return o(e,t);case"boolean":return function(e,t){return{type:"Input.Toggle",id:t,title:e.title,label:e.description,value:e.default}}(e,t);case"integer":case"number":return function(e,t){var r,n;return{type:"Input.Number",id:t,title:e.title,placeholder:e.description,value:e.default,min:null!==(r=e.exclusiveMinimum)&&void 0!==r?r:e.minimum,max:null!==(n=e.exclusiveMaximum)&&void 0!==n?n:e.maximum}}(e,t);case"string":return e.enum?function(e,t){return{type:"Input.ChoiceSet",id:t,title:e.title,choices:e.enum.map((function(e){return{title:e,value:e}})),placeholder:e.description,value:e.default}}(e,t):function(e,t){return{type:"Input.Text",id:t,title:e.title,placeholder:e.description,value:e.default,maxLength:e.maxLength,regex:e.pattern}}(e,t);case"date-time":case"time":case"date":return function(e,t){return{type:"Input.Time",id:t,title:e.title,placeholder:e.description,value:e.default}}(e,t);default:return null}}function i(e,t,r){return[e.title?{type:"TextBlock",size:void 0,text:e.title}:null,e.description?{type:"TextBlock",size:void 0,isSubtle:!0,wrap:!0,text:e.description}:null]}function o(e,t,o){var a,s;return{type:"Container",items:r(r([],i(e),!0),null!==(s=null===(a=e.required)||void 0===a?void 0:a.map((function(r){return n(e.properties[r],t+"."+function(e){return encodeURIComponent(e).replace(".","%2e")}(r))})))&&void 0!==s?s:[],!0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.JSONSchemaCard=void 0,t.JSONSchemaCard=function(e){try{return{type:"AdaptiveCard",body:[o(e,"")]}}catch(e){return void console.error(e)}}})),pi=F((function(e,t){var r=j&&j.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=j&&j.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),n(ci,t),n(di,t)})),fi=u.default.createContext({});function hi(e){var t="(\\d{4}-\\d{2}-\\d{2}T?\\d{2}:\\d{2}:\\d{2}Z?(?:[-+]\\d{2}:\\d{2})?)",r=new RegExp("{{DATE\\(".concat(t,",?\\s*(SHORT|LONG|COMPACT)?\\)}}"),"g"),n=new RegExp("{{TIME\\(".concat(t,"\\)}}"),"g"),i={COMPACT:{dateStyle:"short"},SHORT:{year:"numeric",month:"short",day:"numeric",weekday:"short"},LONG:{dateStyle:"full"}};return e&&e.replace(r,(function(e,t,r){var n=i[r]||i.COMPACT;return new Date(t).toLocaleDateString([],n)})).replace(n,(function(e,t){return new Date(t).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}))}var mi={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:"‌"},yi=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,vi={};function gi(e,t,r){var n,i,o,a,s,l="";for("string"!=typeof t&&(r=t,t=gi.defaultChars),void 0===r&&(r=!0),s=function(e){var t,r,n=vi[e];if(n)return n;for(n=vi[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),n=0,i=e.length;n<i;n++)if(o=e.charCodeAt(n),r&&37===o&&n+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(n+1,n+3)))l+=e.slice(n,n+3),n+=2;else if(o<128)l+=s[o];else if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&n+1<i&&(a=e.charCodeAt(n+1))>=56320&&a<=57343){l+=encodeURIComponent(e[n]+e[n+1]),n++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[n]);return l}gi.defaultChars=";/?:@&=+$,-_.!~*'()#",gi.componentChars="-_.!~*'()";var bi=gi,Ci={};function Ei(e,t){var r;return"string"!=typeof t&&(t=Ei.defaultChars),r=function(e){var t,r,n=Ci[e];if(n)return n;for(n=Ci[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,n,i,o,a,s,l,u="";for(t=0,n=e.length;t<n;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?u+=r[i]:192==(224&i)&&t+3<n&&128==(192&(o=parseInt(e.slice(t+4,t+6),16)))?(u+=(l=i<<6&1984|63&o)<128?"��":String.fromCharCode(l),t+=3):224==(240&i)&&t+6<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128==(192&o)&&128==(192&a))?(u+=(l=i<<12&61440|o<<6&4032|63&a)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+9<n&&(o=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?((l=i<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||l>1114111?u+="����":(l-=65536,u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):u+="�";return u}))}Ei.defaultChars=";/?:@&=+$,#",Ei.componentChars="";var _i=Ei;function Ti(){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 xi=/^([a-z0-9.+-]+:)/i,Si=/:[0-9]*$/,Oi=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,wi=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),Ai=["'"].concat(wi),Ni=["%","/","?",";","#"].concat(Ai),Pi=["/","?","#"],Ii=/^[+a-z0-9A-Z_-]{0,63}$/,Ri=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Li={javascript:!0,"javascript:":!0},ki={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};Ti.prototype.parse=function(e,t){var r,n,i,o,a,s=e;if(s=s.trim(),!t&&1===e.split("#").length){var l=Oi.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var u=xi.exec(s);if(u&&(i=(u=u[0]).toLowerCase(),this.protocol=u,s=s.substr(u.length)),(t||u||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(a="//"===s.substr(0,2))||u&&Li[u]||(s=s.substr(2),this.slashes=!0)),!Li[u]&&(a||u&&!ki[u])){var c,d,p=-1;for(r=0;r<Pi.length;r++)-1!==(o=s.indexOf(Pi[r]))&&(-1===p||o<p)&&(p=o);for(-1!==(d=-1===p?s.lastIndexOf("@"):s.lastIndexOf("@",p))&&(c=s.slice(0,d),s=s.slice(d+1),this.auth=c),p=-1,r=0;r<Ni.length;r++)-1!==(o=s.indexOf(Ni[r]))&&(-1===p||o<p)&&(p=o);-1===p&&(p=s.length),":"===s[p-1]&&p--;var f=s.slice(0,p);s=s.slice(p),this.parseHost(f),this.hostname=this.hostname||"";var h="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!h){var m=this.hostname.split(/\./);for(r=0,n=m.length;r<n;r++){var y=m[r];if(y&&!y.match(Ii)){for(var v="",g=0,b=y.length;g<b;g++)y.charCodeAt(g)>127?v+="x":v+=y[g];if(!v.match(Ii)){var C=m.slice(0,r),E=m.slice(r+1),_=y.match(Ri);_&&(C.push(_[1]),E.unshift(_[2])),E.length&&(s=E.join(".")+s),this.hostname=C.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=s.indexOf("#");-1!==T&&(this.hash=s.substr(T),s=s.slice(0,T));var x=s.indexOf("?");return-1!==x&&(this.search=s.substr(x),s=s.slice(0,x)),s&&(this.pathname=s),ki[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Ti.prototype.parseHost=function(e){var t=Si.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Mi={encode:bi,decode:_i,format: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||"")+(e.hash||"")},parse:function(e,t){if(e&&e instanceof Ti)return e;var r=new Ti;return r.parse(e,t),r}},Di=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Ui=/[\0-\x1F\x7F-\x9F]/,ji=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Fi={Any:Di,Cc:Ui,Cf:/[\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]/,P:yi,Z:ji},Bi=F((function(e,t){var r=Object.prototype.hasOwnProperty;function n(e,t){return r.call(e,t)}function i(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(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 a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=/[&<>"]/,c=/[&<>"]/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function p(e){return d[e]}var f=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=Mi,t.lib.ucmicro=Fi,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(a,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,(function(e,t,r){return t||function(e,t){var r=0;return n(mi,t)?mi[t]:35===t.charCodeAt(0)&&l.test(t)&&i(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(r):e}(e,r)}))},t.isValidEntityCode=i,t.fromCodePoint=o,t.escapeHtml=function(e){return u.test(e)?e.replace(c,p):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 yi.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}})),zi=Bi.unescapeAll,Hi=Bi.unescapeAll,qi={parseLinkLabel:function(e,t,r){var n,i,o,a,s=-1,l=e.posMax,u=e.pos;for(e.pos=t+1,n=1;e.pos<l;){if(93===(o=e.src.charCodeAt(e.pos))&&0==--n){i=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===o)if(a===e.pos-1)n++;else if(r)return e.pos=u,-1}return i&&(s=e.pos),e.pos=u,s},parseLinkDestination:function(e,t,r){var n,i,o=t,a={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(n=e.charCodeAt(t)))return a;if(60===n)return a;if(62===n)return a.pos=t+1,a.str=zi(e.slice(o+1,t)),a.ok=!0,a;92===n&&t+1<r?t+=2:t++}return a}for(i=0;t<r&&32!==(n=e.charCodeAt(t))&&!(n<32||127===n);)if(92===n&&t+1<r){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===n&&++i>32)return a;if(41===n){if(0===i)break;i--}t++}return o===t||0!==i||(a.str=zi(e.slice(o,t)),a.lines=0,a.pos=t,a.ok=!0),a},parseLinkTitle:function(e,t,r){var n,i,o=0,a=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=r)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t<r;){if((n=e.charCodeAt(t))===i)return s.pos=t+1,s.lines=o,s.str=Hi(e.slice(a+1,t)),s.ok=!0,s;if(40===n&&41===i)return s;10===n?o++:92===n&&t+1<r&&(t++,10===e.charCodeAt(t)&&o++),t++}return s}},Vi=Bi.assign,Gi=Bi.unescapeAll,Wi=Bi.escapeHtml,$i={};function Yi(){this.rules=Vi({},$i)}$i.code_inline=function(e,t,r,n,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+Wi(e[t].content)+"</code>"},$i.code_block=function(e,t,r,n,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+Wi(e[t].content)+"</code></pre>\n"},$i.fence=function(e,t,r,n,i){var o,a,s,l,u,c=e[t],d=c.info?Gi(c.info).trim():"",p="",f="";return d&&(p=(s=d.split(/(\s+)/g))[0],f=s.slice(2).join("")),0===(o=r.highlight&&r.highlight(c.content,p,f)||Wi(c.content)).indexOf("<pre")?o+"\n":d?(a=c.attrIndex("class"),l=c.attrs?c.attrs.slice():[],a<0?l.push(["class",r.langPrefix+p]):(l[a]=l[a].slice(),l[a][1]+=" "+r.langPrefix+p),u={attrs:l},"<pre><code"+i.renderAttrs(u)+">"+o+"</code></pre>\n"):"<pre><code"+i.renderAttrs(c)+">"+o+"</code></pre>\n"},$i.image=function(e,t,r,n,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,r,n),i.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 Wi(e[t].content)},$i.html_block=function(e,t){return e[t].content},$i.html_inline=function(e,t){return e[t].content},Yi.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+Wi(e.attrs[t][0])+'="'+Wi(e.attrs[t][1])+'"';return n},Yi.prototype.renderToken=function(e,t,r){var n,i="",o=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===a.nesting?"</":"<")+a.tag,i+=this.renderAttrs(a),0===a.nesting&&r.xhtmlOut&&(i+=" /"),a.block&&(o=!0,1===a.nesting&&t+1<e.length&&("inline"===(n=e[t+1]).type||n.hidden||-1===n.nesting&&n.tag===a.tag)&&(o=!1)),i+=o?">\n":">")},Yi.prototype.renderInline=function(e,t,r){for(var n,i="",o=this.rules,a=0,s=e.length;a<s;a++)void 0!==o[n=e[a].type]?i+=o[n](e,a,t,r,this):i+=this.renderToken(e,a,t);return i},Yi.prototype.renderInlineAsText=function(e,t,r){for(var n="",i=0,o=e.length;i<o;i++)"text"===e[i].type?n+=e[i].content:"image"===e[i].type?n+=this.renderInlineAsText(e[i].children,t,r):"softbreak"===e[i].type&&(n+="\n");return n},Yi.prototype.render=function(e,t,r){var n,i,o,a="",s=this.rules;for(n=0,i=e.length;n<i;n++)"inline"===(o=e[n].type)?a+=this.renderInline(e[n].children,t,r):void 0!==s[o]?a+=s[e[n].type](e,n,t,r,this):a+=this.renderToken(e,n,t,r);return a};var Ki=Yi;function Zi(){this.__rules__=[],this.__cache__=null}Zi.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},Zi.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))}))}))},Zi.prototype.at=function(e,t,r){var n=this.__find__(e),i=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=i.alt||[],this.__cache__=null},Zi.prototype.before=function(e,t,r,n){var i=this.__find__(e),o=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},Zi.prototype.after=function(e,t,r,n){var i=this.__find__(e),o=n||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},Zi.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},Zi.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,r.push(e)}),this),this.__cache__=null,r},Zi.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},Zi.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var r=[];return e.forEach((function(e){var n=this.__find__(e);if(n<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,r.push(e)}),this),this.__cache__=null,r},Zi.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]};var Xi=Zi,Qi=/\r\n?|\n/g,Ji=/\0/g,eo=Bi.arrayReplaceAt;function to(e){return/^<\/a\s*>/i.test(e)}var ro=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,no=/\((c|tm|r|p)\)/i,io=/\((c|tm|r|p)\)/gi,oo={c:"©",r:"®",p:"§",tm:"™"};function ao(e,t){return oo[t.toLowerCase()]}function so(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(io,ao)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function lo(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||ro.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—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}var uo=Bi.isWhiteSpace,co=Bi.isPunctChar,po=Bi.isMdAsciiPunct,fo=/['"]/,ho=/['"]/g;function mo(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function yo(e,t){var r,n,i,o,a,s,l,u,c,d,p,f,h,m,y,v,g,b,C,E,_;for(C=[],r=0;r<e.length;r++){for(n=e[r],l=e[r].level,g=C.length-1;g>=0&&!(C[g].level<=l);g--);if(C.length=g+1,"text"===n.type){a=0,s=(i=n.content).length;e:for(;a<s&&(ho.lastIndex=a,o=ho.exec(i));){if(y=v=!0,a=o.index+1,b="'"===o[0],c=32,o.index-1>=0)c=i.charCodeAt(o.index-1);else for(g=r-1;g>=0&&"softbreak"!==e[g].type&&"hardbreak"!==e[g].type;g--)if(e[g].content){c=e[g].content.charCodeAt(e[g].content.length-1);break}if(d=32,a<s)d=i.charCodeAt(a);else for(g=r+1;g<e.length&&"softbreak"!==e[g].type&&"hardbreak"!==e[g].type;g++)if(e[g].content){d=e[g].content.charCodeAt(0);break}if(p=po(c)||co(String.fromCharCode(c)),f=po(d)||co(String.fromCharCode(d)),h=uo(c),(m=uo(d))?y=!1:f&&(h||p||(y=!1)),h?v=!1:p&&(m||f||(v=!1)),34===d&&'"'===o[0]&&c>=48&&c<=57&&(v=y=!1),y&&v&&(y=p,v=f),y||v){if(v)for(g=C.length-1;g>=0&&(u=C[g],!(C[g].level<l));g--)if(u.single===b&&C[g].level===l){u=C[g],b?(E=t.md.options.quotes[2],_=t.md.options.quotes[3]):(E=t.md.options.quotes[0],_=t.md.options.quotes[1]),n.content=mo(n.content,o.index,_),e[u.token].content=mo(e[u.token].content,u.pos,E),a+=_.length-1,u.token===r&&(a+=E.length-1),s=(i=n.content).length,C.length=g;continue e}y?C.push({token:r,pos:o.index,single:b,level:l}):v&&b&&(n.content=mo(n.content,o.index,"’"))}else b&&(n.content=mo(n.content,o.index,"’"))}}}}function vo(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}vo.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},vo.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},vo.prototype.attrSet=function(e,t){var r=this.attrIndex(e),n=[e,t];r<0?this.attrPush(n):this.attrs[r]=n},vo.prototype.attrGet=function(e){var t=this.attrIndex(e),r=null;return t>=0&&(r=this.attrs[t][1]),r},vo.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};var go=vo;function bo(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}bo.prototype.Token=go;var Co=bo,Eo=[["normalize",function(e){var t;t=(t=e.src.replace(Qi,"\n")).replace(Ji,"�"),e.src=t}],["block",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)}],["inline",function(e){var t,r,n,i=e.tokens;for(r=0,n=i.length;r<n;r++)"inline"===(t=i[r]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}],["linkify",function(e){var t,r,n,i,o,a,s,l,u,c,d,p,f,h,m,y,v,g,b=e.tokens;if(e.md.options.linkify)for(r=0,n=b.length;r<n;r++)if("inline"===b[r].type&&e.md.linkify.pretest(b[r].content))for(f=0,t=(i=b[r].children).length-1;t>=0;t--)if("link_close"!==(a=i[t]).type){if("html_inline"===a.type&&(g=a.content,/^<a[>\s]/i.test(g)&&f>0&&f--,to(a.content)&&f++),!(f>0)&&"text"===a.type&&e.md.linkify.test(a.content)){for(u=a.content,v=e.md.linkify.match(u),s=[],p=a.level,d=0,l=0;l<v.length;l++)h=v[l].url,m=e.md.normalizeLink(h),e.md.validateLink(m)&&(y=v[l].text,y=v[l].schema?"mailto:"!==v[l].schema||/^mailto:/i.test(y)?e.md.normalizeLinkText(y):e.md.normalizeLinkText("mailto:"+y).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+y).replace(/^http:\/\//,""),(c=v[l].index)>d&&((o=new e.Token("text","",0)).content=u.slice(d,c),o.level=p,s.push(o)),(o=new e.Token("link_open","a",1)).attrs=[["href",m]],o.level=p++,o.markup="linkify",o.info="auto",s.push(o),(o=new e.Token("text","",0)).content=y,o.level=p,s.push(o),(o=new e.Token("link_close","a",-1)).level=--p,o.markup="linkify",o.info="auto",s.push(o),d=v[l].lastIndex);d<u.length&&((o=new e.Token("text","",0)).content=u.slice(d),o.level=p,s.push(o)),b[r].children=i=eo(i,t,s)}}else for(t--;i[t].level!==a.level&&"link_open"!==i[t].type;)t--}],["replacements",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(no.test(e.tokens[t].content)&&so(e.tokens[t].children),ro.test(e.tokens[t].content)&&lo(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&fo.test(e.tokens[t].content)&&yo(e.tokens[t].children,e)}]];function _o(){this.ruler=new Xi;for(var e=0;e<Eo.length;e++)this.ruler.push(Eo[e][0],Eo[e][1])}_o.prototype.process=function(e){var t,r,n;for(t=0,r=(n=this.ruler.getRules("")).length;t<r;t++)n[t](e)},_o.prototype.State=Co;var To=_o,xo=Bi.isSpace;function So(e,t){var r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.substr(r,n-r)}function Oo(e){var t,r=[],n=0,i=e.length,o=!1,a=0,s="";for(t=e.charCodeAt(n);n<i;)124===t&&(o?(s+=e.substring(a,n-1),a=n):(r.push(s+e.substring(a,n)),s="",a=n+1)),o=92===t,n++,t=e.charCodeAt(n);return r.push(s+e.substring(a)),r}var wo=Bi.isSpace,Ao=Bi.isSpace,No=Bi.isSpace;function Po(e,t){var r,n,i,o;return n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(r=e.src.charCodeAt(n++))&&45!==r&&43!==r||n<i&&(o=e.src.charCodeAt(n),!No(o))?-1:n}function Io(e,t){var r,n=e.bMarks[t]+e.tShift[t],i=n,o=e.eMarks[t];if(i+1>=o)return-1;if((r=e.src.charCodeAt(i++))<48||r>57)return-1;for(;;){if(i>=o)return-1;if(!((r=e.src.charCodeAt(i++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-n>=10)return-1}return i<o&&(r=e.src.charCodeAt(i),!No(r))?-1:i}var Ro=Bi.normalizeReference,Lo=Bi.isSpace,ko="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Mo="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Do={HTML_TAG_RE:new RegExp("^(?:"+ko+"|"+Mo+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+ko+"|"+Mo+")")},Uo=Do.HTML_OPEN_CLOSE_TAG_RE,jo=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["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","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Uo.source+"\\s*$"),/^$/,!1]],Fo=Bi.isSpace,Bo=Bi.isSpace;function zo(e,t,r,n){var i,o,a,s,l,u,c,d;for(this.src=e,this.md=t,this.env=r,this.tokens=n,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.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,a=s=u=c=0,l=(o=this.src).length;s<l;s++){if(i=o.charCodeAt(s),!d){if(Bo(i)){u++,9===i?c+=4-c%4:c++;continue}d=!0}10!==i&&s!==l-1||(10!==i&&s++,this.bMarks.push(a),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(c),this.bsCount.push(0),d=!1,u=0,c=0,a=s+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}zo.prototype.push=function(e,t,r){var n=new go(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n},zo.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},zo.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},zo.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),Bo(t));e++);return e},zo.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!Bo(this.src.charCodeAt(--e)))return e+1;return e},zo.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},zo.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},zo.prototype.getLines=function(e,t,r,n){var i,o,a,s,l,u,c,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;d<t;d++,i++){for(o=0,c=s=this.bMarks[d],l=d+1<t||n?this.eMarks[d]+1:this.eMarks[d];s<l&&o<r;){if(a=this.src.charCodeAt(s),Bo(a))9===a?o+=4-(o+this.bsCount[d])%4:o++;else{if(!(s-c<this.tShift[d]))break;o++}s++}u[i]=o>r?new Array(o-r+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},zo.prototype.Token=go;var Ho=zo,qo=[["table",function(e,t,r,n){var i,o,a,s,l,u,c,d,p,f,h,m,y,v,g,b,C,E;if(t+2>r)return!1;if(u=t+1,e.sCount[u]<e.blkIndent)return!1;if(e.sCount[u]-e.blkIndent>=4)return!1;if((a=e.bMarks[u]+e.tShift[u])>=e.eMarks[u])return!1;if(124!==(C=e.src.charCodeAt(a++))&&45!==C&&58!==C)return!1;if(a>=e.eMarks[u])return!1;if(124!==(E=e.src.charCodeAt(a++))&&45!==E&&58!==E&&!xo(E))return!1;if(45===C&&xo(E))return!1;for(;a<e.eMarks[u];){if(124!==(i=e.src.charCodeAt(a))&&45!==i&&58!==i&&!xo(i))return!1;a++}for(c=(o=So(e,t+1)).split("|"),f=[],s=0;s<c.length;s++){if(!(h=c[s].trim())){if(0===s||s===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(h))return!1;58===h.charCodeAt(h.length-1)?f.push(58===h.charCodeAt(0)?"center":"right"):58===h.charCodeAt(0)?f.push("left"):f.push("")}if(-1===(o=So(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((c=Oo(o)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),0===(d=c.length)||d!==f.length)return!1;if(n)return!0;for(v=e.parentType,e.parentType="table",b=e.md.block.ruler.getRules("blockquote"),(p=e.push("table_open","table",1)).map=m=[t,0],(p=e.push("thead_open","thead",1)).map=[t,t+1],(p=e.push("tr_open","tr",1)).map=[t,t+1],s=0;s<c.length;s++)p=e.push("th_open","th",1),f[s]&&(p.attrs=[["style","text-align:"+f[s]]]),(p=e.push("inline","",0)).content=c[s].trim(),p.children=[],p=e.push("th_close","th",-1);for(p=e.push("tr_close","tr",-1),p=e.push("thead_close","thead",-1),u=t+2;u<r&&!(e.sCount[u]<e.blkIndent);u++){for(g=!1,s=0,l=b.length;s<l;s++)if(b[s](e,u,r,!0)){g=!0;break}if(g)break;if(!(o=So(e,u).trim()))break;if(e.sCount[u]-e.blkIndent>=4)break;for((c=Oo(o)).length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),u===t+2&&((p=e.push("tbody_open","tbody",1)).map=y=[t+2,0]),(p=e.push("tr_open","tr",1)).map=[u,u+1],s=0;s<d;s++)p=e.push("td_open","td",1),f[s]&&(p.attrs=[["style","text-align:"+f[s]]]),(p=e.push("inline","",0)).content=c[s]?c[s].trim():"",p.children=[],p=e.push("td_close","td",-1);p=e.push("tr_close","tr",-1)}return y&&(p=e.push("tbody_close","tbody",-1),y[1]=u),p=e.push("table_close","table",-1),m[1]=u,e.parentType=v,e.line=u,!0},["paragraph","reference"]],["code",function(e,t,r){var n,i,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;i=++n}return e.line=i,(o=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,r,n){var i,o,a,s,l,u,c,d=!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!==(i=e.src.charCodeAt(p))&&96!==i)return!1;if(l=p,(o=(p=e.skipChars(p,i))-l)<3)return!1;if(c=e.src.slice(l,p),a=e.src.slice(p,f),96===i&&a.indexOf(String.fromCharCode(i))>=0)return!1;if(n)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)===i&&!(e.sCount[s]-e.blkIndent>=4||(p=e.skipChars(p,i))-l<o||(p=e.skipSpaces(p))<f)){d=!0;break}return o=e.sCount[t],e.line=s+(d?1:0),(u=e.push("fence","code",0)).info=a,u.content=e.getLines(t+1,s,o,!0),u.markup=c,u.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,r,n){var i,o,a,s,l,u,c,d,p,f,h,m,y,v,g,b,C,E,_,T,x=e.lineMax,S=e.bMarks[t]+e.tShift[t],O=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(s=p=e.sCount[t]+1,32===e.src.charCodeAt(S)?(S++,s++,p++,i=!1,b=!0):9===e.src.charCodeAt(S)?(b=!0,(e.bsCount[t]+p)%4==3?(S++,s++,p++,i=!1):i=!0):b=!1,f=[e.bMarks[t]],e.bMarks[t]=S;S<O&&(o=e.src.charCodeAt(S),wo(o));)9===o?p+=4-(p+e.bsCount[t]+(i?1:0))%4:p++,S++;for(h=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(b?1:0),u=S>=O,v=[e.sCount[t]],e.sCount[t]=p-s,g=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],E=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",d=t+1;d<r&&(T=e.sCount[d]<e.blkIndent,!((S=e.bMarks[d]+e.tShift[d])>=(O=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(S++)||T){if(u)break;for(C=!1,a=0,l=E.length;a<l;a++)if(E[a](e,d,r,!0)){C=!0;break}if(C){e.lineMax=d,0!==e.blkIndent&&(f.push(e.bMarks[d]),h.push(e.bsCount[d]),g.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}f.push(e.bMarks[d]),h.push(e.bsCount[d]),g.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(s=p=e.sCount[d]+1,32===e.src.charCodeAt(S)?(S++,s++,p++,i=!1,b=!0):9===e.src.charCodeAt(S)?(b=!0,(e.bsCount[d]+p)%4==3?(S++,s++,p++,i=!1):i=!0):b=!1,f.push(e.bMarks[d]),e.bMarks[d]=S;S<O&&(o=e.src.charCodeAt(S),wo(o));)9===o?p+=4-(p+e.bsCount[d]+(i?1:0))%4:p++,S++;u=S>=O,h.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(b?1:0),v.push(e.sCount[d]),e.sCount[d]=p-s,g.push(e.tShift[d]),e.tShift[d]=S-e.bMarks[d]}for(m=e.blkIndent,e.blkIndent=0,(_=e.push("blockquote_open","blockquote",1)).markup=">",_.map=c=[t,0],e.md.block.tokenize(e,t,d),(_=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=y,c[1]=e.line,a=0;a<g.length;a++)e.bMarks[a+t]=f[a],e.tShift[a+t]=g[a],e.sCount[a+t]=v[a],e.bsCount[a+t]=h[a];return e.blkIndent=m,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,r,n){var i,o,a,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(o=1;l<u;){if((a=e.src.charCodeAt(l++))!==i&&!Ao(a))return!1;a===i&&o++}return!(o<3||(n||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(i))),0))},["paragraph","reference","blockquote","list"]],["list",function(e,t,r,n){var i,o,a,s,l,u,c,d,p,f,h,m,y,v,g,b,C,E,_,T,x,S,O,w,A,N,P,I,R=!1,L=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(n&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(R=!0),(O=Io(e,t))>=0){if(c=!0,A=e.bMarks[t]+e.tShift[t],y=Number(e.src.slice(A,O-1)),R&&1!==y)return!1}else{if(!((O=Po(e,t))>=0))return!1;c=!1}if(R&&e.skipSpaces(O)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(O-1),n)return!0;for(h=e.tokens.length,c?(I=e.push("ordered_list_open","ol",1),1!==y&&(I.attrs=[["start",y]])):I=e.push("bullet_list_open","ul",1),I.map=f=[t,0],I.markup=String.fromCharCode(m),g=t,w=!1,P=e.md.block.ruler.getRules("list"),E=e.parentType,e.parentType="list";g<r;){for(S=O,v=e.eMarks[g],u=b=e.sCount[g]+O-(e.bMarks[t]+e.tShift[t]);S<v;){if(9===(i=e.src.charCodeAt(S)))b+=4-(b+e.bsCount[g])%4;else{if(32!==i)break;b++}S++}if((l=(o=S)>=v?1:b-u)>4&&(l=1),s=u+l,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),I.map=d=[t,0],c&&(I.info=e.src.slice(A,O-1)),x=e.tight,T=e.tShift[t],_=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=s,e.tight=!0,e.tShift[t]=o-e.bMarks[t],e.sCount[t]=b,o>=v&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!w||(L=!1),w=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=T,e.sCount[t]=_,e.tight=x,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),g=t=e.line,d[1]=g,o=e.bMarks[t],g>=r)break;if(e.sCount[g]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(N=!1,a=0,p=P.length;a<p;a++)if(P[a](e,g,r,!0)){N=!0;break}if(N)break;if(c){if((O=Io(e,g))<0)break;A=e.bMarks[g]+e.tShift[g]}else if((O=Po(e,g))<0)break;if(m!==e.src.charCodeAt(O-1))break}return(I=c?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(m),f[1]=g,e.line=g,e.parentType=E,L&&function(e,t){var r,n,i=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===i&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}(e,h),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,r,n){var i,o,a,s,l,u,c,d,p,f,h,m,y,v,g,b,C=0,E=e.bMarks[t]+e.tShift[t],_=e.eMarks[t],T=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(E))return!1;for(;++E<_;)if(93===e.src.charCodeAt(E)&&92!==e.src.charCodeAt(E-1)){if(E+1===_)return!1;if(58!==e.src.charCodeAt(E+1))return!1;break}for(s=e.lineMax,g=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";T<s&&!e.isEmpty(T);T++)if(!(e.sCount[T]-e.blkIndent>3||e.sCount[T]<0)){for(v=!1,u=0,c=g.length;u<c;u++)if(g[u](e,T,s,!0)){v=!0;break}if(v)break}for(_=(y=e.getLines(t,T,e.blkIndent,!1).trim()).length,E=1;E<_;E++){if(91===(i=y.charCodeAt(E)))return!1;if(93===i){p=E;break}(10===i||92===i&&++E<_&&10===y.charCodeAt(E))&&C++}if(p<0||58!==y.charCodeAt(p+1))return!1;for(E=p+2;E<_;E++)if(10===(i=y.charCodeAt(E)))C++;else if(!Lo(i))break;if(!(h=e.md.helpers.parseLinkDestination(y,E,_)).ok)return!1;if(l=e.md.normalizeLink(h.str),!e.md.validateLink(l))return!1;for(o=E=h.pos,a=C+=h.lines,m=E;E<_;E++)if(10===(i=y.charCodeAt(E)))C++;else if(!Lo(i))break;for(h=e.md.helpers.parseLinkTitle(y,E,_),E<_&&m!==E&&h.ok?(b=h.str,E=h.pos,C+=h.lines):(b="",E=o,C=a);E<_&&(i=y.charCodeAt(E),Lo(i));)E++;if(E<_&&10!==y.charCodeAt(E)&&b)for(b="",E=o,C=a;E<_&&(i=y.charCodeAt(E),Lo(i));)E++;return!(E<_&&10!==y.charCodeAt(E)||!(d=Ro(y.slice(1,p)))||(n||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:b,href:l}),e.parentType=f,e.line=t+C+1),0))}],["html_block",function(e,t,r,n){var i,o,a,s,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(s=e.src.slice(l,u),i=0;i<jo.length&&!jo[i][0].test(s);i++);if(i===jo.length)return!1;if(n)return jo[i][2];if(o=t+1,!jo[i][1].test(s))for(;o<r&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],s=e.src.slice(l,u),jo[i][1].test(s)){0!==s.length&&o++;break}return e.line=o,(a=e.push("html_block","",0)).map=[t,o],a.content=e.getLines(t,o,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,r,n){var i,o,a,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(o=1,i=e.src.charCodeAt(++l);35===i&&l<u&&o<=6;)o++,i=e.src.charCodeAt(++l);return!(o>6||l<u&&!Fo(i)||(n||(u=e.skipSpacesBack(u,l),(a=e.skipCharsBack(u,35,l))>l&&Fo(e.src.charCodeAt(a-1))&&(u=a),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o)),0))},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,i,o,a,s,l,u,c,d,p,f=t+1,h=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])<(u=e.eMarks[f])&&(45===(d=e.src.charCodeAt(l))||61===d)&&(l=e.skipChars(l,d),(l=e.skipSpaces(l))>=u)){c=61===d?1:2;break}if(!(e.sCount[f]<0)){for(i=!1,o=0,a=h.length;o<a;o++)if(h[o](e,f,r,!0)){i=!0;break}if(i)break}}return!!c&&(n=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(s=e.push("heading_open","h"+String(c),1)).markup=String.fromCharCode(d),s.map=[t,e.line],(s=e.push("inline","",0)).content=n,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(c),-1)).markup=String.fromCharCode(d),e.parentType=p,!0)}],["paragraph",function(e,t){var r,n,i,o,a,s,l=t+1,u=e.md.block.ruler.getRules("paragraph"),c=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<c&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(n=!1,i=0,o=u.length;i<o;i++)if(u[i](e,l,c,!0)){n=!0;break}if(n)break}return r=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=r,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}]];function Vo(){this.ruler=new Xi;for(var e=0;e<qo.length;e++)this.ruler.push(qo[e][0],qo[e][1],{alt:(qo[e][2]||[]).slice()})}Vo.prototype.tokenize=function(e,t,r){for(var n,i=this.ruler.getRules(""),o=i.length,a=t,s=!1,l=e.md.options.maxNesting;a<r&&(e.line=a=e.skipEmptyLines(a),!(a>=r))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){e.line=r;break}for(n=0;n<o&&!i[n](e,a,r,!1);n++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<r&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},Vo.prototype.parse=function(e,t,r,n){var i;e&&(i=new this.State(e,t,r,n),this.tokenize(i,i.line,i.lineMax))},Vo.prototype.State=Ho;var Go=Vo;function Wo(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}}for(var $o=Bi.isSpace,Yo=Bi.isSpace,Ko=[],Zo=0;Zo<256;Zo++)Ko.push(0);function Xo(e,t){var r,n,i,o,a,s=[],l=t.length;for(r=0;r<l;r++)126===(i=t[r]).marker&&-1!==i.end&&(o=t[i.end],(a=e.tokens[i.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[o.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(n=(r=s.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;r!==--n&&(a=e.tokens[n],e.tokens[n]=e.tokens[r],e.tokens[r]=a)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){Ko[e.charCodeAt(0)]=1}));var Qo={tokenize:function(e,t){var r,n,i,o,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(i=(n=e.scanDelims(e.pos,!0)).length,o=String.fromCharCode(s),i<2)return!1;for(i%2&&(e.push("text","",0).content=o,i--),r=0;r<i;r+=2)e.push("text","",0).content=o+o,e.delimiters.push({marker:s,length:0,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},postProcess:function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(Xo(e,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&Xo(e,r[t].delimiters)}};function Jo(e,t){var r,n,i,o,a,s;for(r=t.length-1;r>=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(i=t[n.end],s=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,a=String.fromCharCode(n.marker),(o=e.tokens[n.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",(o=e.tokens[i.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}var ea={tokenize:function(e,t){var r,n,i=e.pos,o=e.src.charCodeAt(i);if(t)return!1;if(95!==o&&42!==o)return!1;for(n=e.scanDelims(e.pos,42===o),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(o),e.delimiters.push({marker:o,length:n.length,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},postProcess:function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(Jo(e,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&Jo(e,r[t].delimiters)}},ta=Bi.normalizeReference,ra=Bi.isSpace,na=Bi.normalizeReference,ia=Bi.isSpace,oa=/^([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])?)*)$/,aa=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,sa=Do.HTML_TAG_RE,la=Bi.has,ua=Bi.isValidEntityCode,ca=Bi.fromCodePoint,da=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,pa=/^&([a-z][a-z0-9]{1,31});/i;function fa(e,t){var r,n,i,o,a,s,l,u,c={},d=t.length;if(d){var p=0,f=-2,h=[];for(r=0;r<d;r++)if(i=t[r],h.push(0),t[p].marker===i.marker&&f===i.token-1||(p=r),f=i.token,i.length=i.length||0,i.close){for(c.hasOwnProperty(i.marker)||(c[i.marker]=[-1,-1,-1,-1,-1,-1]),a=c[i.marker][(i.open?3:0)+i.length%3],s=n=p-h[p]-1;n>a;n-=h[n]+1)if((o=t[n]).marker===i.marker&&o.open&&o.end<0&&(l=!1,(o.close||i.open)&&(o.length+i.length)%3==0&&(o.length%3==0&&i.length%3==0||(l=!0)),!l)){u=n>0&&!t[n-1].open?h[n-1]+1:0,h[r]=r-n+u,h[n]=u,i.open=!1,o.end=r,o.close=!1,s=-1,f=-2;break}-1!==s&&(c[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}}var ha=Bi.isWhiteSpace,ma=Bi.isPunctChar,ya=Bi.isMdAsciiPunct;function va(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}va.prototype.pushPending=function(){var e=new go("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},va.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new go(e,t,r),i=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n},va.prototype.scanDelims=function(e,t){var r,n,i,o,a,s,l,u,c,d=e,p=!0,f=!0,h=this.posMax,m=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;d<h&&this.src.charCodeAt(d)===m;)d++;return i=d-e,n=d<h?this.src.charCodeAt(d):32,l=ya(r)||ma(String.fromCharCode(r)),c=ya(n)||ma(String.fromCharCode(n)),s=ha(r),(u=ha(n))?p=!1:c&&(s||l||(p=!1)),s?f=!1:l&&(u||c||(f=!1)),t?(o=p,a=f):(o=p&&(!f||l),a=f&&(!p||c)),{can_open:o,can_close:a,length:i}},va.prototype.Token=go;var ga=va,ba=[["text",function(e,t){for(var r=e.pos;r<e.posMax&&!Wo(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}],["newline",function(e,t){var r,n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;if(r=e.pending.length-1,n=e.posMax,!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){for(i=r-1;i>=1&&32===e.pending.charCodeAt(i-1);)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(o++;o<n&&$o(e.src.charCodeAt(o));)o++;return e.pos=o,!0}],["escape",function(e,t){var r,n=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(++n<i){if((r=e.src.charCodeAt(n))<256&&0!==Ko[r])return t||(e.pending+=e.src[n]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),n++;n<i&&(r=e.src.charCodeAt(n),Yo(r));)n++;return e.pos=n,!0}}return t||(e.pending+="\\"),e.pos++,!0}],["backticks",function(e,t){var r,n,i,o,a,s,l,u,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,n=e.posMax;c<n&&96===e.src.charCodeAt(c);)c++;if(l=(i=e.src.slice(r,c)).length,e.backticksScanned&&(e.backticks[l]||0)<=r)return t||(e.pending+=i),e.pos+=l,!0;for(a=s=c;-1!==(a=e.src.indexOf("`",s));){for(s=a+1;s<n&&96===e.src.charCodeAt(s);)s++;if((u=s-a)===l)return t||((o=e.push("code_inline","code",0)).markup=i,o.content=e.src.slice(c,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[u]=a}return e.backticksScanned=!0,t||(e.pending+=i),e.pos+=l,!0}],["strikethrough",Qo.tokenize],["emphasis",ea.tokenize],["link",function(e,t){var r,n,i,o,a,s,l,u,c="",d="",p=e.pos,f=e.posMax,h=e.pos,m=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(a=e.pos+1,(o=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((s=o+1)<f&&40===e.src.charCodeAt(s)){for(m=!1,s++;s<f&&(n=e.src.charCodeAt(s),ra(n)||10===n);s++);if(s>=f)return!1;if(h=s,(l=e.md.helpers.parseLinkDestination(e.src,s,e.posMax)).ok){for(c=e.md.normalizeLink(l.str),e.md.validateLink(c)?s=l.pos:c="",h=s;s<f&&(n=e.src.charCodeAt(s),ra(n)||10===n);s++);if(l=e.md.helpers.parseLinkTitle(e.src,s,e.posMax),s<f&&h!==s&&l.ok)for(d=l.str,s=l.pos;s<f&&(n=e.src.charCodeAt(s),ra(n)||10===n);s++);}(s>=f||41!==e.src.charCodeAt(s))&&(m=!0),s++}if(m){if(void 0===e.env.references)return!1;if(s<f&&91===e.src.charCodeAt(s)?(h=s+1,(s=e.md.helpers.parseLinkLabel(e,s))>=0?i=e.src.slice(h,s++):s=o+1):s=o+1,i||(i=e.src.slice(a,o)),!(u=e.env.references[ta(i)]))return e.pos=p,!1;c=u.href,d=u.title}return t||(e.pos=a,e.posMax=o,e.push("link_open","a",1).attrs=r=[["href",c]],d&&r.push(["title",d]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=s,e.posMax=f,!0}],["image",function(e,t){var r,n,i,o,a,s,l,u,c,d,p,f,h,m="",y=e.pos,v=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(s=e.pos+2,(a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=a+1)<v&&40===e.src.charCodeAt(l)){for(l++;l<v&&(n=e.src.charCodeAt(l),ia(n)||10===n);l++);if(l>=v)return!1;for(h=l,(c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(c.str),e.md.validateLink(m)?l=c.pos:m=""),h=l;l<v&&(n=e.src.charCodeAt(l),ia(n)||10===n);l++);if(c=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<v&&h!==l&&c.ok)for(d=c.str,l=c.pos;l<v&&(n=e.src.charCodeAt(l),ia(n)||10===n);l++);else d="";if(l>=v||41!==e.src.charCodeAt(l))return e.pos=y,!1;l++}else{if(void 0===e.env.references)return!1;if(l<v&&91===e.src.charCodeAt(l)?(h=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(h,l++):l=a+1):l=a+1,o||(o=e.src.slice(s,a)),!(u=e.env.references[na(o)]))return e.pos=y,!1;m=u.href,d=u.title}return t||(i=e.src.slice(s,a),e.md.inline.parse(i,e.md,e.env,f=[]),(p=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],p.children=f,p.content=i,d&&r.push(["title",d])),e.pos=l,e.posMax=v,!0}],["autolink",function(e,t){var r,n,i,o,a,s,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(a=e.pos,s=e.posMax;;){if(++l>=s)return!1;if(60===(o=e.src.charCodeAt(l)))return!1;if(62===o)break}return r=e.src.slice(a+1,l),aa.test(r)?(n=e.md.normalizeLink(r),!!e.md.validateLink(n)&&(t||((i=e.push("link_open","a",1)).attrs=[["href",n]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(r),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=r.length+2,!0)):!!oa.test(r)&&(n=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(n)&&(t||((i=e.push("link_open","a",1)).attrs=[["href",n]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(r),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=r.length+2,!0))}],["html_inline",function(e,t){var r,n,i,o=e.pos;return!(!e.md.options.html||(i=e.posMax,60!==e.src.charCodeAt(o)||o+2>=i||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(sa))||(t||(e.push("html_inline","",0).content=e.src.slice(o,o+n[0].length)),e.pos+=n[0].length,0)))}],["entity",function(e,t){var r,n,i=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(i))return!1;if(i+1<o)if(35===e.src.charCodeAt(i+1)){if(n=e.src.slice(i).match(da))return t||(r="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),e.pending+=ua(r)?ca(r):ca(65533)),e.pos+=n[0].length,!0}else if((n=e.src.slice(i).match(pa))&&la(mi,n[1]))return t||(e.pending+=mi[n[1]]),e.pos+=n[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}]],Ca=[["balance_pairs",function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(fa(0,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&fa(0,r[t].delimiters)}],["strikethrough",Qo.postProcess],["emphasis",ea.postProcess],["text_collapse",function(e){var t,r,n=0,i=e.tokens,o=e.tokens.length;for(t=r=0;t<o;t++)i[t].nesting<0&&n--,i[t].level=n,i[t].nesting>0&&n++,"text"===i[t].type&&t+1<o&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}]];function Ea(){var e;for(this.ruler=new Xi,e=0;e<ba.length;e++)this.ruler.push(ba[e][0],ba[e][1]);for(this.ruler2=new Xi,e=0;e<Ca.length;e++)this.ruler2.push(Ca[e][0],Ca[e][1])}Ea.prototype.skipToken=function(e){var t,r,n=e.pos,i=this.ruler.getRules(""),o=i.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[n]){if(e.level<a)for(r=0;r<o&&(e.level++,t=i[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,s[n]=e.pos}else e.pos=s[n]},Ea.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),i=n.length,o=e.posMax,a=e.md.options.maxNesting;e.pos<o;){if(e.level<a)for(r=0;r<i&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Ea.prototype.parse=function(e,t,r,n){var i,o,a,s=new this.State(e,t,r,n);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,i=0;i<a;i++)o[i](s)},Ea.prototype.State=ga;var _a=Ea;function Ta(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function xa(e){return Object.prototype.toString.call(e)}function Sa(e){return"[object Function]"===xa(e)}function Oa(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var wa={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},Aa={"http:":{validate:function(e,t,r){var n=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(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=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(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=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(n)?n.match(r.re.mailto)[0].length:0}}},Na="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Pa(e){var t=e.re=function(e){var t={};return t.src_Any=Di.source,t.src_Cc=Ui.source,t.src_Z=ji.source,t.src_P=yi.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),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,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+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}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("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]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var i=[];function o(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 n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===xa(r))return function(e){return"[object RegExp]"===xa(e)}(r.validate)?n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate):Sa(r.validate)?n.validate=r.validate:o(t,r),void(Sa(r.normalize)?n.normalize=r.normalize:r.normalize?o(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===xa(e)}(r)?o(t,r):i.push(t)}})),i.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 a=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Oa).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","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 Ia(e,t){var r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function Ra(e,t){var r=new Ia(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function La(e,t){if(!(this instanceof La))return new La(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||wa.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ta({},wa,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ta({},Aa,e),this.__compiled__={},this.__tlds__=Na,this.__tlds_replaced__=!1,this.re={},Pa(this)}La.prototype.add=function(e,t){return this.__schemas__[e]=t,Pa(this),this},La.prototype.set=function(e){return this.__opts__=Ta(this.__opts__,e),this},La.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,i,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=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+i;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!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,a=n.index+n[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},La.prototype.pretest=function(e){return this.re.pretest.test(e)},La.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},La.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Ra(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(Ra(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},La.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(),Pa(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Pa(this),this)},La.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},La.prototype.onCompile=function(){};var ka=La;const Ma=2147483647,Da=36,Ua=/^xn--/,ja=/[^\0-\x7F]/,Fa=/[\x2E\u3002\uFF0E\uFF61]/g,Ba={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},za=Math.floor,Ha=String.fromCharCode;function qa(e){throw new RangeError(Ba[e])}function Va(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const i=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(Fa,".")).split("."),t).join(".");return n+i}function Ga(e){const t=[];let r=0;const n=e.length;for(;r<n;){const i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){const n=e.charCodeAt(r++);56320==(64512&n)?t.push(((1023&i)<<10)+(1023&n)+65536):(t.push(i),r--)}else t.push(i)}return t}const Wa=e=>String.fromCodePoint(...e),$a=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},Ya=function(e,t,r){let n=0;for(e=r?za(e/700):e>>1,e+=za(e/t);e>455;n+=Da)e=za(e/35);return za(n+36*e/(e+38))},Ka=function(e){const t=[],r=e.length;let n=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let r=0;r<a;++r)e.charCodeAt(r)>=128&&qa("not-basic"),t.push(e.charCodeAt(r));for(let l=a>0?a+1:0;l<r;){const a=n;for(let t=1,i=Da;;i+=Da){l>=r&&qa("invalid-input");const a=(s=e.charCodeAt(l++))>=48&&s<58?s-48+26:s>=65&&s<91?s-65:s>=97&&s<123?s-97:Da;a>=Da&&qa("invalid-input"),a>za((Ma-n)/t)&&qa("overflow"),n+=a*t;const u=i<=o?1:i>=o+26?26:i-o;if(a<u)break;const c=Da-u;t>za(Ma/c)&&qa("overflow"),t*=c}const u=t.length+1;o=Ya(n-a,u,0==a),za(n/u)>Ma-i&&qa("overflow"),i+=za(n/u),n%=u,t.splice(n++,0,i)}var s;return String.fromCodePoint(...t)},Za=function(e){const t=[],r=(e=Ga(e)).length;let n=128,i=0,o=72;for(const r of e)r<128&&t.push(Ha(r));const a=t.length;let s=a;for(a&&t.push("-");s<r;){let r=Ma;for(const t of e)t>=n&&t<r&&(r=t);const l=s+1;r-n>za((Ma-i)/l)&&qa("overflow"),i+=(r-n)*l,n=r;for(const r of e)if(r<n&&++i>Ma&&qa("overflow"),r===n){let e=i;for(let r=Da;;r+=Da){const n=r<=o?1:r>=o+26?26:r-o;if(e<n)break;const i=e-n,a=Da-n;t.push(Ha($a(n+i%a,0))),e=za(i/a)}t.push(Ha($a(e,0))),o=Ya(i,l,s===a),i=0,++s}++i,++n}return t.join("")},Xa=function(e){return Va(e,(function(e){return Ua.test(e)?Ka(e.slice(4).toLowerCase()):e}))},Qa=function(e){return Va(e,(function(e){return ja.test(e)?"xn--"+Za(e):e}))},Ja={version:"2.3.1",ucs2:{decode:Ga,encode:Wa},decode:Ka,encode:Za,toASCII:Qa,toUnicode:Xa};var es=function(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}(Object.freeze({__proto__:null,ucs2decode:Ga,ucs2encode:Wa,decode:Ka,encode:Za,toASCII:Qa,toUnicode:Xa,default:Ja})),ts={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{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"]}}},commonmark:{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"]}}}},rs=/^(vbscript|javascript|file|data):/,ns=/^data:image\/(gif|png|jpeg|webp);/;function is(e){var t=e.trim().toLowerCase();return!rs.test(t)||!!ns.test(t)}var os=["http:","https:","mailto:"];function as(e){var t=Mi.parse(e,!0);if(t.hostname&&(!t.protocol||os.indexOf(t.protocol)>=0))try{t.hostname=es.toASCII(t.hostname)}catch(e){}return Mi.encode(Mi.format(t))}function ss(e){var t=Mi.parse(e,!0);if(t.hostname&&(!t.protocol||os.indexOf(t.protocol)>=0))try{t.hostname=es.toUnicode(t.hostname)}catch(e){}return Mi.decode(Mi.format(t),Mi.decode.defaultChars+"%")}function ls(e,t){if(!(this instanceof ls))return new ls(e,t);t||Bi.isString(e)||(t=e||{},e="default"),this.inline=new _a,this.block=new Go,this.core=new To,this.renderer=new Ki,this.linkify=new ka,this.validateLink=is,this.normalizeLink=as,this.normalizeLinkText=ss,this.utils=Bi,this.helpers=Bi.assign({},qi),this.options={},this.configure(e),t&&this.set(t)}ls.prototype.set=function(e){return Bi.assign(this.options,e),this},ls.prototype.configure=function(e){var t,r=this;if(Bi.isString(e)&&!(e=ts[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},ls.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 n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},ls.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 n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},ls.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},ls.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},ls.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},ls.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},ls.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var us=ls;function cs(e){var t=e.children,r=Y(Pe("markdown",e.className),1)[0],n=i.useMemo((function(){return new us("zero").enable(["emphasis","escape","link","list","newline","normalize","paragraph","strikethrough"])}),[]).render(t);return n.startsWith("<p>")&&n.indexOf("</p>")===n.length-5&&(n=n.slice(3,-5)),u.default.createElement("div",{className:r,dangerouslySetInnerHTML:{__html:n}})}function ds(e){var t=e.className,r=e.separator,n=e.spacing,i=e.style,o=Y(Pe("ac-spacer",t,P({},"spacing--".concat(String(n).toLowerCase()),!!n)),1)[0];return u.default.createElement("div",{className:o,style:{style:i}},r&&u.default.createElement("div",null))}function ps(e){var t,r=i.useContext(fi).onOpenUrl;return"Action.OpenUrl"===(null==e?void 0:e.type)&&Z(e.url,["https:","http:"])&&(t=function(){window.open(e.url,"_blank"),r(e.url)}),t&&{onClick:t,onKeyDown:function(e){return("Enter"===e.key||" "===e.key)&&t()},role:"link",title:e.tooltip}}function fs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fs(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ms(e){var t,r=i.useContext(fi),n=r.getAllValues,o=r.validate,a=r.submit,s=r.invalidSubmit;return"Action.Submit"!==(null==e?void 0:e.type)&&"Action.Execute"!==(null==e?void 0:e.type)||(t=function(){var t;if("none"!==(null===(t=e.associatedInputs)||void 0===t?void 0:t.toLowerCase()))if(o()){var r=n();"object"===f(e.data)&&(r=hs(hs({},r),e.data)),a(r)}else s(n());else a(e.data)}),t&&{onClick:t,onKeyDown:function(e){return("Enter"===e.key||" "===e.key)&&t()},role:"button",title:e.tooltip}}function ys(e){var t,r=i.useContext(fi),n=r.getIsVisible,o=r.setIsVisible;return"Action.ToggleVisibility"===(null==e?void 0:e.type)&&(t=function(){return(e.targetElements||[]).map((function(e){return"string"==typeof e?o(e,!n(e)):o(e.elementId,e.isVisible)}))}),t&&{onClick:t,onKeyDown:function(e){return("Enter"===e.key||" "===e.key)&&t()},role:"button",title:e.tooltip}}function vs(e){var t=ps(e),r=ms(e),n=ys(e);return t||r||n}cs.propTypes={children:c.default.string,className:c.default.string},cs.defaultProps={children:"",className:""},ds.propTypes={className:c.default.string,separator:c.default.bool,spacing:c.default.string,style:c.default.shape()},ds.defaultProps={className:"",separator:!1,spacing:"default",style:void 0};var gs=["data","className","style","inherited"];function bs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Cs(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bs(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bs(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Es={},_s={},Ts="actions",xs="action-style",Ss="alt-text",Os="associated-inputs",ws="background-color",As="background-image",Ns="bleed",Ps="card",Is="children",Rs="color",Ls="container-style",ks="data",Ms="default-image-size",Ds="error-message",Us="fallback",js="font-type",Fs="height",Bs="highlight",zs="horizontal-alignment",Hs="icon-url",qs="id",Vs="inline-action",Gs="image-size",Ws="image-style",$s="input-style",Ys="is-enabled",Ks="is-multi-line",Zs="is-multi-select",Xs="is-required",Qs="is-subtle",Js="is-visible",el="italic",tl="label",rl="max-length",nl="max-lines",il="max-value",ol="min-height",al="min-value",sl="placeholder",ll="regex",ul="rtl",cl="$schema",dl="select-action",pl="separator",fl="size",hl="spacing",ml="strikethrough",yl="style",vl="target-elements",gl="text",bl="title",Cl="tooltip",El="type",_l="underline",Tl="url",xl="value",Sl="value-off",Ol="value-on",wl="version",Al="vertical-content-alignment",Nl="weight",Pl="width",Il="wrap";function Rl(e,t,r){Es[e]=t,_s[e]=r}function Ll(e){var t=e.data,r=Y(Pe("adaptive-cards-unknown-component"),1)[0];return u.default.createElement("div",null,u.default.createElement("h5",null,"".concat(t.type," Component")),u.default.createElement("pre",{className:r},JSON.stringify(t,null,4)))}function kl(e){var t,r=e.data,n=e.className,o=e.style,a=e.inherited,s=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,gs),l=i.useContext(fi),c=l.setElement,d=l.getIsVisible;i.useEffect((function(){c({id:r.id,isVisible:!1!==r.isVisible})}),[r.id,r.isVisible,c]);for(var p=Y(Pe("ac",n),1)[0],h="drop"!==r.fallback&&Es[r.fallback],m=Es[r.type]||h||Ll,y=[],v=function(e,t){return void 0!==t?"wxc-ac-".concat(e,"--").concat(String(t).toLowerCase()):"wxc-ac-".concat(e)},g={},b=vs(r.selectAction),C={},E=a,_=0,T=["fallback","verticalContentAlignment"];_<T.length;_++){var x=T[_];m.acPropTypes&&m.acPropTypes[x]&&(void 0!==r[x]?E=Cs(Cs({},E),{},P({},x,r[x])):void 0!==a[x]&&(C=Cs(Cs({},C),{},P({},x,a[x]))))}for(var S=Cs(Cs(Cs({},m.acDefaultProps),C),r),O=0,w=Object.entries(S);O<w.length;O++){var A=Y(w[O],2),N=A[0],I=A[1],R=m.acPropTypes&&m.acPropTypes[N]||void 0;switch(R){case void 0:console.log("[".concat(r.type,"]"),"Unknown property",N);break;case Ts:case Ss:case Os:case ws:case Ps:case Is:case ks:case Ms:case Ds:case Us:case Hs:case qs:case Vs:case tl:case rl:case nl:case il:case al:case sl:case ll:case cl:case pl:case hl:case yl:case Ks:case Zs:case Xs:case vl:case gl:case Cl:case bl:case El:case Tl:case xl:case wl:case Sl:case Ol:break;case Ls:y.push(v(R,I)),I&&"default"!==I&&y.push(v("container","has-padding"));break;case Pl:"auto"===I||"stretch"===I?y.push(v(R,I)):"number"==typeof I?g.flex=r.width:g.width=r.width;break;case Fs:"auto"===I||"stretch"===I?y.push(v(R,I)):g.height=r.height;break;case ol:g.minHeight=r.minHeight;break;case As:"string"==typeof I?g.backgroundImage="url(".concat(I,")"):"object"===f(I)&&null!==I&&(g.backgroundImage="url(".concat(I.url,")"),y.push(v("".concat(R,"-fill-mode"),I.fillMode)),y.push(v("".concat(R,"-horizontal-alignment"),I.horizontalAlignment)),y.push(v("".concat(R,"-vertical-alignment"),I.verticalAlignment)));break;case Js:y.push(v(R,d(r.id)));break;case dl:y.push(v(R));break;default:y.push(v(R,I))}}var L=_s[r.type];L&&y.push(v("container",L));var k=Cs({action:b&&Cs(Cs({},b),{},{tabIndex:0}),className:"".concat(p," ").concat(y.join(" ")),data:Cs({},S),inherited:E,style:Cs(Cs({},g),o)},s),M=(null===(t=m.acPropTypes)||void 0===t?void 0:t.spacing)&&u.default.createElement(ds,{spacing:r.spacing,separator:r.separator});return u.default.createElement(u.default.Fragment,null,M,u.default.createElement(m,k))}function Ml(e){var t=e.children,r=e.className,n=e.style,i=Y(Pe("badge",r),1)[0];return u.default.createElement("div",{className:i,style:n},t)}function Dl(e){var t=e.children,r=e.className,n=e.style,i=e.type,o=Y(Pe("banner",r,P({},"".concat(i),!0)),1)[0];return u.default.createElement("div",{className:o,style:n},t)}Ll.propTypes={data:c.default.shape()},Ll.defaultProps={data:void 0},Ll.acPropTypes={type:El},kl.propTypes={data:c.default.shape().isRequired,className:c.default.string,inherited:c.default.shape().isRequired,style:c.default.shape(),otherProps:c.default.shape()},kl.defaultProps={className:void 0,style:void 0,otherProps:void 0},Ml.propTypes={children:c.default.node.isRequired,className:c.default.string,style:c.default.shape()},Ml.defaultProps={className:"",style:{}},Dl.propTypes={children:c.default.node.isRequired,className:c.default.string,style:c.default.shape(),type:c.default.oneOf(["top","bottom"])},Dl.defaultProps={className:"",style:void 0,type:"top"};var Ul=function(e){var t=e.children,r=document.querySelector("body");return a.createPortal(t,r)};function jl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jl(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Ul.propTypes={children:c.default.node.isRequired};var Bl=function(e){var t,r=e.children,n=e.className,o=e.style,a=e.target,s=Y(Pe("tooltip-container",n),2),l=s[0],c=s[1],d=Y(i.useState(!1),2),p=d[0],f=d[1];if(a){var h=a.getBoundingClientRect();t={left:h.x+h.width/2,bottom:window.innerHeight-h.top+14-window.scrollY}}return i.useEffect((function(){var e,t="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;if(a&&!t){var r=function(){return f(!0)},n=function(){return f(!1)};a.addEventListener("mouseenter",r),a.addEventListener("mouseleave",n),e=function(){a.removeEventListener("mouseenter",r),a.removeEventListener("mouseleave",n)}}return e}),[a]),p&&u.default.createElement(Ul,null,u.default.createElement("div",{className:l,style:Fl(Fl({},o),t)},u.default.createElement("div",{className:c("wrapper")},u.default.createElement("div",{className:c("box")},r,u.default.createElement("span",{className:c("arrow")})))))};function zl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Hl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zl(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ql(e){var t=e.ariaLabel,r=e.autoFocus,n=e.children,i=e.className,o=e.isDisabled,a=e.onClick,s=e.pressed,l=e.size,c=e.style,d=e.tabIndex,p=e.tooltip,f=e.type,h=Y(Pe("button",i,P(P({},"".concat(f),!0),"pressed",s)),1)[0],m=an();return ar(m,r),u.default.createElement(u.default.Fragment,null,u.default.createElement("button",{className:h,type:"button",onClick:o?void 0:a,"aria-label":t,autoFocus:r,tabIndex:d,ref:m,style:Hl({height:l},c),"wxc-disabled":o?"true":void 0},n),p&&u.default.createElement(Bl,{target:m.current},p))}function Vl(e){var t=e.children,r=e.className,n=e.error,i=e.id,o=e.label,a=e.required,s=e.style,l=Y(Pe("label",r),2),c=l[0],d=l[1];return u.default.createElement("div",{className:c,style:s},o&&u.default.createElement("label",{className:d("label-text"),htmlFor:"".concat(i,"-control"),id:"".concat(i,"-label")},u.default.createElement("span",{className:d("text")},o),a&&u.default.createElement("span",{className:d("required")}," *")),u.default.createElement("div",{className:d("control")},t),n&&u.default.createElement("div",{className:d("error"),id:"".concat(i,"-error")},u.default.createElement(Qt,{name:"warning",size:16,className:d("error-icon")}),u.default.createElement("span",{className:d("error-text")},n)))}function Gl(e){var t=e.ariaLabel,r=e.autoFocus,n=e.className,i=e.disabled,o=e.error,a=e.id,s=e.label,l=e.max,c=e.maxLength,d=e.min,p=e.name,f=e.onChange,h=e.pattern,m=e.placeholder,y=e.required,v=e.rightControls,g=e.rightIcon,b=e.style,C=e.tabIndex,E=e.type,_=e.value,T=Y(Pe("input-field",n,{error:o,"has-right-icon":void 0!==g,"has-right-controls":v}),2),x=T[0],S=T[1],O=an(),w=a||ee();return ar(O,r),u.default.createElement(Vl,{className:x,error:o,id:w,label:s,required:y,style:b},u.default.createElement("div",{className:S("form-control")},u.default.createElement("input",{"aria-errormessage":o&&"".concat(w,"-error"),"aria-invalid":o?"true":"false","aria-label":t,"aria-labelledby":"".concat(w,"-label"),autoFocus:r,className:Oe(S("input"),P({},S("error"),o)),disabled:i,id:"".concat(w,"-control"),max:l,maxLength:c,min:d,name:p,onChange:function(e){return f(e.target.value)},onKeyDown:function(e){["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.key)&&e.stopPropagation()},pattern:h,placeholder:m,ref:O,required:y,tabIndex:C,type:E,value:_}),!!g&&u.default.createElement("span",{className:S("right-icon")},g),v&&u.default.createElement("div",{className:S("right-controls")},v)))}Bl.propTypes={className:c.default.string,children:c.default.node.isRequired,style:c.default.shape(),target:c.default.shape()},Bl.defaultProps={className:"",style:{},target:null},ql.propTypes={ariaLabel:c.default.string,autoFocus:c.default.bool,children:c.default.node.isRequired,className:c.default.string,isDisabled:c.default.bool,onClick:c.default.func,pressed:c.default.bool,style:c.default.shape(),size:c.default.oneOfType([c.default.number,c.default.string]),tabIndex:c.default.number,tooltip:c.default.string,type:c.default.oneOf(["default","join","cancel","ghost","toggle","primary"])},ql.defaultProps={ariaLabel:void 0,autoFocus:!1,className:"",isDisabled:!1,onClick:void 0,pressed:!1,style:{},size:32,tabIndex:0,tooltip:"",type:"default"},Vl.propTypes={children:c.default.node.isRequired,className:c.default.string,error:c.default.string,id:c.default.string.isRequired,label:c.default.string,required:c.default.bool,style:c.default.shape()},Vl.defaultProps={className:void 0,error:void 0,label:void 0,required:!1,style:void 0},Gl.propTypes={ariaLabel:c.default.string,autoFocus:c.default.bool,className:c.default.string,disabled:c.default.bool,error:c.default.string,id:c.default.string,label:c.default.string,max:c.default.number,maxLength:c.default.number,min:c.default.number,name:c.default.string,onChange:c.default.func,pattern:c.default.string,placeholder:c.default.string,required:c.default.bool,rightControls:c.default.node,rightIcon:c.default.oneOfType([c.default.bool,c.default.object]),style:c.default.shape(),tabIndex:c.default.number,type:c.default.string,value:c.default.oneOfType([c.default.string,c.default.number])},Gl.defaultProps={ariaLabel:void 0,autoFocus:!1,className:void 0,disabled:!1,error:void 0,id:void 0,label:void 0,max:void 0,maxLength:void 0,min:void 0,name:void 0,onChange:void 0,pattern:void 0,placeholder:void 0,required:!1,rightControls:void 0,rightIcon:void 0,style:void 0,tabIndex:0,type:"text",value:void 0};var Wl=425,$l=768,Yl=1024,Kl=1440;function Zl(e){var t=e.children,r=e.className,n=e.onBack,i=e.onClose,o=e.otherClassName,a=e.title,s=e.ariaLabel,l=an(),c=Y(Pe("modal",r,{"centered-modal":Gr(l).width>$l}),2),d=c[0],p=c[1];return u.default.createElement("div",{ref:l,className:d,onKeyDown:function(e){"Escape"!==e.key&&"Esc"!==e.key||i()},role:"dialog","aria-label":s||a},u.default.createElement("div",{className:"".concat(p("content")," ").concat(o)},u.default.createElement("div",{className:p("header")},n&&u.default.createElement(ql,{tabIndex:198,type:"ghost",className:p("back"),size:28,onClick:n,ariaLabel:"Return to the previous screen"},u.default.createElement(Qt,{name:"arrow-left",size:"13"})),a&&u.default.createElement("h3",{className:p("title")},a),i&&u.default.createElement(ql,{tabIndex:199,className:p("close"),type:"ghost",size:28,ariaLabel:"Close dialog",onClick:i},u.default.createElement(Qt,{name:"cancel",size:16}))),u.default.createElement("div",{className:p("body")},t)))}function Xl(e){var t=e.autoFocus,r=e.className,n=e.onMouseEnter,i=e.onSelect,o=e.option,a=e.selected,s=e.tabIndex,l=an(),c=Y(Pe("option",r),2),d=c[0],p=c[1];return ar(l,t),u.default.createElement("li",{"aria-selected":a===o.value,className:d,key:o.value,role:"option",ref:l,onClick:function(){return i(o,!1)},onKeyDown:function(e){var t;"ArrowUp"===e.key?(e.preventDefault(),e.stopPropagation(),t=l.current.previousElementSibling):"ArrowDown"===e.key?(e.preventDefault(),e.stopPropagation(),t=l.current.nextElementSibling):"Enter"===e.key&&i(o,!0),t&&t.focus()},onMouseEnter:n,tabIndex:s,title:"object"!==f(o.label)?o.label:void 0},o.icon&&u.default.createElement(Qt,{name:o.icon}),u.default.createElement("span",{className:p("label")},o.label),void 0!==a&&u.default.createElement(Qt,{className:Oe(p("check"),P({},p("check--invisible"),a!==o.value)),size:16,name:"check"}))}function Ql(e){var t=e.className,r=e.id,n=e.labelId,i=e.onBlur,o=e.onSelect,a=e.options,s=e.selected,l=e.style,c=e.tabIndex,d=e.withKey,p=Y(Pe("options-list",t),1)[0];return u.default.createElement("ul",{className:p,style:l,"aria-labelledby":n,id:r,onKeyDown:function(e){"Tab"===e.key&&i()},role:"listbox",tabIndex:c},a.map((function(e,t){return u.default.createElement(Xl,{key:e.value,autoFocus:d&&(e.value===s||0===t),onSelect:o,option:e,selected:s,tabIndex:c})})))}function Jl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function eu(e){var t=e.className,r=e.size,n=e.style,i=Y(Pe("spinner",t),1)[0],o=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Jl(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Jl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n);return r&&(o.width=r,o.height=r),u.default.createElement("div",{className:i,style:o})}function tu(e){var t=e.children,r=e.className,n=e.style,i=e.type,o=Y(Pe("title",r,P({},"".concat(i),!0)),1)[0];return u.default.createElement("h5",{className:o,style:n},t)}function ru(e){var t=e.className,r=e.data,n=e.onClick,i=e.pressed,o=e.rightIcon,a=e.style,s=!1===r.isEnabled,l=Y(Pe("ac-action",t,{disabled:s}),2),c=l[0],d=l[1],p={positive:"join",destructive:"cancel"}[r.style]||"primary",f=Z(r.iconUrl,["http:","https:","data:"]);return u.default.createElement(ql,{className:c,isDisabled:s,onClick:n,pressed:i,style:a,type:p},r.iconUrl&&f&&u.default.createElement("img",{className:d("icon"),src:r.iconUrl,alt:""}),u.default.createElement("span",null,hi(r.title)),o&&u.default.createElement(Qt,{className:d("right-icon"),name:o,size:10}))}function nu(e){var t,r=e.className,n=e.data,i=e.style,o=Y(Pe("ac-action-open-url",r),1)[0];return u.default.createElement(ru,{className:o,data:n,onClick:null===(t=ps(n))||void 0===t?void 0:t.onClick,style:i})}function iu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ou(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?iu(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function au(e){var t=e.data,r=e.className,n=e.inherited,o=e.style,a=i.useContext(fi).onShowCard,s=Y(Pe("adaptive-cards-action-set",r),1)[0],l=Y(i.useState({}),2),c=l[0],d=l[1];return u.default.createElement(u.default.Fragment,null,u.default.createElement("div",{className:s,style:o},t.actions.map((function(e,r){return u.default.createElement(kl,{data:e,key:r,inherited:n,onClick:"Action.ShowCard"===e.type&&function(){return function(e){var r,n=!c[e];d(ou(ou({},c),{},P({},e,n))),a(n,null===(r=t.actions[e])||void 0===r?void 0:r.card)}(r)},pressed:c[r]})}))),u.default.createElement("div",null,t.actions.map((function(e,t){return c[t]&&u.default.createElement(kl,{data:e.card,inherited:n,key:t})}))))}function su(e){var t=e.className,r=e.data,n=e.onClick,i=e.pressed,o=e.style,a=Y(Pe("ac-action-show-card",t),1)[0];return u.default.createElement(ru,{className:a,data:r,onClick:n,pressed:i,rightIcon:i?"arrow-up":"arrow-down",style:o})}function lu(e){var t=e.className,r=e.data,n=e.style,i=Y(Pe("ac-action-submit",t),1)[0];return u.default.createElement(ru,{className:i,style:n,data:r,onClick:ms(r).onClick})}function uu(e){var t=e.className,r=e.data,n=e.style,i=Y(Pe("ac-action-toggle-visibility",t),1)[0];return u.default.createElement(ru,{className:i,data:r,onClick:ys(r).onClick,style:n})}function cu(e){var t,r=e.action,n=e.data,i=e.className,o=e.inherited,a=e.style,s=Y(Pe("adaptive-cards-column",i),1)[0];return u.default.createElement("div",li({className:s},r,{style:a}),null===(t=n.items)||void 0===t?void 0:t.map((function(e,t){return u.default.createElement(kl,{data:e,inherited:o,key:t})})))}function du(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pu(e){var t=e.action,r=e.data,n=e.className,i=e.inherited,o=e.style,a=Y(Pe("adaptive-cards-column-set",n),1)[0];return u.default.createElement("div",li({className:a},t,{style:o}),r.columns.map((function(e,t){var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?du(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):du(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({type:"Column"},e);return u.default.createElement(kl,{data:r,inherited:i,key:t})})))}function fu(e){var t,r=e.action,n=e.data,i=e.className,o=e.inherited,a=e.style,s=Y(Pe("container",i),1)[0];return u.default.createElement("div",li({className:s},r,{style:a}),null===(t=n.items)||void 0===t?void 0:t.map((function(e,t){return u.default.createElement(kl,{data:e,inherited:o,key:t})})))}function hu(e){var t=e.data,r=Y(Pe("adaptive-cards-fact-set",e.className),2),n=r[0],i=r[1];return u.default.createElement("div",{className:n},u.default.createElement("table",null,u.default.createElement("tbody",null,t.facts.map((function(e,t){return u.default.createElement("tr",{key:t},u.default.createElement("th",{className:i("fact-title")},hi(e.title)),u.default.createElement("td",null,hi(e.value)))})))))}function mu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mu(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function vu(e){var t=e.action,r=e.data,n=e.className,i=e.style,o=Y(Pe("adaptive-cards-image",n),1)[0];return u.default.createElement("img",li({},t,{alt:r.altText,className:o,src:r.url,style:yu(yu({},i),{},{backgroundColor:r.backgroundColor,width:r.width})}))}function gu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bu(e){var t=e.data,r=e.className,n=e.inherited,i=e.style,o=Y(Pe("adaptive-cards-image-set",r),1)[0];return u.default.createElement("div",{className:o},t.images.map((function(e,r){var o=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?gu(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({size:t.imageSize},e);return u.default.createElement(kl,{data:o,inherited:n,key:r,style:i})})))}function Cu(e){var t=e.ariaLabel,r=e.className,n=e.disabled,i=e.onChange,o=e.selected,a=e.style,s=e.tabIndex,l=e.title,c=!n,d=!0===o,p=!1===o,f=!d&&!p,h=an(),m=Y(Pe("checkbox",r),2),y=m[0],v=m[1];return u.default.createElement("div",{"aria-checked":o,"aria-disabled":n,"aria-label":t,className:y,onClick:function(){return c&&i(!o)},onKeyDown:function(e){var t;!c||" "!==e.key&&"Enter"!==e.key?"ArrowUp"===e.key?(e.preventDefault(),e.stopPropagation(),t=h.current.previousElementSibling):"ArrowDown"===e.key&&(e.preventDefault(),e.stopPropagation(),t=h.current.nextElementSibling):(e.preventDefault(),i(!o)),t&&t.focus()},ref:h,role:"checkbox",style:a,tabIndex:s},u.default.createElement("div",{className:Oe(v("box"),P(P(P(P(P({},v("box--enabled"),c),v("box--disabled"),n),v("box--checked"),d),v("box--unchecked"),p),v("box--indeterminate"),f))},(d||f)&&u.default.createElement(Qt,{className:v("checkmark"),name:d?"check":"indeterminate"})),u.default.createElement("span",{className:v("title")},l))}function Eu(e){var t=e.className,r=e.error,n=e.id,i=e.label,o=e.onChange,a=e.options,s=e.required,l=e.selected,c=e.style,d=Y(Pe("checkbox-set",t),1)[0],p=n||ee();return u.default.createElement(Vl,{className:d,error:r,id:p,label:i,required:s,style:c},u.default.createElement("div",{"aria-describedby":r&&"".concat(p,"-error"),"aria-invalid":r?"true":"false","aria-labelledby":"".concat(p,"-label"),role:"group"},a.map((function(e,t){return u.default.createElement(Cu,{key:t,onChange:function(t){return o(e.value,t)},selected:l[e.value],title:e.label})}))))}function _u(e){var t=e.className,r=e.style,n=e.name,i=e.value,o=e.disabled,a=e.required,s=e.error,l=e.label,c=e.onChange,d=Y(Pe("date-input",t),1)[0];return u.default.createElement(Gl,{className:d,style:r,type:"date",name:n,disabled:o,required:a,error:s,onChange:c,value:i,label:l})}function Tu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tu(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tu(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Su(e){var t=e.className,r=e.style,n=e.children,o=Y(Pe("popup",t),1)[0],a=Y(i.useState(null),2),s=a[0],l=a[1],c=an(),d=an(),p=an();i.useEffect((function(){var e,t;d(null===(e=c.current)||void 0===e?void 0:e.parentNode),p(null===(t=c.current)||void 0===t?void 0:t.firstChild)}),[c.current]);var f=Wr(d),h=Wr(p);return i.useEffect((function(){var e,t=(null==f?void 0:f.top)||0,r=window.innerHeight-((null==f?void 0:f.bottom)||0)-window.scrollY-12;e=f&&h?h.height<=r||r>=t?{top:f.bottom+4,maxHeight:r,width:f.width}:{bottom:window.innerHeight-t-window.scrollY+4,maxHeight:t-12,width:f.width}:{},l(e)}),[l,f,h]),u.default.createElement("div",{className:o,style:xu(xu({},r),s),ref:c},u.default.createElement("div",null,n))}function Ou(e){var t,r=e.ariaLabel,n=e.className,o=e.disabled,a=e.error,s=e.id,l=e.label,c=e.onChange,d=e.options,p=e.placeholder,f=e.required,h=e.style,m=e.tabIndex,y=e.tooltip,v=e.value,g=Y(i.useState(void 0),2),b=g[0],C=g[1],E=Y(Pe("dropdown",n,{disabled:o}),2),_=E[0],T=E[1],x=null==d||null===(t=d.find((function(e){return e.value===v})))||void 0===t?void 0:t.label,S=an(),O=an(),w=s||ee(),A=function(){return C(void 0)},N=function(e){return C({withKey:e})};return i.useEffect((function(){var e;return b&&(setTimeout((function(){return document.addEventListener("click",A)})),e=function(){return document.removeEventListener("click",A)}),e}),[b]),i.useEffect((function(){var e;if(b){var t=function(e){S.current&&!S.current.contains(e.target)&&A()};window.addEventListener("scroll",t,!0),e=function(){return window.removeEventListener("scroll",t,!0)}}return e}),[b,S]),u.default.createElement(Vl,{className:_,style:h,error:a,id:w,label:l,required:f},u.default.createElement("div",{className:T("control"),ref:S,disabled:o,onKeyDown:function(e){"Escape"!==e.key&&"Esc"!==e.key||(e.stopPropagation(),A())}},u.default.createElement("div",{"aria-errormessage":a&&"".concat(w,"-error"),"aria-invalid":a?"true":"false","aria-controls":"".concat(w,"-options"),"aria-expanded":b,"aria-haspopup":"listbox","aria-label":r,"aria-labelledby":"".concat(w,"-label"),className:"".concat(T("selected-option")," ").concat(b?T("expanded"):""),id:"".concat(w,"-control"),onClick:function(){o||C(b?void 0:{withKey:!1})},onKeyDown:function(e){"Enter"===e.key||" "===e.key?(e.preventDefault(),N(!0)):"Tab"===e.key?A():"ArrowDown"!==e.key&&"ArrowUp"!==e.key||(e.preventDefault(),e.stopPropagation(),N(!0))},role:"combobox",tabIndex:o?-1:m,title:y,ref:O},u.default.createElement("span",{className:T("label")},null===d?"Loading...":x||v||p),u.default.createElement(Qt,{name:b?"arrow-up":"arrow-down",size:13})),b&&u.default.createElement(Su,null,u.default.createElement(Ql,{className:T("options-list"),id:"".concat(w,"-options"),labelId:"".concat(w,"-label"),onBlur:A,onSelect:function(e){A(),c(e.value),O.current.focus()},options:d,selected:v,tabIndex:m,withKey:b.withKey}))))}Zl.propTypes={children:c.default.node.isRequired,className:c.default.string,onBack:c.default.func,onClose:c.default.func,otherClassName:c.default.string,title:c.default.string,ariaLabel:c.default.string},Zl.defaultProps={className:"",onBack:void 0,onClose:void 0,otherClassName:void 0,title:"",ariaLabel:void 0},Xl.propTypes={className:c.default.string,autoFocus:c.default.bool,onMouseEnter:c.default.func,onSelect:c.default.func.isRequired,option:c.default.shape({value:c.default.string,label:c.default.node,icon:c.default.string}).isRequired,selected:c.default.string,tabIndex:c.default.number},Xl.defaultProps={className:"",autoFocus:void 0,onMouseEnter:void 0,selected:void 0,tabIndex:0},Ql.propTypes={className:c.default.string,id:c.default.string,labelId:c.default.string,onBlur:c.default.func,onSelect:c.default.func.isRequired,options:c.default.arrayOf(c.default.shape({value:c.default.string,label:c.default.node,icon:c.default.string})),selected:c.default.string,style:c.default.shape(),tabIndex:c.default.number,withKey:c.default.bool},Ql.defaultProps={className:"",id:void 0,labelId:void 0,onBlur:void 0,options:[],selected:"",style:void 0,tabIndex:0,withKey:!1},eu.propTypes={className:c.default.string,size:c.default.number,style:c.default.shape()},eu.defaultProps={className:"",size:30,style:{}},tu.propTypes={children:c.default.node.isRequired,className:c.default.string,style:c.default.shape(),type:c.default.oneOf(["section","subsection"])},tu.defaultProps={className:"",style:{},type:"section"},ru.propTypes={className:c.default.string,data:c.default.shape().isRequired,onClick:c.default.func.isRequired,pressed:c.default.bool,rightIcon:c.default.string,style:c.default.shape()},ru.defaultProps={className:void 0,pressed:!1,rightIcon:void 0,style:void 0},ru.acPropTypes={iconUrl:Hs,id:qs,isEnabled:Ys,style:xs,title:bl,tooltip:Cl,type:El,url:Tl},ru.acDefaultProps={style:"default"},nu.propTypes={className:c.default.string,data:c.default.shape().isRequired,style:c.default.shape()},nu.defaultProps={className:void 0,style:void 0},nu.acPropTypes={fallback:Us,iconUrl:Hs,id:qs,isEnabled:Ys,style:xs,title:bl,tooltip:Cl,type:El,url:Tl},nu.acDefaultProps={style:"default"},Rl("Action.OpenUrl",nu),au.propTypes={data:c.default.shape().isRequired,className:c.default.string,inherited:c.default.shape().isRequired,style:c.default.shape()},au.defaultProps={className:"",style:void 0},au.acPropTypes={actions:Is,fallback:Us,height:Fs,id:qs,isVisible:Js,separator:pl,spacing:hl,type:El},au.acDefaultProps={isVisible:!0},Rl("ActionSet",au,"horizontal"),su.propTypes={className:c.default.string,data:c.default.shape().isRequired,onClick:c.default.func.isRequired,pressed:c.default.bool,style:c.default.shape()},su.defaultProps={className:void 0,pressed:!1,style:void 0},su.acPropTypes={card:Ps,fallback:Us,iconUrl:Hs,id:qs,isEnable:Ys,style:xs,title:bl,type:El},su.acDefaultProps={style:"default"},Rl("Action.ShowCard",su,"horizontal"),lu.propTypes={className:c.default.string,data:c.default.shape().isRequired,style:c.default.shape()},lu.defaultProps={className:void 0,style:void 0},lu.acPropTypes={associatedInputs:Os,data:ks,fallback:Us,iconUrl:Hs,id:qs,isEnabled:Ys,style:xs,title:bl,tooltip:Cl,type:El},lu.acDefaultProps={associatedInputs:"auto",style:"default"},Rl("Action.Submit",lu),Rl("Action.Execute",lu),uu.propTypes={className:c.default.string,data:c.default.shape().isRequired,style:c.default.shape()},uu.defaultProps={className:void 0,style:void 0},uu.acPropTypes={fallback:Us,iconUrl:Hs,id:qs,isEnabled:Ys,style:xs,title:bl,tooltip:Cl,targetElements:vl,type:El},uu.acDefaultProps={style:"default"},Rl("Action.ToggleVisibility",uu),cu.propTypes={action:c.default.shape(),data:c.default.shape().isRequired,className:c.default.string,inherited:c.default.shape().isRequired,style:c.default.shape()},cu.defaultProps={action:void 0,className:"",style:void 0},cu.acPropTypes={backgroundImage:As,bleed:Ns,fallback:Us,id:qs,isVisible:Js,items:Is,minHeight:ol,rtl:ul,selectAction:dl,separator:pl,spacing:hl,style:Ls,type:El,verticalContentAlignment:Al,width:Pl},cu.acDefaultProps={isVisible:!0,verticalContentAlignment:"top"},Rl("Column",cu,"vertical"),pu.propTypes={action:c.default.shape(),data:c.default.shape().isRequired,className:c.default.string,inherited:c.default.shape().isRequired,style:c.default.shape()},pu.defaultProps={action:void 0,className:"",style:void 0},pu.acPropTypes={bleed:Ns,columns:Is,fallback:Us,height:Fs,horizontalAlignment:zs,id:qs,isVisible:Js,minHeight:ol,selectAction:dl,separator:pl,spacing:hl,style:Ls,type:El},pu.acDefaultProps={horizontalAlignment:"left",isVisible:!0},Rl("ColumnSet",pu,"horizontal"),fu.propTypes={action:c.default.shape(),data:c.default.shape().isRequired,className:c.default.string,inherited:c.default.shape().isRequired,style:c.default.shape()},fu.defaultProps={action:void 0,className:"",style:void 0},fu.acPropTypes={backgroundImage:As,bleed:Ns,fallback:Us,height:Fs,id:qs,isVisible:Js,items:Is,minHeight:ol,rtl:ul,selectAction:dl,separator:pl,spacing:hl,style:Ls,type:El,verticalContentAlignment:Al},fu.acDefaultProps={isVisible:!0,verticalContentAlignment:"top"},Rl("Container",fu,"vertical"),hu.propTypes={data:c.default.shape().isRequired,className:c.default.string},hu.defaultProps={className:""},hu.acPropTypes={facts:Is,fallback:Us,height:Fs,id:qs,isVisible:Js,separator:pl,spacing:hl,type:El},hu.acDefaultProps={isVisible:!0},Rl("FactSet",hu),vu.propTypes={action:c.default.shape(),data:c.default.shape().isRequired,className:c.default.string,style:c.default.shape()},vu.defaultProps={action:void 0,className:"",style:void 0},vu.acPropTypes={altText:Ss,backgroundColor:ws,fallback:Us,height:Fs,horizontalAlignment:zs,id:qs,isVisible:Js,selectAction:dl,separator:pl,size:Gs,spacing:hl,style:Ws,type:El,url:Tl,width:Pl},vu.acDefaultProps={horizontalAlignment:"left",isVisible:!0,size:"medium"},Rl("Image",vu),bu.propTypes={data:c.default.shape().isRequired,className:c.default.string,inherited:c.default.shape().isRequired,style:c.default.shape()},bu.defaultProps={className:"",style:void 0},bu.acPropTypes={fallback:Us,height:Fs,images:Is,id:qs,imageSize:Ms,isVisible:Js,separator:pl,spacing:hl,type:El},bu.acDefaultProps={isVisible:!0},Rl("ImageSet",bu,"horizontal"),Cu.propTypes={ariaLabel:c.default.string,className:c.default.string,disabled:c.default.bool,onChange:c.default.func.isRequired,selected:c.default.bool,style:c.default.shape(),tabIndex:c.default.number,title:c.default.string},Cu.defaultProps={ariaLabel:void 0,className:void 0,disabled:!1,selected:!1,style:void 0,tabIndex:0,title:void 0},Eu.propTypes={className:c.default.string,error:c.default.string,id:c.default.string,label:c.default.string,onChange:c.default.func.isRequired,options:c.default.arrayOf(c.default.shape({label:c.default.string,value:c.default.string})).isRequired,required:c.default.bool,selected:c.default.shape(),style:c.default.shape()},Eu.defaultProps={className:void 0,error:void 0,id:void 0,label:void 0,required:!1,selected:void 0,style:void 0},_u.propTypes={className:c.default.string,style:c.default.shape(),name:c.default.string,value:c.default.string,disabled:c.default.bool,required:c.default.bool,error:c.default.string,label:c.default.string,onChange:c.default.func.isRequired},_u.defaultProps={className:void 0,style:void 0,name:void 0,value:void 0,disabled:!1,required:!1,error:void 0,label:void 0},Su.propTypes={className:c.default.string,style:c.default.shape(),children:c.default.node.isRequired},Su.defaultProps={className:void 0,style:void 0},Ou.propTypes={ariaLabel:c.default.string,className:c.default.string,disabled:c.default.bool,error:c.default.string,id:c.default.string,label:c.default.string,onChange:c.default.func.isRequired,options:c.default.arrayOf(c.default.shape({value:c.default.string,label:c.default.string})),placeholder:c.default.string,required:c.default.bool,style:c.default.shape(),tabIndex:c.default.number,tooltip:c.default.string,value:c.default.string},Ou.defaultProps={ariaLabel:void 0,className:void 0,disabled:!1,error:void 0,id:void 0,label:void 0,options:[],placeholder:void 0,required:!1,style:void 0,tabIndex:0,tooltip:void 0,value:""};var wu="Show password",Au="Hide password";function Nu(e){var t=e.ariaLabel,r=e.autoFocus,n=e.className,o=e.error,a=e.label,s=e.maxLength,l=e.name,c=e.onChange,d=e.pattern,p=e.placeholder,f=e.required,h=e.style,m=e.tabIndex,y=e.value,v=Y(Pe("password-input",n),1)[0],g=Y(i.useState(!1),2),b=g[0],C=g[1],E=u.default.createElement(ql,{ariaLabel:b?Au:wu,onClick:function(){C((function(e){return!e}))},size:28,tabIndex:m,type:"ghost"},u.default.createElement(Qt,{name:b?"hide-password":"show-password"}));return u.default.createElement(Gl,{ariaLabel:t,autoFocus:r,className:v,error:o,label:a,maxLength:s,name:l,onChange:c,pattern:d,placeholder:p,required:f,rightIcon:!!y&&E,style:h,tabIndex:m,type:b?"text":"password",value:y})}function Pu(e){var t=e.ariaLabel,r=e.className,n=e.disabled,i=e.error,o=e.onChange,a=e.selected,s=e.tabIndex,l=e.title,c=!n,d=an(),p=Y(Pe("radio-button",r,{enabled:c,disabled:n,error:i}),2),f=p[0],h=p[1];return u.default.createElement("div",{"aria-checked":a,"aria-disabled":n,"aria-label":t,className:f,onClick:function(){return c&&o(!a)},onKeyDown:function(e){var t;!c||" "!==e.key&&"Enter"!==e.key?"ArrowUp"===e.key?(e.preventDefault(),e.stopPropagation(),t=d.current.previousElementSibling):"ArrowDown"===e.key&&(e.preventDefault(),e.stopPropagation(),t=d.current.nextElementSibling):(e.preventDefault(),o(!a)),t&&t.focus()},ref:d,role:"radio",tabIndex:s},u.default.createElement("div",{className:h("background")},a&&u.default.createElement("div",{className:h("foreground")})),l&&u.default.createElement("span",{className:h("title")},l))}function Iu(e){var t=e.className,r=e.error,n=e.id,i=e.label,o=e.onChange,a=e.options,s=e.required,l=e.selected,c=e.style,d=Y(Pe("radio-set",t),1)[0],p=n||ee();return u.default.createElement(Vl,{className:d,error:r,id:p,label:i,required:s,style:c},u.default.createElement("div",{"aria-describedby":r&&"".concat(p,"-error"),"aria-invalid":r?"true":"false","aria-labelledby":"".concat(p,"-label"),role:"radiogroup"},a.map((function(e,t){return u.default.createElement(Pu,{onChange:function(t){return o(e.value,t)},key:t,selected:e.value===l,tabIndex:l===e.value||!l&&0===t?0:-1,title:e.label})}))))}Nu.propTypes={ariaLabel:c.default.string,autoFocus:c.default.bool,className:c.default.string,error:c.default.string,label:c.default.string,maxLength:c.default.number,name:c.default.string,onChange:c.default.func.isRequired,pattern:c.default.string,placeholder:c.default.string,required:c.default.bool,style:c.default.shape(),tabIndex:c.default.number,value:c.default.string},Nu.defaultProps={ariaLabel:void 0,autoFocus:!1,className:void 0,error:void 0,label:void 0,maxLength:void 0,name:void 0,pattern:void 0,placeholder:void 0,required:!1,style:void 0,tabIndex:0,value:void 0},Pu.propTypes={ariaLabel:c.default.string,className:c.default.string,selected:c.default.bool,disabled:c.default.bool,error:c.default.string,onChange:c.default.func,tabIndex:c.default.number,title:c.default.string},Pu.defaultProps={ariaLabel:void 0,className:void 0,selected:!1,disabled:!1,error:void 0,onChange:void 0,tabIndex:0,title:void 0},Iu.propTypes={className:c.default.string,error:c.default.string,id:c.default.string,label:c.default.string,onChange:c.default.func.isRequired,options:c.default.arrayOf(c.default.shape({label:c.default.string,value:c.default.string})).isRequired,required:c.default.bool,selected:c.default.string,style:c.default.shape()},Iu.defaultProps={className:void 0,error:void 0,id:void 0,label:void 0,required:!1,selected:void 0,style:void 0};var Ru="Clear input";function Lu(e){var t=e.ariaLabel,r=e.autoFocus,n=e.className,i=e.error,o=e.label,a=e.maxLength,s=e.name,l=e.onChange,c=e.pattern,d=e.placeholder,p=e.required,f=e.style,h=e.tabIndex,m=e.type,y=e.value,v=Y(Pe("text-input",n),1)[0],g=u.default.createElement(ql,{ariaLabel:Ru,type:"ghost",size:28,onClick:function(){return l("")},tabIndex:h},u.default.createElement(Qt,{name:"cancel",size:16}));return u.default.createElement(Gl,{ariaLabel:t,autoFocus:r,className:v,error:i,label:o,maxLength:a,name:s,onChange:l,pattern:c,placeholder:d,required:p,rightIcon:!!y&&g,style:f,tabIndex:h,type:m,value:y})}function ku(e){var t=e.ariaLabel,r=e.className,n=e.disabled,i=e.onChange,o=e.selected,a=e.style,s=e.tabIndex,l=e.title,c=!n,d=!0===o,p=Y(Pe("toggle",r),2),f=p[0],h=p[1];return u.default.createElement("div",{"aria-checked":d?"true":"false","aria-disabled":n?"true":"false","aria-label":t,className:f,onClick:function(){return c&&i(!o)},onKeyDown:function(e){!c||" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),i(!o))},role:"switch",style:a,tabIndex:s},u.default.createElement("div",{className:Oe(h("switch"),P(P(P(P({},h("switch--enabled"),c),h("switch--disabled"),n),h("switch--on"),d),h("switch--off"),!d))},u.default.createElement("span",{className:h("slider")})),u.default.createElement("span",{className:h("title")},l))}function Mu(e){var t=e.data,r=e.className,n=e.id,o=e.style,a=Y(Pe("adaptive-cards-input-choice-set",r),1)[0],s=i.useContext(fi),l=s.setValue,c=s.getValue,d=s.setInput,p=s.getError,f=c(t.id),h=f?Object.fromEntries(String(f).split(",").map((function(e){return[e,!0]}))):{},m=n||ee();i.useEffect((function(){d({id:t.id,value:t.value,isRequired:t.isRequired,errorMessage:t.errorMessage})}),[t.id,t.value,t.isRequired,t.errorMessage,d]);var y=function(e){l(t.id,e)};return!1===t.isMultiSelect&&"compact"===String(t.style).toLowerCase()?u.default.createElement(Ou,{className:a,error:p(t.id),id:m,label:hi(t.label),onChange:function(e){return y(e)},options:t.choices.map((function(e){return{label:e.title,value:e.value}})),placeholder:t.placeholder,required:t.isRequired,value:f}):!0===t.isMultiSelect||1===t.choices.length?u.default.createElement(Eu,{className:a,error:p(t.id),id:m,label:hi(t.label),onChange:function(e,r){h[e]=r,l(t.id,t.choices.map((function(e){return h[e.value]?e.value:void 0})).filter((function(e){return void 0!==e})).join(","))},options:t.choices.map((function(e){return{label:e.title,value:e.value}})),required:t.isRequired,selected:h,style:o}):u.default.createElement(Iu,{className:a,error:p(t.id),id:m,label:hi(t.label),onChange:y,options:t.choices.map((function(e){return{label:e.title,value:e.value}})),required:t.isRequired,selected:f,style:o})}function Du(e){var t=e.data,r=e.className,n=e.style,o=Y(Pe("adaptive-cards-input-date",r),1)[0],a=i.useContext(fi),s=a.setValue,l=a.getValue,c=a.setInput,d=a.getError;return i.useEffect((function(){c({id:t.id,max:t.max,min:t.min,value:t.value,errorMessage:t.errorMessage,isRequired:t.isRequired})}),[t.id,t.max,t.min,t.value,t.errorMessage,t.isRequired,c]),u.default.createElement(_u,{className:o,style:n,max:t.max,min:t.min,value:l(t.id),error:d(t.id),required:t.isRequired,label:hi(t.label),onChange:function(e){return s(t.id,e)}})}Lu.propTypes={ariaLabel:c.default.string,autoFocus:c.default.bool,className:c.default.string,error:c.default.string,label:c.default.string,maxLength:c.default.number,name:c.default.string,onChange:c.default.func.isRequired,pattern:c.default.string,placeholder:c.default.string,required:c.default.bool,style:c.default.shape(),tabIndex:c.default.number,type:c.default.string,value:c.default.string},Lu.defaultProps={ariaLabel:void 0,autoFocus:!1,className:void 0,error:void 0,label:void 0,maxLength:void 0,name:void 0,pattern:void 0,placeholder:void 0,required:!1,style:void 0,tabIndex:0,type:"text",value:void 0},ku.propTypes={ariaLabel:c.default.string,className:c.default.string,disabled:c.default.bool,onChange:c.default.func.isRequired,selected:c.default.bool,style:c.default.shape(),tabIndex:c.default.number,title:c.default.string},ku.defaultProps={ariaLabel:void 0,className:void 0,disabled:!1,selected:!1,style:void 0,tabIndex:0,title:void 0},Mu.propTypes={data:c.default.shape().isRequired,className:c.default.string,id:c.default.string,style:c.default.shape()},Mu.defaultProps={className:"",id:void 0,style:void 0},Mu.acPropTypes={choices:Is,errorMessage:Ds,fallback:Us,height:Fs,id:qs,isMultiSelect:Zs,isRequired:Xs,isVisible:Js,label:tl,placeholder:sl,separator:pl,spacing:hl,style:yl,type:El,value:xl,wrap:Il},Mu.acDefaultProps={isVisible:!0},Rl("Input.ChoiceSet",Mu,"vertical"),Du.propTypes={data:c.default.shape().isRequired,className:c.default.string,style:c.default.shape()},Du.defaultProps={className:void 0,style:void 0},Du.acPropTypes={errorMessage:Ds,fallback:Us,height:Fs,id:qs,isRequired:Xs,isVisible:Js,label:tl,max:il,min:al,placeholder:sl,separator:pl,spacing:hl,type:El,value:xl},Du.acDefaultProps={isVisible:!0},Rl("Input.Date",Du);var Uu="Clear input",ju="Increase value",Fu="Decrease value";function Bu(e){var t=e.ariaLabel,r=e.autoFocus,n=e.className,i=e.error,o=e.label,a=e.max,s=e.min,l=e.name,c=e.onChange,d=e.placeholder,p=e.required,f=e.style,h=e.tabIndex,m=e.value,y=Y(Pe("number-input",n),2),v=y[0],g=y[1],b=u.default.createElement(ql,{ariaLabel:Uu,type:"ghost",size:28,onClick:function(){return c("")},tabIndex:h},u.default.createElement(Qt,{name:"cancel",size:16})),C=u.default.createElement("div",{className:g("controls")},u.default.createElement(ql,{ariaLabel:ju,className:g("increment-button"),onClick:function(){return c(X(Number(m)+1,s,a))},onMouseDown:function(e){return e.stopPropagation()},type:"ghost"},u.default.createElement(Qt,{name:"control-up",size:13})),u.default.createElement(ql,{ariaLabel:Fu,className:g("decrement-button"),onClick:function(){return c(X(Number(m)-1,s,a))},onMouseDown:function(e){return e.stopPropagation()},type:"ghost"},u.default.createElement(Qt,{name:"control-down",size:13})));return u.default.createElement(Gl,{ariaLabel:t,autoFocus:r,className:v,error:i,label:o,min:s,max:a,name:l,onChange:c,placeholder:d,required:p,rightControls:C,rightIcon:!(!m&&0!==m)&&b,tabIndex:h,style:f,type:"number",value:m})}function zu(e){var t=e.data,r=e.className,n=e.style,o=Y(Pe("adaptive-cards-input-number",r),1)[0],a=i.useContext(fi),s=a.setValue,l=a.getValue,c=a.setInput,d=a.getError;return i.useEffect((function(){c({id:t.id,value:t.value,isRequired:t.isRequired,max:t.max,min:t.min,errorMessage:t.errorMessage})}),[t.id,t.value,t.isRequired,t.errorMessage,t.max,t.min,c]),u.default.createElement(Bu,{className:o,error:d(t.id),label:hi(t.label),max:t.max,min:t.min,onChange:function(e){return s(t.id,e)},placeholder:t.placeholder,required:t.isRequired,style:n,value:l(t.id)})}function Hu(e){var t=e.ariaLabel,r=e.className,n=e.disabled,i=e.error,o=e.id,a=e.label,s=e.maxLength,l=e.name,c=e.onChange,d=e.placeholder,p=void 0===d?l:d,f=e.required,h=e.style,m=e.value,y=Y(Pe("textbox",r),2),v=y[0],g=y[1],b=o||ee();return u.default.createElement(Vl,{className:v,error:i,id:b,label:a,required:f,style:h},u.default.createElement("textarea",{"aria-label":t,"aria-labelledby":"".concat(b,"-label"),className:g("control"),disabled:n,id:"".concat(b,"-control"),maxLength:s,name:l,onChange:function(e){return c(e.target.value)},onKeyDown:function(e){["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.key)&&e.stopPropagation()},placeholder:p,rows:5,value:m}))}function qu(e){var t=e.data,r=e.className,n=e.style,o=i.useContext(fi),a=o.setValue,s=o.getValue,l=o.setInput,c=o.getError,d=Y(Pe("adaptive-cards-input-text",r),2),p=d[0],f=d[1],h="password"===t.style?Nu:Lu,m=vs(t.inlineAction);return i.useEffect((function(){l({id:t.id,value:t.value,isRequired:t.isRequired,errorMessage:t.errorMessage,maxLength:t.maxLength,regex:t.regex})}),[t.id,t.value,t.isRequired,t.errorMessage,t.maxLength,t.regex,l]),u.default.createElement("div",{className:p,style:n},t.isMultiline?u.default.createElement(Hu,{className:f("textbox"),error:c(t.id),label:hi(t.label),maxLength:t.maxLength,onChange:function(e){return a(t.id,e)},placeholder:t.placeholder,required:t.isRequired,value:s(t.id)}):u.default.createElement(h,{className:f("input"),error:c(t.id),label:hi(t.label),maxLength:t.maxLength,onChange:function(e){return a(t.id,e)},pattern:t.regex,placeholder:t.placeholder,required:t.isRequired,type:t.style,value:s(t.id)}),m&&u.default.createElement(au,{className:f("inline-action"),data:{actions:[t.inlineAction]},inherited:{}}))}function Vu(e){var t=e.className,r=e.style,n=e.name,i=e.value,o=e.disabled,a=e.required,s=e.error,l=e.label,c=e.onChange,d=Y(Pe("time-input",t),1)[0];return u.default.createElement(Gl,{className:d,style:r,type:"time",name:n,disabled:o,required:a,error:s,onChange:c,value:i,label:l})}function Gu(e){var t=e.data,r=e.className,n=e.style,o=Y(Pe("adaptive-cards-input-time",r),1)[0],a=i.useContext(fi),s=a.setValue,l=a.getValue,c=a.setInput,d=a.getError;return i.useEffect((function(){c({id:t.id,value:t.value,isRequired:t.isRequired,max:t.max,min:t.min,errorMessage:t.errorMessage})}),[t.id,t.value,t.isRequired,t.errorMessage,t.max,t.min,c]),u.default.createElement(Vu,{className:o,style:n,max:t.max,min:t.min,value:l(t.id),error:d(t.id),required:t.isRequired,label:hi(t.label),onChange:function(e){return s(t.id,e)}})}function Wu(e){var t=e.data,r=e.className,n=e.style,o=Y(Pe("adaptive-cards-input-toggle",r),1)[0],a=i.useContext(fi),s=a.getValue,l=a.setInput,c=a.setValue,d=s(t.id)===t.valueOn;return i.useEffect((function(){return l({id:t.id,value:t.value===t.valueOn?t.valueOn:t.valueOff})}),[t.id,t.value,t.valueOn,t.valueOff,l]),u.default.createElement(ku,{className:o,style:n,selected:d,required:t.isRequired,onChange:function(){c(t.id,d?t.valueOff:t.valueOn)},title:t.title})}function $u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yu(e){var t=e.data,r=e.className,n=e.inherited,i=e.style,o=Y(Pe("adaptive-cards-rich-text-block",r),1)[0];return u.default.createElement("div",{className:o,style:i},t.inlines.map((function(e,t){var r="string"==typeof e?{text:e}:e;return r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$u(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({type:"TextRun"},r),u.default.createElement(kl,{data:r,inherited:n,key:t})})))}function Ku(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zu(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ku(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ku(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xu(e){var t=e.data,r=e.className,n=e.style,i=Y(Pe("adaptive-cards-text-block",r,{"max-lines":t.maxLines}),1)[0];return u.default.createElement("div",{className:i,style:Zu(Zu({},n),{},{WebkitLineClamp:t.maxLines}),role:"heading"===t.style?"heading":void 0},u.default.createElement(cs,null,hi(t.text)))}function Qu(e){var t=e.action,r=e.data,n=e.className,i=e.style,o=Y(Pe("adaptive-cards-text-run",n),1)[0];return u.default.createElement("span",li({className:o},t,{style:i}),hi(r.text))}function Ju(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ec(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ju(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ju(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tc(e){var t,r=e.action,n=e.data,i=e.className,o=e.inherited,a=e.style,s=Y(Pe("ac-adaptive-card",[i,"wxc-ac-container--has-padding"]),1)[0],l=!1;if(n.$schema&&"http://adaptivecards.io/schemas/adaptive-card.json"!==n.$schema&&console.warn("Unknown AdaptiveCard schema:",n.$schema),n.version){var c=parseFloat(n.version);c?c>1.2&&(console.warn("Adaptive card requires version ".concat(n.version,", this renderer only supports version 1.2")),l=!0):console.warn("Invalid version ".concat(n.version))}return u.default.createElement("div",li({className:s},r,{style:a}),l&&u.default.createElement(cs,null,hi(n.fallbackText)),null===(t=n.body)||void 0===t?void 0:t.map((function(e,t){return u.default.createElement(kl,{data:e,inherited:o,key:t})})),n.actions&&u.default.createElement(kl,{data:{type:"ActionSet",actions:n.actions},inherited:o}))}function rc(e){var t=e.template,r=e.context,n=e.className,o=e.style,a=e.onOpenUrl,s=e.onShowCard,l=e.onSubmit,c=e.onInvalidSubmit,d=new pi.Template(t).expand({$root:r});d.version||console.warn("AdaptiveCard missing version property");var p=Y(i.useState({}),2),f=p[0],h=p[1],m=Y(i.useState({}),2),y=m[0],v=m[1],g=i.useCallback((function(e){v((function(t){return ec(ec({},t),{},P({},e.id,e))}))}),[v]),b=i.useCallback((function(e){h((function(t){return ec(ec({},t),{},P({},e.id,e))}))}),[h]);return u.default.createElement(fi.Provider,{value:{setValue:function(e,t){h((function(r){var n=r[e];return ec(ec({},r),{},P({},e,ec(ec({},n),{},{value:t,error:void 0})))}))},getValue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e in f&&void 0!==f[e].value?f[e].value:t},getAllValues:function(){return Q(f,(function(e){return e.value}))},setInput:b,getError:function(e){var t;return null===(t=f[e])||void 0===t?void 0:t.error},validate:function(){var e=Q(f,(function(e){var t;return e.isRequired&&!e.value&&0!==e.value?t=e.errorMessage||"This field is required":e.min>e.max&&e.value<e.min&&e.value>e.max?t="Value must be between ".concat(e.min," and ").concat(e.max):(e.min<e.max||void 0===e.max)&&e.value<e.min?t="Minimum value is ".concat(e.min):(e.min<e.max||void 0===e.min)&&e.value>e.max?t="Maximum value is ".concat(e.max):e.regex&&!String(e.value).match(e.regex)?t=e.errorMessage||"The value you entered must match the pattern ".concat(e.regex):String(e.value).length>e.maxLength&&(t="Maximum length is ".concat(e.maxLength)),ec(ec({},e),{},{error:t})}));return h(e),Object.values(e).every((function(e){return!e.error}))},submit:function(e){return l(e)},invalidSubmit:function(e){return c&&c(e)},setElement:g,setIsVisible:function(e,t){v((function(r){var n=r[e];return ec(ec({},r),{},P({},e,ec(ec({},n),{},{isVisible:t})))}))},getIsVisible:function(e){var t;return!1!==(null===(t=y[e])||void 0===t?void 0:t.isVisible)},onOpenUrl:a,onShowCard:s}},u.default.createElement(kl,{data:d,className:n,inherited:{},style:o}))}function nc(e){var t=e.activityID,r=e.className,n=e.cardIndex,o=e.msgSubmitFail,a=e.msgSubmitStarted,s=e.msgSubmitSuccess,l=e.onOpenUrl,c=e.onShowCard,d=e.onSubmit,p=e.style,f=function(e,t){var r=Y(i.useState({}),2),n=r[0],o=r[1],a=i.useContext(er),s=a&&a.activitiesAdapter;return i.useEffect((function(){var r;if(s&&e){var n=s.getActivity(e).subscribe((function(e){var r=s.getAdaptiveCard(e,t);o(r||{type:"AdaptiveCard",version:"1.0",body:[{type:"TextBlock",text:"This message does not contain a card."}]})}),(function(e){console.error(e),o({type:"AdaptiveCard",version:"1.0",body:[{type:"TextBlock",text:"Message could not be loaded. ".concat(e)}]})}));r=function(){return n.unsubscribe()}}else o({}),r=void 0;return r}),[s,e,t]),[n,function(t){return s.postAction(e,t)}]}(t,n),h=Y(f,2),m=h[0],y=h[1],v=Y(Pe("adaptive-card",r),2),g=v[0],b=v[1],C=Y(i.useState({}),2),E=C[0],_=C[1];return u.default.createElement("div",{className:g,style:p},u.default.createElement(rc,{className:b("card"),template:m,onOpenUrl:l,onShowCard:c,onSubmit:function(e){_({message:a});var t=y(e).toPromise();t.then((function(){return _({message:s})}),(function(){return _({message:o,isError:!0})})).finally(setTimeout((function(){return _({})}),2e3)),d(t,e)}}),E.message&&u.default.createElement("div",{className:Oe(b("status"),P({},b("status--error"),E.isError))},E.message))}function ic(e){var t=e.activityID,r=e.className,n=e.onOpenUrl,i=e.onShowCard,o=e.onSubmit,a=e.style,s=rr(t),l=Y(Pe("adaptive-cards",r),2),c=l[0],d=l[1];return u.default.createElement("div",{className:c,style:a},s.cards.map((function(e,r){return u.default.createElement(nc,{key:r,activityID:t,className:d("card"),cardIndex:r,onOpenUrl:function(e){return n(r,e)},onShowCard:function(e,t){return i(r,e,t)},onSubmit:function(e,t){return o(r,e,t)}})})))}function oc(e){var t,r=e.activityID,n=e.className,o=e.style,a=rr(r),s=i.useContext(er),l=null==s||null===(t=s.activitiesAdapter)||void 0===t?void 0:t.hasAdaptiveCards(a),c=Y(Pe("activity",n),2),d=c[0],p=c[1];return u.default.createElement("div",{className:d,key:a.ID,style:o},a.displayHeader&&u.default.createElement(si,{personID:a.personID,timestamp:a.created}),u.default.createElement("div",{className:p("content")},!l&&a.text&&u.default.createElement("div",{className:p("message")},a.text),l&&u.default.createElement(ic,{activityID:a.ID})))}function ac(e){var t=e.className,r=e.personName,n=e.style,o=i.useRef(),a=Y(Pe("greeting",t,{desktop:Gr(o).width>=Wl}),2),s=a[0],l=a[1];return u.default.createElement("div",{ref:o,className:s,style:n},u.default.createElement("div",{className:l("header")},u.default.createElement("div",{className:l("title")},"Let’s start chatting"," ",u.default.createElement("span",{role:"img","aria-label":"Wave"},"👋")),!r&&u.default.createElement("div",{className:l("description")},"Add or invite more people to get things done together."),u.default.createElement("div",{className:l("description")},"When you’re ready, start with a message")))}function sc(e){var t,r=e.className,n=e.date,i=e.style,o=oi(t=new Date(n))?"Today":ai(t)?"Yesterday":ii(t,new Date)?ni(t,"iiii"):ni(t,"P"),a=Y(Pe("time-ruler",r),1)[0];return u.default.createElement("div",{className:a,style:i},u.default.createElement("span",null,o))}function lc(e){var r=e.className,o=e.roomID,a=e.style,s=function(e){var t=i.useContext(er).roomsAdapter,r=Y(i.useReducer(or,[]),2),n=r[0],o=r[1];return i.useEffect((function(){var r=t.getActivitiesInRealTime(e).subscribe((function(e){o({type:ir,payload:e})}));return function(){r.unsubscribe()}}),[]),[n,o]}(o),l=Y(s,2),c=l[0],d=l[1],p=function(e){d({type:nr,payload:e})},f=function(e){var t=Y(i.useState({}),2),r=t[0],n=t[1],o=i.useContext(er).roomsAdapter;return i.useEffect((function(){var t=o.getRoom(e).subscribe(n,(function(e){throw e}));return function(){t.unsubscribe()}}),[]),r}(o),h=f.title,m=f.roomType,y=an(),v=function(e,r,o){var a=i.useContext(er).roomsAdapter,s=Y(i.useState(!1),2),l=s[0],u=s[1];return i.useEffect((function(){var i=t.empty();return r.current&&(i=t.fromEvent(r.current,"scroll").pipe(n.filter((function(t){var r=0===t.target.scrollTop&&a.hasMoreActivities(e);return r&&u(!0),r})),n.flatMap((function(){return a.getPastActivities(e)}))).subscribe((function(e){setTimeout((function(){o(e),u(!1)}),500)}))),function(){i.unsubscribe()}}),[]),l}(o,y,p),g=function(e,r,o){var a=an(),s=i.useContext(er).roomsAdapter,l=Y(i.useState(!1),2),u=l[0],c=l[1],d=Y(i.useState(0),2),p=d[0],f=d[1];return i.useEffect((function(){var i=r.current.getBoundingClientRect(),l=a.current.getBoundingClientRect(),d=t.Observable.create((function(e){l.bottom<i.bottom?e.next():(u||(a.current.scrollIntoView(),c(!0)),e.complete())})).pipe(n.flatMap((function(){return s.getPastActivities(e)}))).subscribe((function(e){o(e),f(l.bottom)}));return function(){d.unsubscribe()}}),[p]),a}(o,y,p),b=Y(Pe("activity-stream",r),2),C=b[0],E=b[1],_="direct"===m?h:"",T=c.map((function(e){return e.date?u.default.createElement(sc,{key:e.date,date:e.date}):u.default.createElement(oc,{key:e,activityID:e})}));return u.default.createElement("div",{className:C,ref:y,style:a},v&&u.default.createElement(Jt,null),T.length?u.default.createElement(u.default.Fragment,null,T):u.default.createElement(ac,{personName:_}),u.default.createElement("div",{className:E("last-activity"),ref:g}))}function uc(e){var t=e.adapter,r=e.children;return u.default.createElement(er.Provider,{value:t},r)}function cc(e){var t,r=e.className,n=e.mediaType,i=e.meetingID,o=e.style,a=an(),s=Gr(a).width,l=Xr(i),c=l.localVideo,d=l.localShare,p=l.settings,f=$r().ID,h=an();switch(n){case"video":t=c.stream;break;case"screen":t=null==d?void 0:d.stream;break;case"preview":t=p.preview.video}un(h,t);var m=Y(Pe("local-media",r,{desktop:s>=Wl,"no-media":!t}),2),y=m[0],v=m[1],g=f?u.default.createElement(pn,{personID:f,displayStatus:!1}):u.default.createElement(eu,null);return u.default.createElement("div",{ref:a,className:y,style:o},t?u.default.createElement("video",{className:v("video"),ref:h,playsInline:!0,autoPlay:!0}):g)}function dc(e){var t=e.className,r=e.layout,n=e.meetingID,o=e.style,a=Xr(n),s=a.remoteAudio,l=a.remoteVideo,c=a.remoteShare,p=a.error,f=a.speakerID,h=rn(n,"meeting"),m=an(),y=an(),v=an(),g=an(),b=i.useContext(er);un(m,s),un(y,l),un(v,c),function(e,t){var r=e.current;i.useEffect((function(){r&&(r.setSinkId?r.setSinkId(t):console.error("useSpeakers: setSinkId() not supported on this element",r))}),[r,t])}(m,f);var C,E=Gr(g).width,_=h.filter((function(e){return e.inMeeting})).length>1,T=!!(s||l||c),x=Y(Pe("remote-media",t,{tablet:E>=$l&&E<Yl,desktop:E>=Yl&&E<Kl,"desktop-xl":E>=Kl,"remote-video-n-share":l&&c}),2),S=x[0],O=x[1];return i.useEffect((function(){l&&b.meetingsAdapter.changeLayout(n,r)}),[b.meetingsAdapter,r,n,l]),C=p?u.default.createElement("div",{className:O("media-error")},u.default.createElement(Qt,{name:"error",className:O("error-icon")}),u.default.createElement("div",null,"Having trouble joining the meeting?"),u.default.createElement("div",null,"Please check your connection.")):T&&_?u.default.createElement(u.default.Fragment,null,l&&u.default.createElement(d.default,{bounds:"parent"},u.default.createElement("video",{className:"".concat(O("video")," ").concat(O("remote-video")),ref:y,muted:!0,playsInline:!0,autoPlay:!0})),c&&u.default.createElement("video",{className:"".concat(O("video")," ").concat(O("remote-share")),ref:v,muted:!0,playsInline:!0,autoPlay:!0}),s&&u.default.createElement("audio",{ref:m,autoPlay:!0})):T&&!_?u.default.createElement(tu,{type:"subsection"},"Waiting for others to join..."):u.default.createElement(Ml,{className:O("connecting-badge")},u.default.createElement(eu,{size:16,className:O("connecting-spinner")}),u.default.createElement("span",null,"Connecting")),u.default.createElement("div",{ref:g,className:S,style:o},C)}function pc(e){var t=e.ariaLabel,r=e.autoFocus,n=e.className,i=e.error,o=e.label,a=e.maxLength,s=e.name,l=e.onChange,c=e.pattern,d=e.placeholder,p=e.required,f=e.style,h=e.tabIndex,m=e.value,y=Y(Pe("captcha-input",n),1)[0];return u.default.createElement(Gl,{ariaLabel:t,autoFocus:r,className:y,error:i,label:o,maxLength:a,name:s,onChange:l,pattern:c,placeholder:d,required:p,style:f,tabIndex:h,value:m})}Bu.propTypes={ariaLabel:c.default.string,autoFocus:c.default.bool,className:c.default.string,error:c.default.string,label:c.default.string,max:c.default.number,min:c.default.number,name:c.default.string,onChange:c.default.func.isRequired,placeholder:c.default.string,required:c.default.bool,style:c.default.shape(),tabIndex:c.default.number,value:c.default.oneOfType([c.default.number,c.default.string])},Bu.defaultProps={ariaLabel:void 0,autoFocus:!1,className:void 0,error:void 0,label:void 0,max:void 0,min:void 0,name:void 0,placeholder:void 0,required:!1,style:void 0,tabIndex:0,value:void 0},zu.propTypes={data:c.default.shape().isRequired,className:c.default.string,style:c.default.shape()},zu.defaultProps={className:"",style:void 0},zu.acPropTypes={errorMessage:Ds,fallback:Us,height:Fs,id:qs,isRequired:Xs,isVisible:Js,label:tl,max:il,min:al,placeholder:sl,separator:pl,spacing:hl,type:El,value:xl},zu.acDefaultProps={isVisible:!0},Rl("Input.Number",zu),Hu.propTypes={ariaLabel:c.default.string,className:c.default.string,disabled:c.default.bool,error:c.default.string,id:c.default.string,label:c.default.string,maxLength:c.default.number,name:c.default.string,onChange:c.default.func,placeholder:c.default.string,required:c.default.bool,style:c.default.shape(),value:c.default.string},Hu.defaultProps={ariaLabel:"",className:void 0,disabled:!1,error:null,id:void 0,label:void 0,maxLength:void 0,name:void 0,onChange:null,placeholder:void 0,required:!1,style:void 0,value:void 0},qu.propTypes={className:c.default.string,data:c.default.shape().isRequired,style:c.default.shape()},qu.defaultProps={className:void 0,style:void 0},qu.acPropTypes={errorMessage:Ds,fallback:Us,height:Fs,id:qs,inlineAction:Vs,isMultiline:Ks,isRequired:Xs,isVisible:Js,label:tl,maxLength:rl,placeholder:sl,regex:ll,separator:pl,spacing:hl,style:$s,type:El,value:xl},qu.acDefaultProps={isVisible:!0},Rl("Input.Text",qu),Vu.propTypes={className:c.default.string,style:c.default.shape(),name:c.default.string,value:c.default.string,disabled:c.default.bool,required:c.default.bool,error:c.default.string,label:c.default.string,onChange:c.default.func.isRequired},Vu.defaultProps={className:void 0,style:void 0,name:void 0,value:void 0,disabled:!1,required:!1,error:void 0,label:void 0},Gu.propTypes={data:c.default.shape().isRequired,className:c.default.string,style:c.default.shape()},Gu.defaultProps={className:void 0,style:void 0},Gu.acPropTypes={errorMessage:Ds,fallback:Us,height:Fs,id:qs,isRequired:Xs,isVisible:Js,label:tl,max:il,min:al,placeholder:sl,separator:pl,spacing:hl,type:El,value:xl},Gu.acDefaultProps={isVisible:!0},Rl("Input.Time",Gu),Wu.propTypes={data:c.default.shape().isRequired,className:c.default.string,style:c.default.shape()},Wu.defaultProps={className:void 0,style:void 0},Wu.acPropTypes={errorMessage:Ds,height:Fs,id:qs,isRequired:Xs,isVisible:Js,label:tl,separator:pl,spacing:hl,title:bl,type:El,value:xl,valueOff:Sl,valueOn:Ol,wrap:Il},Wu.acPropTypes={errorMessage:Ds,fallback:Us,height:Fs,id:qs,isRequired:Xs,isVisible:Js,label:tl,separator:pl,spacing:hl,title:bl,type:El,value:xl,valueOff:Sl,valueOn:Ol,wrap:Il},Wu.acDefaultProps={isVisible:!0,value:"false",valueOff:"false",valueOn:"true"},Rl("Input.Toggle",Wu),Yu.propTypes={data:c.default.shape().isRequired,className:c.default.string,inherited:c.default.shape().isRequired,style:c.default.shape()},Yu.defaultProps={className:"",style:void 0},Yu.acPropTypes={fallback:Us,height:Fs,horizontalAlignment:zs,id:qs,inlines:Is,isVisible:Js,separator:pl,spacing:hl,type:El},Yu.acDefaultProps={horizontalAlignment:"left",isVisible:!0},Rl("RichTextBlock",Yu),Xu.propTypes={data:c.default.shape().isRequired,className:c.default.string,style:c.default.shape()},Xu.defaultProps={className:void 0,style:void 0},Xu.acPropTypes={color:Rs,fallback:Us,fontType:js,height:Fs,horizontalAlignment:zs,id:qs,isSubtle:Qs,isVisible:Js,maxLines:nl,separator:pl,size:fl,spacing:hl,style:Ls,text:gl,type:El,weight:Nl,wrap:Il},Xu.acDefaultProps={horizontalAlignment:"left",isVisible:!0},Rl("TextBlock",Xu),Qu.propTypes={action:c.default.shape(),data:c.default.shape().isRequired,className:c.default.string,style:c.default.shape()},Qu.defaultProps={action:void 0,className:"",style:void 0},Qu.acPropTypes={color:Rs,fontType:js,highlight:Bs,isSubtle:Qs,italic:el,selectAction:dl,size:fl,strikethrough:ml,text:gl,type:El,underline:_l,weight:Nl},Rl("TextRun",Qu),tc.propTypes={action:c.default.shape(),data:c.default.shape().isRequired,className:c.default.string,inherited:c.default.shape().isRequired,style:c.default.shape()},tc.defaultProps={action:void 0,className:void 0,style:void 0},tc.acPropTypes={actions:Ts,backgroundImage:As,body:Is,minHeight:ol,rtl:ul,$schema:cl,selectAction:dl,type:El,version:wl,verticalContentAlignment:Al},Rl("AdaptiveCard",tc,"vertical"),rc.propTypes={template:c.default.shape().isRequired,context:c.default.shape(),className:c.default.string,style:c.default.shape(),onOpenUrl:c.default.func,onShowCard:c.default.func,onSubmit:c.default.func,onInvalidSubmit:c.default.func},rc.defaultProps={className:void 0,context:void 0,style:void 0,onOpenUrl:void 0,onShowCard:void 0,onSubmit:void 0,onInvalidSubmit:void 0},nc.propTypes={activityID:c.default.string.isRequired,className:c.default.string,cardIndex:c.default.number.isRequired,msgSubmitFail:c.default.string,msgSubmitStarted:c.default.string,msgSubmitSuccess:c.default.string,onOpenUrl:c.default.func,onShowCard:c.default.func,onSubmit:c.default.func,style:c.default.shape()},nc.defaultProps={className:void 0,msgSubmitFail:"Error",msgSubmitStarted:"Sending...",msgSubmitSuccess:"Sent",onOpenUrl:function(){},onShowCard:function(){},onSubmit:function(){},style:void 0},ic.propTypes={activityID:c.default.string.isRequired,className:c.default.string,onOpenUrl:c.default.func,onShowCard:c.default.func,onSubmit:c.default.func,style:c.default.shape()},ic.defaultProps={className:void 0,onOpenUrl:function(){},onShowCard:function(){},onSubmit:function(){},style:void 0},oc.propTypes={activityID:c.default.string.isRequired,className:c.default.string,style:c.default.shape()},oc.defaultProps={className:"",style:void 0},ac.propTypes={className:c.default.string,personName:c.default.string.isRequired,style:c.default.shape()},ac.defaultProps={className:"",style:void 0},sc.propTypes={className:c.default.string,date:c.default.string.isRequired,style:c.default.shape()},sc.defaultProps={className:"",style:void 0},lc.propTypes={className:c.default.string,roomID:c.default.string.isRequired,style:c.default.shape()},lc.defaultProps={className:"",style:void 0},uc.propTypes={adapter:c.default.shape({activitiesAdapter:c.default.object.isRequired,meetingsAdapter:c.default.object.isRequired,membershipsAdapter:c.default.object.isRequired,peopleAdapter:c.default.object.isRequired,roomsAdapter:c.default.object.isRequired}).isRequired,children:c.default.node.isRequired},cc.propTypes={className:c.default.string,mediaType:c.default.oneOf(["video","screen","preview"]),meetingID:c.default.string.isRequired,style:c.default.shape()},cc.defaultProps={className:"",mediaType:"video",style:void 0},dc.propTypes={className:c.default.string,layout:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape()},dc.defaultProps={className:"",layout:"Grid",style:void 0},pc.propTypes={ariaLabel:c.default.string,autoFocus:c.default.bool,className:c.default.string,error:c.default.string,label:c.default.string,maxLength:c.default.number,name:c.default.string,onChange:c.default.func.isRequired,pattern:c.default.string,placeholder:c.default.string,required:c.default.bool,style:c.default.shape(),tabIndex:c.default.number,value:c.default.string},pc.defaultProps={ariaLabel:void 0,autoFocus:!1,className:void 0,error:void 0,label:void 0,maxLength:void 0,name:void 0,pattern:void 0,placeholder:void 0,required:!1,style:void 0,tabIndex:0,value:void 0};var fc="Webex by Cisco logo",hc="Your name appears in the participant list. Skip this optional field to use the name provided by the system.",mc="The password is provided in the invitation for a scheduled meeting, or from the host.",yc="The captcha is required",vc="Captcha Image",gc="Click to refresh the captcha image",bc="Start meeting. Start the meeting after entering the required information.",Cc="Click to go to a new screen where the meeting host can enter the host key.";function Ec(e){var t=e.className,r=e.meetingID,n=e.style,o=e.switchToHostModal,a=Y(i.useState(""),2),s=a[0],l=a[1],c=Y(i.useState(""),2),d=c[0],p=c[1],f=Y(i.useState(""),2),h=f[0],m=f[1],y=Y(i.useState(""),2),v=y[0],g=y[1],b=Xr(r),C=b.ID,E=b.failureReason,_=b.invalidPassword,T=b.requiredCaptcha,x=Y(i.useState(!1),2),S=x[0],O=x[1],w=i.useContext(er),A=i.useRef(),N=Y(Pe("meeting-guest-authentication",t,{phone:Gr(A).width<=Wl}),2),P=N[0],I=N[1],R="",L="";_&&"WRONG_PASSWORD"===E?T.captchaId?L="Incorrect password entered too many times. Enter captcha code":R="Incorrect password. Try again.":"WRONG_CAPTCHA"===E&&T.captchaId&&(L="Invalid Captcha. Try again.");var k=h||!d||_||S,M="Enter meeting information to join";return u.default.createElement("div",{ref:A,className:P,style:n},u.default.createElement("div",{className:I("header")},u.default.createElement("div",{className:I("logo"),"aria-label":fc}),u.default.createElement("div",{className:I("title"),title:M},M)),u.default.createElement("form",{className:I("form-content")},u.default.createElement(Lu,{ariaLabel:hc,autoFocus:!0,className:I("input"),disabled:S,error:h,label:"Your name",name:"name",onChange:function(e){l(e),m(function(e){var t;return e.match(/^[a-zA-Z ]*$/)||(t="Name can only contain letters."),t}(e))},tabIndex:101,value:s}),u.default.createElement(Nu,{className:I("input"),type:"password",name:"password",value:d,onChange:function(e){p(e),w.meetingsAdapter.clearInvalidPasswordFlag(C)},disabled:S,error:R,label:"Meeting password (required)",ariaLabel:mc,tabIndex:102}),T&&T.verificationImageURL&&u.default.createElement("div",{"aria-label":vc},u.default.createElement("div",{className:I("captcha-buttons")},u.default.createElement("img",{src:T.verificationImageURL,className:I("captcha-image"),alt:"captcha"}),u.default.createElement(ql,{type:"primary",className:I("captcha-refresh-button"),size:28,onClick:function(){w.meetingsAdapter.refreshCaptcha(C)},ariaLabel:gc,tabIndex:103},u.default.createElement(Qt,{name:"refresh",style:n}))),u.default.createElement(pc,{className:I("input"),type:"captcha",name:"captcha",value:v,onChange:function(e){g(e),w.meetingsAdapter.clearInvalidPasswordFlag(C)},error:L,label:"Enter Captcha",ariaLabel:yc,tabIndex:104})),u.default.createElement(ql,{type:"primary",className:I("start-button"),size:28,onClick:function(){O(!0),w.meetingsAdapter.joinMeeting(C,{name:s,password:d,captcha:v}).finally((function(){return O(!1)}))},isDisabled:k,ariaLabel:bc,tabIndex:105},S&&u.default.createElement(eu,{className:I("start-button-spinner"),size:18}),S?"Starting meeting...":"Start meeting")),u.default.createElement("div",{className:I("host-text")},"Hosting the meeting?"," ",u.default.createElement("a",{href:"#",tabIndex:106,className:I("host-hyperlink"),onClick:function(e){e.preventDefault(),o()},"aria-label":Cc},"Enter host key.")))}Ec.propTypes={className:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape(),switchToHostModal:c.default.func},Ec.defaultProps={className:"",style:void 0,switchToHostModal:void 0};var _c="Webex by Cisco logo",Tc="The host key is generated when a meeting is scheduled.",xc="Start meeting. Start the meeting for all participants after entering the required information.";function Sc(e){var t=e.className,r=e.meetingID,n=e.style,o=Y(i.useState(""),2),a=o[0],s=o[1],l=Xr(r),c=l.ID,d=l.invalidHostKey,p=Y(i.useState(!1),2),f=p[0],h=p[1],m=i.useContext(er),y=an(),v=Y(Pe("meeting-host-authentication",t,{phone:Gr(y).width<=Wl}),2),g=v[0],b=v[1],C=!a||d||f,E="Enter host information to join";return u.default.createElement("div",{ref:y,className:g,style:n},u.default.createElement("div",{className:b("header")},u.default.createElement("div",{className:b("logo"),"aria-label":_c}),u.default.createElement("div",{className:b("title"),title:E},E)),u.default.createElement("form",{className:b("form-content"),onSubmit:function(e){e.preventDefault()}},u.default.createElement(Nu,{className:b("input"),type:"password",name:"password",value:a,disabled:f,onChange:function(e){s(e),m.meetingsAdapter.clearInvalidHostKeyFlag(c)},error:d?"Incorrect host key. Try again.":"",label:"Host key (required)",ariaLabel:Tc,autoFocus:!0,tabIndex:101}),u.default.createElement(ql,{type:"primary",className:b("start-button"),size:28,onClick:function(){h(!0),m.meetingsAdapter.joinMeeting(c,{hostKey:a}).finally((function(){return h(!1)}))},isDisabled:C,ariaLabel:xc,tabIndex:102},f&&u.default.createElement(eu,{className:b("start-button-spinner"),size:18}),f?"Starting meeting...":"Start meeting")))}function Oc(e){var t,r,n,i,o=e.className,a=e.meetingID,s=e.style,l=Xr(a),c=l.ID,d=l.startTime,p=l.endTime,f=l.title,h=an(),m=Gr(h).width,y=Y(Pe("meeting-info",o,{tablet:m>=$l&&m<Yl,desktop:m>=Yl}),2),v=y[0],g=y[1],b=u.default.createElement(eu,{size:38});if(c){var C=f||"No Meeting Information";b=u.default.createElement(u.default.Fragment,null,u.default.createElement(tu,{type:"subsection",className:g("title")},C),d&&p&&u.default.createElement("h3",{className:g("time")},(t=new Date(d),r=new Date(p),n=ni(t,"p"),i=ni(r,"p"),"".concat(n," - ").concat(i))))}return u.default.createElement("div",{ref:h,className:v,style:s},b)}function wc(e){var t=e.className,r=e.layout,n=e.meetingID,o=e.style,a=e.setEscapedAuthentication,s=i.useContext(er),l=Xr(n),c=l.remoteShare,d=l.localShare,p=l.passwordRequired,f=l.state,h=an(),m=Gr(h),y=m.width,v=m.height,g=Y(i.useState("none"),2),b=g[0],C=g[1],E=Y(i.useState("guest"),2),_=E[0],T=E[1],x=null!=d&&d.stream?"screen":"video",O=Y(Pe("in-meeting",t,{tablet:y>=$l&&y<Yl,desktop:y>=Yl&&y<Kl,"desktop-xl":y>=Kl,"remote-sharing":null!==c}),2),w=O[0],A=O[1],N=S;return i.useEffect((function(){C(v?16*v/9:"none")}),[v]),u.default.createElement("div",{ref:h,className:w,style:o},p&&f===N&&u.default.createElement(Zl,{onClose:function(){s.meetingsAdapter.clearPasswordRequiredFlag(n),a(!0)},otherClassName:[A("authentication")],onBack:"host"===_&&function(){return T("guest")},ariaLabel:"guest"===_?"Meeting guest authentication":"Meeting host authentication"},"guest"===_?u.default.createElement(Ec,{meetingID:n,className:A("authentication-guest"),switchToHostModal:function(){return T("host")},style:o}):u.default.createElement(Sc,{meetingID:n,className:A("authentication-host")})),u.default.createElement("div",{style:{maxWidth:b},className:A("media-container")},u.default.createElement(Oc,{className:A("info"),meetingID:n}),u.default.createElement(dc,{className:A("remote-media-in-meeting"),layout:r,meetingID:n}),u.default.createElement(cc,{className:A("local-media-in-meeting"),meetingID:n,mediaType:x}),(null==d?void 0:d.stream)&&u.default.createElement(Dl,{className:A("share-banner")},"You're sharing your screen")))}function Ac(e){var t=e.className,r=e.meetingID,n=e.style,o=Y(Pe("interstitial-meeting",t),2),a=o[0],s=o[1],l=an(),c=Gr(l).height,d=Y(i.useState("none"),2),p=d[0],f=d[1],h=Xr(r).localVideo;return i.useEffect((function(){f(c?16*c/9-1:"none")}),[c]),u.default.createElement("div",{className:a,style:n},r?u.default.createElement("div",{style:{maxWidth:p},className:s("media-container")},u.default.createElement(Oc,{className:s("info"),meetingID:r}),u.default.createElement("div",{ref:l,className:s("interstitial-media-container")},u.default.createElement(cc,{className:s("media"),meetingID:r,mediaType:"video"}),h.stream&&u.default.createElement(Dl,null,"My preview"))):u.default.createElement(eu,null))}Sc.propTypes={className:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape()},Sc.defaultProps={className:"",style:void 0},Oc.propTypes={className:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape()},Oc.defaultProps={className:"",style:void 0},wc.propTypes={className:c.default.string,layout:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape(),setEscapedAuthentication:c.default.func},wc.defaultProps={className:"",layout:void 0,style:void 0,setEscapedAuthentication:void 0},Ac.propTypes={className:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape()},Ac.defaultProps={className:"",style:void 0};var Nc={camera:{icon:"camera-bold",title:"Allow access to camera",message:"when your browser asks to let Webex use your camera for this video call",iconLabel:"Camera icon",buttonLabel:"Proceed without camera",buttonAction:"ignoreVideoAccessPrompt",buttonTooltip:"This setting cannot be changed once the meeting starts.",buttonHint:"Proceed without camera. This setting cannot be changed once the meeting starts."},microphone:{icon:"microphone-bold",title:"Allow access to microphone",message:"when your browser asks to let Webex use your microphone for this video call",iconLabel:"Microphone icon",buttonLabel:"Proceed without audio",buttonAction:"ignoreAudioAccessPrompt",buttonTooltip:"This setting cannot be changed once the meeting starts.",buttonHint:"Proceed without audio. This setting cannot be changed once the meeting starts."}};function Pc(e){var t=e.className,r=e.logo,n=e.media,o=e.meetingID,a=e.style,s=Nc[n],l=Y(Pe("media-access",t),2),c=l[0],d=l[1],p=i.useContext(er),f=Xr(o).ID;return u.default.createElement("div",{className:c,style:a},r&&u.default.createElement("div",{className:d("logo-container")},r),u.default.createElement(Qt,{name:s.icon,size:48,ariaLabel:s.iconLabel}),u.default.createElement(tu,{type:"subsection",className:d("title")},s.title),u.default.createElement("p",{className:d("body")},"Select"," ",u.default.createElement("span",{className:d("allow")},"Allow")," ",s.message),u.default.createElement(ql,{type:"default",size:40,onClick:function(){return p.meetingsAdapter[s.buttonAction](f)},tooltip:s.buttonTooltip,ariaLabel:s.buttonHint},s.buttonLabel))}Pc.propTypes={className:c.default.string,logo:c.default.node,media:c.default.oneOf(["camera","microphone"]),meetingID:c.default.string.isRequired,style:c.default.shape()},Pc.defaultProps={className:"",logo:void 0,media:"camera",style:void 0};var Ic={JOIN:"join",CANCEL:"cancel",CLOSE:"ghost",BUTTON:"default",TOGGLE:"toggle"};function Rc(e){var t,r=e.asItem,n=e.autoFocus,o=e.className,a=e.meetingID,s=e.showText,l=e.style,c=e.tabIndex,d=function(e,t){var r=Y(i.useState({}),2),n=r[0],o=r[1],a=i.useContext(er).meetingsAdapter.meetingControls,s=a[e];return i.useEffect((function(){s||console.error("".concat(e,' control is not defined. Available controls are "').concat(Object.keys(a).join(", "),'".'))}),[e,a,s]),i.useEffect((function(){var e;if(s){var r=s.display(t).subscribe(o);e=function(){r.unsubscribe()}}return e}),[t,s]),s?[function(e){return s.action(t,e)},n]:[function(){},{}]}(e.type,a),p=Y(d,2),f=p[0],h=p[1],m=Y(Pe("meeting-control",o,{"as-item":r}),2),y=m[0],v=m[1];return t=h&&0!==Object.keys(h).length?"MULTISELECT"===h.type?function(e,t,r,n,i){var o=r.options,a=r.noOptionsMessage,s=r.selected,l=r.tooltip,c=r.hint;return u.default.createElement(Ou,{className:e("control-select"),style:n,value:s||"",onChange:function(e){return t(e)},options:0===(null==o?void 0:o.length)?[{value:"",label:a}]:o,disabled:!(null!=o&&o.length),tooltip:l,ariaLabel:c,tabIndex:i})}(v,f,h,l,c):function(e,t,r,n,i,o,a,s){var l=r.icon,c=r.type,d=r.text,p=r.tooltip,f=r.hint,h=r.state===x,m=r.state===_;return o?u.default.createElement(ql,{type:"ghost",style:n,size:24,className:e("as-item"),tooltip:p,ariaLabel:f||d},l&&u.default.createElement(Qt,{name:l,size:14,className:e("item-button-icon")}),u.default.createElement("span",{className:e("item-button-text")},d)):u.default.createElement(ql,{className:e("control-button"),type:Ic[c]||"default",size:48,isDisabled:h,onClick:t,ariaLabel:f||d,pressed:m&&"TOGGLE"===c,tooltip:p,autoFocus:a,tabIndex:s},l&&u.default.createElement(Qt,{name:l,size:24}),(i||!l)&&d&&u.default.createElement("span",{className:e("button-text")},d))}(v,f,h,l,s,r,n,c):"",u.default.createElement("div",{className:y},t)}Rc.propTypes={asItem:c.default.bool,autoFocus:c.default.bool,className:c.default.string,meetingID:c.default.string.isRequired,showText:c.default.bool,style:c.default.shape(),tabIndex:c.default.number,type:c.default.string.isRequired},Rc.defaultProps={asItem:!1,autoFocus:!1,className:"",showText:!0,style:void 0,tabIndex:0};var Lc=function(e){return!!e};function kc(e){for(var t=e.className,r=e.collapseRangeStart,n=e.collapseRangeEnd,o=e.controls,a=e.meetingID,s=e.style,l=e.tabIndexes,c=i.useContext(er).meetingsAdapter,d=Xr(a).state,p=an(),f=an(),h=an(),m=Gr(p).width,y=Gr(h).width,v=d===O,g=Y(Pe("meeting-control-bar",t),2),b=g[0],C=g[1],E=o(v),_=l(v),T=E.length,x=Y(i.useState(),2),S=x[0],w=x[1],A=Y(i.useState([0,0]),2),N=Y(A[0],2),P=N[0],I=N[1],R=A[1],L=Y(i.useState(void 0),2),k=L[0],M=L[1],D=[],U=[],j=[],F=[],B=0;B<20;B+=1){var z=an(),H=an(),q=Gr(z).width,V=Gr(H).width,G=B<T;D[B]=G&&z,U[B]=G&&H,j[B]=G&&q+10,F[B]=G&&V+10}var W=function(){return M(void 0)};i.useEffect((function(){if(j.splice(T),F.splice(T),m&&y&&j.every(Lc)&&F.every(Lc)){for(var e=F.reduce((function(e,t){return e+t}),0),t=F.map((function(){return!0})),i=T-1;i>=0&&e>m;i-=1)e-=F[i]-j[i],t[i]=!1;if(w(t),e<=m)R([0,0]),W();else{var o=(r+T)%T,a=(n+T)%T;e+=y+10;for(var s=a,l=a-1;l>=o&&e>m;l-=1)e-=j[l],s=l;R([s,a])}}}),[m,y,r,n,T].concat(j,F));var K,Z=function(e,t){return function(e,t){return Array(Math.max(0,t-e)).fill().map((function(t,r){return e+r}))}(e,t).map((function(e){return u.default.createElement(Rc,{key:E[e],type:E[e],meetingID:a,showText:S[e],autoFocus:_[e]===Math.min.apply(Math,$(_))||!1,tabIndex:_[e]})}))},X=function(e,t,r,n){return u.default.createElement("div",{ref:r,key:"collapse-button",className:C("collapse-button")},u.default.createElement(ql,{onClick:t,type:"toggle",size:48,pressed:!!e,tabIndex:n,tooltip:"More options",ariaLabel:e?"Collapse additional controls":"Expand additional controls"},u.default.createElement(Qt,{name:e?"more-adr":"more"})))};return i.useEffect((function(){var e;if(k){var t=function(){return W()};setTimeout((function(){return document.addEventListener("click",t)})),e=function(){return document.removeEventListener("click",t)}}return e}),[k]),u.default.createElement("div",{ref:p,className:b,style:s},k&&(K=E.slice(P,I).map((function(e){return{value:e,label:u.default.createElement(Rc,{key:e,type:e,meetingID:a,asItem:!0})}})),u.default.createElement(Ql,{className:C("collapsed-controls"),options:K,onSelect:function(e){c.meetingControls[e.value].action(a),W(),f.current.focus()},onBlur:W,withKey:k.withKey,tabIndex:_[P]})),S&&u.default.createElement("div",{className:C("controls")},Z(0,P),P<I&&X(k,(function(e){return t=!e.detail,void M((function(e){return e?void 0:{withKey:t}}));var t}),f,_[P]),Z(I,T)),u.default.createElement("div",{className:"".concat(C("controls")," ").concat(C("controls--control-refs")),"aria-hidden":"true"},E.map((function(e,t){return u.default.createElement(u.default.Fragment,{key:e},u.default.createElement("div",{ref:D[t],key:"icon"},u.default.createElement(Rc,{type:e,meetingID:a,showText:!1})),u.default.createElement("div",{ref:U[t],key:"text"},u.default.createElement(Rc,{type:e,meetingID:a,showText:!0})))})),X(k,(function(){}),h)))}function Mc(e){var t,r=e.className,n=e.destinationID,i=e.destinationType,o=e.displayStatus,a=e.personID,s=e.style,l=ln(a),c=l.displayName,d=l.orgID,p=l.emails,f=$r(),h=rn(n,i).find((function(e){return e.ID===a})),m=on(d),y=null==h?void 0:h.muted,v=null==h?void 0:h.speaking,g=void 0!==d&&void 0!==f.orgID&&f.orgID!==d,b=null==h?void 0:h.sharing,C=null==h?void 0:h.inMeeting,E=f.ID===a&&i===A,_=null==h?void 0:h.host,T=null==h?void 0:h.guest,x=[E&&"You",_&&"Host",b&&"Presenter"].filter((function(e){return e})),S=(null==p||null===(t=p[0])||void 0===t?void 0:t.split("@")[1])||u.default.createElement("i",null,"Unknown organization"),O=Y(Pe("member",r),2),w=O[0],N=O[1];return u.default.createElement("div",{className:w,style:s},u.default.createElement(pn,{personID:a,displayStatus:o,className:N("avatar")}),u.default.createElement("div",{className:N("details")},u.default.createElement("div",{className:N("name")},(null!=c?c:u.default.createElement(eu,{size:18}))||u.default.createElement("i",null,"Name not available"),T&&u.default.createElement("span",{className:N("guest")}," (Guest)")),x.length>0&&u.default.createElement("div",{className:N("roles")},x.join(", ")),g&&u.default.createElement("div",{className:N("organization")},m.name||S)),C&&b&&u.default.createElement(Qt,{name:"content-share",size:16,className:N("sharing")}),C&&v&&u.default.createElement(Qt,{name:"microphone",size:16,className:N("speaking")}),C&&y&&u.default.createElement(Qt,{name:"microphone-muted",size:16,className:N("muted")}))}function Dc(e){var t=e.className,r=e.destinationID,n=e.destinationType,i=e.style,o=e.onClose,a=rn(r,n),s=$r().orgID,l=Y(Pe("member-roster",t),2),c=l[0],d=l[1],p=function(e){return e.map((function(e){var t=e.ID;return u.default.createElement(Mc,{destinationType:n,destinationID:r,personID:t,key:t})}))},f=function(e,t){return e.length>0&&u.default.createElement(u.default.Fragment,null,u.default.createElement("h5",{className:d("section-title")},t),p(e))},h=a.some((function(e){return void 0!==e.orgID&&void 0!==s&&e.orgID!==s}))&&u.default.createElement("div",{className:d("external-user-warning")},u.default.createElement(Qt,{name:"external-user",size:20,className:d("external-user-icon")}),u.default.createElement("div",{className:d("external-user-message")},"People outside your company are included in this space"));return u.default.createElement("div",{className:c,style:i},u.default.createElement("div",{className:d("header")},u.default.createElement(tu,{type:"section",className:d("title")},"Participants (",a?a.length:u.default.createElement("i",null,"loading..."),")"),u.default.createElement(ql,{type:"ghost",size:28,onClick:o,tabIndex:50,ariaLabel:"Close participants panel"},u.default.createElement(Qt,{name:"cancel",size:16}))),h,u.default.createElement("div",{className:d("members")},n!==A?p(a):u.default.createElement(u.default.Fragment,null,f(a.filter((function(e){return e.inMeeting})),"In the meeting"),f(a.filter((function(e){return!e.inMeeting})),"Not in the meeting"))))}function Uc(e){var t=e.autoFocus,r=e.className,n=e.onSelect,o=e.selected,a=e.style,s=e.tabs,l=e.tabIndex,c=s.find((function(e){return e.key===o})).content,d=Y(Pe("tabs",r),2),p=d[0],f=d[1],h=(s||[]).findIndex((function(e){return e.key===o})),m=an(),y=Y(i.useState(!1),2),v=y[0],g=y[1];ar(m,t||v);var b=function(e){if("ArrowLeft"===e.key){e.stopPropagation();var t=(h+s.length-1)%s.length;g(!0),n(s[t].key)}else if("ArrowRight"===e.key){e.stopPropagation();var r=(h+1)%s.length;g(!0),n(s[r].key)}};return u.default.createElement("div",{className:p,style:a},u.default.createElement("ul",{className:f("list"),role:"tablist","aria-label":"Use left and right arrow keys to navigate."},s.map((function(e){return u.default.createElement("li",{className:Oe(f("tab"),o===e.key&&f("tab--active")),key:e.key},u.default.createElement("button",{"aria-selected":o===e.key,onClick:function(){return n(e.key)},onKeyUp:b,ref:o===e.key?m:void 0,role:"tab",tabIndex:o===e.key?l:-1,type:"button"},e.heading))}))),u.default.createElement("div",{className:f("content")},c()))}kc.propTypes={className:c.default.string,collapseRangeStart:c.default.number,collapseRangeEnd:c.default.number,controls:c.default.func,meetingID:c.default.string.isRequired,style:c.default.shape(),tabIndexes:c.default.func},kc.defaultProps={className:"",collapseRangeStart:0,collapseRangeEnd:-1,controls:function(e){return e?["mute-audio","mute-video","leave-meeting"]:["mute-audio","mute-video","join-meeting"]},tabIndexes:function(e){return e?[1,2,3]:[2,3,1]},style:void 0},Mc.propTypes={className:c.default.string,destinationID:c.default.string.isRequired,destinationType:c.default.string.isRequired,displayStatus:c.default.bool,personID:c.default.string.isRequired,style:c.default.shape()},Mc.defaultProps={className:"",displayStatus:!1,style:void 0},Dc.propTypes={className:c.default.string,destinationID:c.default.string.isRequired,destinationType:c.default.string.isRequired,style:c.default.shape(),onClose:c.default.func},Dc.defaultProps={className:"",style:void 0,onClose:void 0},Uc.propTypes={autoFocus:c.default.bool,className:c.default.string,onSelect:c.default.func.isRequired,selected:c.default.string.isRequired,style:c.default.shape(),tabs:c.default.arrayOf(c.default.object).isRequired,tabIndex:c.default.number},Uc.defaultProps={autoFocus:!1,className:"",style:void 0,tabIndex:-1};var jc=Y(Pe("no-media"),2)[1],Fc={microphone:{icon:"microphone-issue",title:"Can't access microphone",message:u.default.createElement(u.default.Fragment,null,u.default.createElement("p",{className:jc("indications")},"Reload this page and select ",u.default.createElement("b",{className:jc("accent")},"Allow")," when your browser asks."),u.default.createElement("p",{className:jc("indications")},u.default.createElement("div",null,u.default.createElement("b",{className:jc("accent")},"Still not working?")),"You may need to update your webpage permissions. Go to your ",u.default.createElement("b",{className:jc("accent")},"browser settings"),", look for website settings, select ",u.default.createElement("b",{className:jc("accent")},"Allow for Microphone"),", then reload this page."))},camera:{icon:"camera-issue",title:"Can't access camera",message:u.default.createElement(u.default.Fragment,null,u.default.createElement("p",{className:jc("indications")},"Reload this page and select ",u.default.createElement("b",{className:jc("accent")},"Allow")," when your browser asks."),u.default.createElement("p",{className:jc("indications")},u.default.createElement("div",null,u.default.createElement("b",{className:jc("accent")},"Still not working?")),"You may need to update your webpage permissions. Go to your ",u.default.createElement("b",{className:jc("accent")},"browser settings"),", look for website settings, select ",u.default.createElement("b",{className:jc("accent")},"Allow for Camera"),", then reload this page."))}};function Bc(e){var t=e.className,r=e.style,n=e.media,i=Y(Pe("no-media",t),1)[0],o=Fc[n];return u.default.createElement("div",{className:i,style:r},u.default.createElement(Qt,{className:jc("icon-media-issue"),name:o.icon}),u.default.createElement(tu,{type:"section",className:jc("title")},o.title),u.default.createElement("div",{className:jc("body")},o.message))}function zc(e){var t=e.className,r=e.meetingID,n=e.style,i=Y(Pe("audio-settings",t),2),o=i[0],a=i[1],s=Xr(r).localAudio.permission;return u.default.createElement("div",{className:o,style:n},"DENIED"===s||"DISMISSED"===s||"IGNORED"===s?u.default.createElement(Bc,{media:"microphone",className:a("no-media")}):u.default.createElement(u.default.Fragment,null,u.default.createElement(tu,{type:"subsection"},"Speaker"),u.default.createElement(Rc,{type:"switch-speaker",meetingID:r,tabIndex:102}),u.default.createElement(tu,{type:"subsection"},"Microphone"),u.default.createElement(Rc,{type:"switch-microphone",meetingID:r,tabIndex:103})))}function Hc(e){var t=e.meetingID,r=e.className,n=e.style,i=Y(Pe("video-settings",r),2),o=i[0],a=i[1],s=Xr(t).localVideo.permission;return u.default.createElement("div",{className:o,style:n},"DENIED"===s||"DISMISSED"===s||"IGNORED"===s?u.default.createElement(Bc,{media:"camera",className:a("no-media")}):u.default.createElement(u.default.Fragment,null,u.default.createElement(tu,{type:"subsection"},"Camera"),u.default.createElement(Rc,{type:"switch-camera",meetingID:t,tabIndex:102}),u.default.createElement("div",{className:a("media")},u.default.createElement(cc,{mediaType:"preview",meetingID:t}),u.default.createElement(Dl,{type:"bottom"},"Preview"))))}function qc(e){var t=e.meetingID,r=e.className,n=e.style,o=Y(Pe("settings",r),1)[0],a=Y(i.useState("audio"),2),s=a[0],l=a[1],c=[{key:"audio",heading:"Audio",content:function(){return u.default.createElement(zc,{meetingID:t})},ariaLabel:"View speaker and microphone settings."},{key:"video",heading:"Video",content:function(){return u.default.createElement(Hc,{meetingID:t})},ariaLabel:"View camera settings."}];return u.default.createElement("div",{className:o,style:n},u.default.createElement(Uc,{tabs:c,selected:s,onSelect:l,tabIndex:101,autoFocus:!0}))}function Vc(e){var t=e.className,r=e.meetingID,n=e.style,o=Y(Pe("waiting-for-host",t),2),a=o[0],s=o[1],l=i.useContext(er),c=Xr(r).ID;return u.default.createElement("div",{className:a,style:n},u.default.createElement(Oc,{className:s("info"),meetingID:r}),u.default.createElement("div",{className:s("content")},u.default.createElement("div",{className:s("icon")},u.default.createElement(Qt,{name:"waiting-for-host",size:120,ariaLabel:"Waiting for meeting rocket illustration"})),u.default.createElement("div",{className:s("text")},"Thank you for waiting. We’ll start the meeting when the host joins."),u.default.createElement(ql,{type:"default",size:40,onClick:function(){return l.meetingsAdapter.leaveMeeting(c)},tooltip:"Leave meeting",ariaLabel:"Leave the meeting to stop waiting for the host. To return to the meeting after leaving, refresh the web browser and join again.",tabIndex:1},"Leave meeting")),u.default.createElement(cc,{className:s("local-media"),meetingID:r,mediaType:"video"}))}function Gc(e){var t=e.className,r=e.controls,n=e.controlsCollapseRangeStart,o=e.controlsCollapseRangeEnd,a=e.controlsTabIndexes,s=e.layout,l=e.logo,c=e.meetingID,d=e.style,p=Xr(c),f=p.ID,h=p.localAudio,m=p.localVideo,y=p.state,v=p.showRoster,g=p.settings,b=p.passwordRequired,C=O,E=S,_=w,T=i.useContext(er),x=an(),N=Gr(x).width,P=Y(Pe("meeting",t,{"roster-only":v&&N<=Wl}),2),I=P[0],R=P[1],L=Y(i.useState(!1),2),k=L[0],M=L[1],D=an(),U=Y(i.useState("guest"),2),j=U[0],F=U[1];i.useEffect((function(){return y&&y!==_&&(M(!0),D.current=setTimeout((function(){M(!1)}),3e3)),function(){return clearTimeout(D.current)}}),[h.stream,m.stream,y,_]);var B,z="".concat(h.stream?"Unmuted":"Muted",", ").concat(m.stream?"Camera on":"Camera off");if(y)if(y===_)B=u.default.createElement(tu,{type:"subsection",className:R("centered")},"You've successfully left the meeting");else{var H;H=y===C?wc:y===E?Ac:Vc,B=u.default.createElement(u.default.Fragment,null,u.default.createElement("div",{className:R("body")},u.default.createElement(H,{meetingID:f,className:R("inner-meeting"),layout:s}),v&&u.default.createElement(Dc,{destinationID:f,destinationType:A,className:R("member-roster"),onClose:function(){return T.meetingsAdapter.toggleRoster(f)}}),k&&u.default.createElement(Ml,{className:R("media-state-toast")},z)),u.default.createElement(kc,{meetingID:f,className:R("control-bar"),controls:r,collapseRangeStart:n,collapseRangeEnd:o,tabIndexes:a}),g.visible&&u.default.createElement(Zl,{onClose:function(){return T.meetingsAdapter.toggleSettings(f)},otherClassName:R("settings"),title:"Settings",ariaLabel:"Meeting settings window"},u.default.createElement(qc,{meetingID:f})),b&&y===E&&u.default.createElement(Zl,{onClose:function(){return T.meetingsAdapter.clearPasswordRequiredFlag(f)},otherClassName:[R("authentication")],onBack:"host"===j&&function(){return F("guest")},ariaLabel:"guest"===j?"Meeting guest authentication":"Meeting host authentication"},"guest"===j?u.default.createElement(Ec,{meetingID:f,className:R("authentication-guest"),switchToHostModal:function(){return F("host")},style:d}):u.default.createElement(Sc,{meetingID:f,className:R("authentication-host")})))}else B=u.default.createElement("div",{className:R("loading-logo")});return u.default.createElement("div",{className:I,style:d,ref:x},l&&u.default.createElement("div",{className:R("logo")},l),B)}function Wc(e){var t=e.className,r=e.style,n=Y(Pe("messaging",t),2),i=n[0],o=n[1];return u.default.createElement("div",{className:i,style:r},u.default.createElement("div",{className:o("loading-logo")}))}function $c(e){var t=e.authUrl,r=e.clientID,n=e.redirectUri,o=e.authType,a=e.scope,s=e.state,l=e.signInResponse,c=e.getAccessToken,d=e.tokenStoragePolicy,p=e.children,f=e.className,h=e.style,m=Y(i.useState(!1),2),y=m[0],v=m[1],g=Y(Pe("oauth-sign-in",f),1)[0],b=Y(cn(),1)[0];return u.default.createElement("div",{className:g,style:h},y?u.default.createElement(eu,null):u.default.createElement(ql,{type:"join",size:40,onClick:function(){var e=new Uint8Array(4),i=s||window.crypto.getRandomValues(e),u="".concat(t,"?client_id=").concat(r,"&response_type=code&redirect_uri=").concat(encodeURI(n)).concat(""!==a?"&scope=".concat(encodeURI(a)):"","&state=").concat(i),p=window.performance.now(),f=window.open(u,"targetWindow","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=700");if(v(!0),"Custom"===o)var h=setInterval((function(){if(f.closed){clearInterval(h);var e=window.performance.now();b({fields:{startTime:p,endTime:e,totalTime:e-p},metricName:"windowTime",type:"operational"},"loginId"),c().then((function(e){if(e&&0!==Object.keys(d).length){var t=d.name,n=d.place,i=d.ttl;switch(n){case"cookie":var o=new Date;o.setSeconds(i),document.cookie="".concat(t,"=").concat(e,"; secure; expires=").concat(o.toUTCString());break;case"session":sessionStorage.setItem(t,e);break;case"local":localStorage.setItem(t,e)}}l(r,e||Error("No access token was returned"))})).catch((function(e){l(r,Error("Failed to fetch access token: ",e))})),v(!1),e=window.performance.now(),b({fields:{startTime:p,endTime:e,totalTime:e-p},metricName:"authenticationTime",type:"operational"},"loginId")}}),500)}},p||"Sign In"))}Bc.propTypes={className:c.default.string,style:c.default.shape(),media:c.default.oneOf(["camera","microphone"]).isRequired},Bc.defaultProps={className:void 0,style:void 0},zc.propTypes={className:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape()},zc.defaultProps={className:"",style:void 0},Hc.propTypes={className:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape()},Hc.defaultProps={className:"",style:void 0},qc.propTypes={className:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape()},qc.defaultProps={className:"",style:void 0},Vc.propTypes={className:c.default.string,meetingID:c.default.string.isRequired,style:c.default.shape()},Vc.defaultProps={className:"",style:void 0},Gc.propTypes={className:c.default.string,controls:c.default.func,controlsCollapseRangeStart:c.default.number,controlsCollapseRangeEnd:c.default.number,controlsTabIndexes:c.default.func,layout:c.default.string,logo:c.default.node,meetingID:c.default.string,style:c.default.shape()},Gc.defaultProps={className:"",controls:function(e){return e?["mute-audio","mute-video","share-screen","member-roster","settings","leave-meeting"]:["mute-audio","mute-video","settings","join-meeting"]},controlsCollapseRangeStart:0,controlsCollapseRangeEnd:-1,controlsTabIndexes:function(e){return e?[1,2,3,4,5,6]:[2,3,4,1]},layout:void 0,logo:void 0,meetingID:void 0,style:void 0},Wc.propTypes={className:c.default.string,style:c.default.shape()},Wc.defaultProps={className:"",style:void 0},$c.propTypes={authUrl:c.default.string.isRequired,clientID:c.default.string.isRequired,redirectUri:c.default.string.isRequired,authType:c.default.string.isRequired,scope:c.default.string,state:c.default.string,signInResponse:c.default.func,getAccessToken:c.default.func,tokenStoragePolicy:c.default.shape({place:c.default.string,name:c.default.string,ttl:c.default.number}),children:c.default.string,className:c.default.string,style:c.default.shape()},$c.defaultProps={scope:"",state:void 0,signInResponse:function(){},getAccessToken:function(){},tokenStoragePolicy:{},children:void 0,className:"",style:void 0};var Yc=i.forwardRef((function(e,t){var r=e.addedSpaceMembers,n=e.webexLookAhead,o=e.memberLookAhead,a=e.style,s=e.className,l=Y(i.useState(""),2),c=l[0],d=l[1],p=Y(i.useState([]),2),f=p[0],h=p[1],m=Y(i.useState([]),2),y=m[0],v=m[1],g=Y(i.useState(!1),2),b=g[0],C=g[1],E=Y(i.useState([]),2),_=E[0],T=E[1],x=Y(i.useState([]),2),S=x[0],O=x[1],w=Y(i.useState(!1),2),A=w[0],N=w[1],P=Y(Pe("search-people",s),2),I=P[0],R=P[1],L=i.useContext(er),k=function(e){T($(e))},M=function(){T([])},D=function(){var e=U(V.mark((function e(t){var r;return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o(t);case 3:(r=e.sent)&&r.length?O(r):O([]),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),O([]);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),j=function(){d(""),v([]),h([]),T([]),O([]),N(!1),C(!1)};i.useImperativeHandle(t,(function(){return{clearInput:j}}));var F=i.useCallback(function(e){var t,r=this,n=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=r;t&&clearTimeout(t),t=setTimeout((function(){t=null,e.apply(a,i)}),500)};return n.cancel=function(){t&&clearTimeout(t)},n}((function(e){n&&(C(!0),L.peopleAdapter.searchPeople(e).subscribe(k,M)),"function"==typeof o&&(N(!0),D(e))})),[]),B=function(e){var t=y.filter((function(t){return t!==e}));v(t);var n=f.filter((function(t){return t.ID!==e}));h(n),r&&r(null,t)},z=function(e){var t=JSON.parse(e.value),n=t.ID;y.includes(n)?B(n):(v([].concat($(y),[n])),h([].concat($(f),[t])),r&&r(null,[].concat($(y),[n])))},H=function(e,t){var r=e&&e.map((function(e){var t,r,n=function(e){return null!=e&&e.emails?e.emails[0]:""}(e),i=e.ID,o=null==e||null===(t=e.displayName)||void 0===t?void 0:t.split(" ");return o&&(r=1===o.length?o[0][0]:"".concat(o[0][0]).concat(o[o.length-1][0])),{value:JSON.stringify(e),label:u.default.createElement("div",{className:R("suggestions-list"),key:i},u.default.createElement("div",null,null!=e&&e.avatar?u.default.createElement("img",{className:R("avatar"),src:null==e?void 0:e.avatar,alt:""}):u.default.createElement("span",null,r)),u.default.createElement("div",{className:R("data")},u.default.createElement("div",null,null==e?void 0:e.displayName),u.default.createElement("div",null,n)),y.includes(i)?u.default.createElement("div",{className:R("list-selected")},u.default.createElement(Qt,{name:"check",size:16})):null)}}));return u.default.createElement("div",null,u.default.createElement("div",{className:R("list-heading")},t),e&&e.length?u.default.createElement(Ql,{options:r,onSelect:z}):u.default.createElement("div",{className:R("search-error")},"We cannot seem to find anyone matching your search."))};return u.default.createElement("div",{className:I,style:a},u.default.createElement(Vl,{label:"People"}),u.default.createElement("div",{className:R("people-list-box")},f.map((function(e){return u.default.createElement("div",{className:R("people-added"),key:e.ID},u.default.createElement("span",{className:R("people-added-content")},e.displayName),u.default.createElement(ql,{type:"ghost",size:20,onClick:function(){return B(e.ID)},tabIndex:50,ariaLabel:"Close"},u.default.createElement(Qt,{name:"cancel",size:10})))})),u.default.createElement(Gl,{placeholder:f.length?"Add another":"Add people",onChange:function(e){d(e),""!==e?F(e):(F.cancel(),T([]),O([]),N(!1),C(!1))},value:c})),u.default.createElement("div",{className:R("suggestions")},A&&H(S,"Collaborators"),b&&H(_,"Contacts")))}));function Kc(e){var r=e.spaceName,n=e.createSpace,o=e.createSpaceResponse,a=e.webexLookAhead,s=e.memberLookAhead,l=e.style,c=e.className,d=Y(i.useState(r),2),p=d[0],f=d[1],h=Y(Pe("create-space",c),2),m=h[0],y=h[1],v=Y(i.useState([]),2),g=v[0],b=v[1],C=Y(i.useState(""),2),E=C[0],_=C[1],T=i.useContext(er),x=i.useRef(),S=Y(cn(),1)[0],O=window.performance.now(),w=T.peopleAdapter.getMe().ID,A=T.peopleAdapter.getMe().orgID,N=function(e,t){var r=u.default.createElement("span",{className:y(e?"error":"success")},t);_(r)},P=function(e){o&&o(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},I=function(e){var t=window.performance.now();S({fields:{startTime:O,endTime:t,totalTime:t-O},metricName:"createSpaceError",tag:"webex_widgets",type:"operational"},"loginId"),N(!0,e.message),P({error:e.message}),S({fields:{orgID:A,Id:w},metricName:"businessMetrics",type:"business"},"")},R=function(){var e=window.performance.now();S({fields:{startTime:O,endTime:e,totalTime:e-O},metricName:"addMembersSuccess",tag:"webex_widgets",type:"operational"},"loginId"),N(!1,"space created successfully"),P(null,{data:{spaceTitle:p,addedSpaceMembers:g},msg:"space created successfully"}),S({fields:{orgID:A,Id:w},metricName:"businessMetrics",type:"business"},"")},L=function(e){var r=[],n=window.performance.now();return S({fields:{startTime:O,endTime:n,totalTime:n-O},metricName:"createSpaceSuccess",tag:"webex_widgets",type:"operational"},"loginId"),g.forEach((function(t){r.push(T.membershipsAdapter.addRoomMember(t,e.ID))})),S({fields:{orgID:A,Id:w},metricName:"businessMetrics",type:"business"},""),t.forkJoin(r).subscribe(R,I)};return u.default.createElement("div",{className:m,style:l},u.default.createElement(Gl,{placeholder:"Enter space name",label:"Space name",onChange:function(e){f(e)},value:p}),u.default.createElement(Yc,{addedSpaceMembers:function(e,t){b(t)},ref:x,webexLookAhead:a,memberLookAhead:s}),E,u.default.createElement("div",{className:y("buttons")},u.default.createElement(ql,{type:"primary",onClick:function(){f(""),_(""),x.current.clearInput()}},"Cancel"),u.default.createElement(ql,{type:"join",onClick:function(){O=window.performance.now(),n?p?T.roomsAdapter.createRoom({title:p}).subscribe(L,I):(N(!0,"space name is missing"),P({error:"space name is missing"})):P(null,{data:{spaceTitle:p,addedSpaceMembers:g}})}},"Create new Space")))}function Zc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Zc(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zc(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Yc.propTypes={addedSpaceMembers:c.default.func,webexLookAhead:c.default.bool,memberLookAhead:c.default.func,style:c.default.shape(),className:c.default.string},Yc.defaultProps={addedSpaceMembers:c.default.func,webexLookAhead:!0,memberLookAhead:void 0,style:void 0,className:""},Kc.propTypes={spaceName:c.default.string,createSpace:c.default.bool,createSpaceResponse:c.default.func,webexLookAhead:c.default.bool,memberLookAhead:c.default.func,style:c.default.shape(),className:c.default.string},Kc.defaultProps={spaceName:"",createSpace:!0,createSpaceResponse:void 0,webexLookAhead:!0,memberLookAhead:void 0,style:void 0,className:""},r.g.testRendererAct=function(e){return e()},e.AdapterContext=er,e.Button=ql,e.MeetingContext=tr,e.Modal=Zl,e.SignIn=$c,e.WEBEX_COMPONENTS_CLASS_PREFIX=we,e.WebexActivity=oc,e.WebexActivityStream=lc,e.WebexAdaptiveCards=ic,e.WebexAvatar=pn,e.WebexCreateSpace=Kc,e.WebexDataProvider=uc,e.WebexInMeeting=wc,e.WebexInterstitialMeeting=Ac,e.WebexJSONAdapter=pt,e.WebexLocalMedia=cc,e.WebexMediaAccess=Pc,e.WebexMeeting=Gc,e.WebexMeetingControl=Rc,e.WebexMeetingControlBar=kc,e.WebexMeetingGuestAuthentication=Ec,e.WebexMeetingHostAuthentication=Sc,e.WebexMeetingInfo=Oc,e.WebexMember=Mc,e.WebexMemberRoster=Dc,e.WebexMessaging=Wc,e.WebexRemoteMedia=dc,e.WebexSearchPeople=Yc,e.WebexSettings=qc,e.WebexWaitingForHost=Vc,e.useMeetingDestination=tn,e.withAdapter=function(e,t){function n(n){var o=Y(i.useState(!1),2),a=o[0],s=o[1],l=Y(i.useState(null),2),c=l[0],d=l[1];i.useEffect((function(){d(t(n))}),[t]),i.useEffect((function(){var e;function t(){return(t=U(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.connect();case 2:r.g.testRendererAct((function(){return s(!0)}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function n(){return(n=U(V.mark((function e(){return V.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(!1),e.next=3,c.disconnect();case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c&&(function(){t.apply(this,arguments)}(),e=function(){return function(){return n.apply(this,arguments)}()}),e}),[c]);var p=Xc(Xc({},n),{},{adapterConnected:a}),f=u.default.createElement(e,p);return a?u.default.createElement(uc,{adapter:c},f):f}return n.displayName="WithAdapter(".concat(function(e){return e.displayName||e.name||"Component"}(e),")"),n},e.withMeeting=function(e){function t(t){var r=tn(t.meetingDestination);return u.default.createElement(e,li({meeting:r},t))}return t.propTypes={meetingDestination:c.default.string.isRequired},t},Object.defineProperty(e,"__esModule",{value:!0})}(t,r(4802),r(3664),r(1649),r(1211),r(7516),r(9460))},8859:(e,t,r)=>{function n(e){var t,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=n(e[t]))&&(i&&(i+=" "),i+=r);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function i(){for(var e,t,r=0,i="";r<arguments.length;)(e=arguments[r++])&&(t=n(e))&&(i&&(i+=" "),i+=t);return i}r.r(t),r.d(t,{clsx:()=>i,default:()=>o});const o=i},8105:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return c.default}}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(1649)),i=p(r(1211)),o=p(r(7516)),a=p(r(8859)),s=r(1691),l=r(5272),u=r(5214),c=p(r(2634)),d=p(r(350));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}function m(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class y extends n.Component{static getDerivedStateFromProps(e,t){let{position:r}=e,{prevPropsPosition:n}=t;return!r||n&&r.x===n.x&&r.y===n.y?null:((0,d.default)("Draggable: getDerivedStateFromProps %j",{position:r,prevPropsPosition:n}),{x:r.x,y:r.y,prevPropsPosition:{...r}})}constructor(e){super(e),m(this,"onDragStart",((e,t)=>{if((0,d.default)("Draggable: onDragStart: %j",t),!1===this.props.onStart(e,(0,l.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})})),m(this,"onDrag",((e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);const r=(0,l.createDraggableData)(this,t),n={x:r.x,y:r.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=n;n.x+=this.state.slackX,n.y+=this.state.slackY;const[i,o]=(0,l.getBoundPosition)(this,n.x,n.y);n.x=i,n.y=o,n.slackX=this.state.slackX+(e-n.x),n.slackY=this.state.slackY+(t-n.y),r.x=n.x,r.y=n.y,r.deltaX=n.x-this.state.x,r.deltaY=n.y-this.state.y}if(!1===this.props.onDrag(e,r))return!1;this.setState(n)})),m(this,"onDragStop",((e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,l.createDraggableData)(this,t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);const r={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;r.x=e,r.y=t}this.setState(r)})),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var e,t;return null!==(e=null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current)&&void 0!==e?e:o.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:r,defaultPosition:i,defaultClassName:o,defaultClassNameDragging:u,defaultClassNameDragged:d,position:p,positionOffset:f,scale:m,...y}=this.props;let v={},g=null;const b=!Boolean(p)||this.state.dragging,C=p||i,E={x:(0,l.canDragX)(this)&&b?this.state.x:C.x,y:(0,l.canDragY)(this)&&b?this.state.y:C.y};this.state.isElementSVG?g=(0,s.createSVGTransform)(E,f):v=(0,s.createCSSTransform)(E,f);const _=(0,a.default)(r.props.className||"",o,{[u]:this.state.dragging,[d]:this.state.dragged});return n.createElement(c.default,h({},y,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(r),{className:_,style:{...r.props.style,...v},transform:g}))}}t.default=y,m(y,"displayName","Draggable"),m(y,"propTypes",{...c.default.propTypes,axis:i.default.oneOf(["both","x","y","none"]),bounds:i.default.oneOfType([i.default.shape({left:i.default.number,right:i.default.number,top:i.default.number,bottom:i.default.number}),i.default.string,i.default.oneOf([!1])]),defaultClassName:i.default.string,defaultClassNameDragging:i.default.string,defaultClassNameDragged:i.default.string,defaultPosition:i.default.shape({x:i.default.number,y:i.default.number}),positionOffset:i.default.shape({x:i.default.oneOfType([i.default.number,i.default.string]),y:i.default.oneOfType([i.default.number,i.default.string])}),position:i.default.shape({x:i.default.number,y:i.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),m(y,"defaultProps",{...c.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},2634:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(1649)),i=c(r(1211)),o=c(r(7516)),a=r(1691),s=r(5272),l=r(5214),u=c(r(350));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function p(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f={start:"touchstart",move:"touchmove",stop:"touchend"},h={start:"mousedown",move:"mousemove",stop:"mouseup"};let m=h;class y extends n.Component{constructor(){super(...arguments),p(this,"dragging",!1),p(this,"lastX",NaN),p(this,"lastY",NaN),p(this,"touchIdentifier",null),p(this,"mounted",!1),p(this,"handleDragStart",(e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:r}=t;if(this.props.disabled||!(e.target instanceof r.defaultView.Node)||this.props.handle&&!(0,a.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,a.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"===e.type&&e.preventDefault();const n=(0,a.getTouchIdentifier)(e);this.touchIdentifier=n;const i=(0,s.getControlPosition)(e,n,this);if(null==i)return;const{x:o,y:l}=i,c=(0,s.createCoreData)(this,o,l);(0,u.default)("DraggableCore: handleDragStart: %j",c),(0,u.default)("calling",this.props.onStart),!1!==this.props.onStart(e,c)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,a.addUserSelectStyles)(r),this.dragging=!0,this.lastX=o,this.lastY=l,(0,a.addEvent)(r,m.move,this.handleDrag),(0,a.addEvent)(r,m.stop,this.handleDragStop))})),p(this,"handleDrag",(e=>{const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX,t=n-this.lastY;if([e,t]=(0,s.snapToGrid)(this.props.grid,e,t),!e&&!t)return;r=this.lastX+e,n=this.lastY+t}const i=(0,s.createCoreData)(this,r,n);if((0,u.default)("DraggableCore: handleDrag: %j",i),!1!==this.props.onDrag(e,i)&&!1!==this.mounted)this.lastX=r,this.lastY=n;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}})),p(this,"handleDragStop",(e=>{if(!this.dragging)return;const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:r,y:n}=t;if(Array.isArray(this.props.grid)){let e=r-this.lastX||0,t=n-this.lastY||0;[e,t]=(0,s.snapToGrid)(this.props.grid,e,t),r=this.lastX+e,n=this.lastY+t}const i=(0,s.createCoreData)(this,r,n);if(!1===this.props.onStop(e,i)||!1===this.mounted)return!1;const o=this.findDOMNode();o&&this.props.enableUserSelectHack&&(0,a.removeUserSelectStyles)(o.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",i),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,o&&((0,u.default)("DraggableCore: Removing handlers"),(0,a.removeEvent)(o.ownerDocument,m.move,this.handleDrag),(0,a.removeEvent)(o.ownerDocument,m.stop,this.handleDragStop))})),p(this,"onMouseDown",(e=>(m=h,this.handleDragStart(e)))),p(this,"onMouseUp",(e=>(m=h,this.handleDragStop(e)))),p(this,"onTouchStart",(e=>(m=f,this.handleDragStart(e)))),p(this,"onTouchEnd",(e=>(m=f,this.handleDragStop(e))))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,a.addEvent)(e,f.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,a.removeEvent)(t,h.move,this.handleDrag),(0,a.removeEvent)(t,f.move,this.handleDrag),(0,a.removeEvent)(t,h.stop,this.handleDragStop),(0,a.removeEvent)(t,f.stop,this.handleDragStop),(0,a.removeEvent)(e,f.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,a.removeUserSelectStyles)(t)}}findDOMNode(){var e,t;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current:o.default.findDOMNode(this)}render(){return n.cloneElement(n.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}t.default=y,p(y,"displayName","DraggableCore"),p(y,"propTypes",{allowAnyClick:i.default.bool,children:i.default.node.isRequired,disabled:i.default.bool,enableUserSelectHack:i.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:i.default.arrayOf(i.default.number),handle:i.default.string,cancel:i.default.string,nodeRef:i.default.object,onStart:i.default.func,onDrag:i.default.func,onStop:i.default.func,onMouseDown:i.default.func,scale:i.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),p(y,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},9460:(e,t,r)=>{const{default:n,DraggableCore:i}=r(8105);e.exports=n,e.exports.default=n,e.exports.DraggableCore=i},1691:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=u,t.addEvent=function(e,t,r,n){if(!e)return;const i={capture:!0,...n};e.addEventListener?e.addEventListener(t,r,i):e.attachEvent?e.attachEvent("on"+t,r):e["on"+t]=r},t.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t)),e.body&&u(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){const r=l(e,t,"px");return{[(0,i.browserPrefixToKey)("transform",i.default)]:r}},t.createSVGTransform=function(e,t){return l(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,n.findInArray)(e.targetTouches,(e=>t===e.identifier))||e.changedTouches&&(0,n.findInArray)(e.changedTouches,(e=>t===e.identifier))},t.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},t.getTranslation=l,t.innerHeight=function(e){let t=e.clientHeight;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingTop),t-=(0,n.int)(r.paddingBottom),t},t.innerWidth=function(e){let t=e.clientWidth;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,n.int)(r.paddingLeft),t-=(0,n.int)(r.paddingRight),t},t.matchesSelector=s,t.matchesSelectorAndParentsTo=function(e,t,r){let n=e;do{if(s(n,t))return!0;if(n===r)return!1;n=n.parentNode}while(n);return!1},t.offsetXYFromParent=function(e,t,r){const n=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect();return{x:(e.clientX+t.scrollLeft-n.left)/r,y:(e.clientY+t.scrollTop-n.top)/r}},t.outerHeight=function(e){let t=e.clientHeight;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,n.int)(r.borderTopWidth),t+=(0,n.int)(r.borderBottomWidth),t},t.outerWidth=function(e){let t=e.clientWidth;const r=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,n.int)(r.borderLeftWidth),t+=(0,n.int)(r.borderRightWidth),t},t.removeClassName=c,t.removeEvent=function(e,t,r,n){if(!e)return;const i={capture:!0,...n};e.removeEventListener?e.removeEventListener(t,r,i):e.detachEvent?e.detachEvent("on"+t,r):e["on"+t]=null},t.removeUserSelectStyles=function(e){if(e)try{if(e.body&&c(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var n=r(5214),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(6628));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}let a="";function s(e,t){return a||(a=(0,n.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,n.isFunction)(e[t])}))),!!(0,n.isFunction)(e[a])&&e[a](t)}function l(e,t,r){let{x:n,y:i}=e,o="translate(".concat(n).concat(r,",").concat(i).concat(r,")");if(t){const e="".concat("string"==typeof t.x?t.x:t.x+r),n="".concat("string"==typeof t.y?t.y:t.y+r);o="translate(".concat(e,", ").concat(n,")")+o}return o}function u(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function c(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},6628:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=i,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=n;const r=["Moz","Webkit","O","ms"];function n(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const n=null===(e=window.document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.style;if(!n)return"";if(t in n)return"";for(let e=0;e<r.length;e++)if(i(t,r[e])in n)return r[e];return""}function i(e,t){return t?"".concat(t).concat(function(e){let t="",r=!0;for(let n=0;n<e.length;n++)r?(t+=e[n].toUpperCase(),r=!1):"-"===e[n]?r=!0:t+=e[n];return t}(e)):e}t.default=n()},350:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},5272:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,r){const i=!(0,n.isNum)(e.lastX),a=o(e);return i?{node:a,deltaX:0,deltaY:0,lastX:t,lastY:r,x:t,y:r}:{node:a,deltaX:t-e.lastX,deltaY:r-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:r}},t.createDraggableData=function(e,t){const r=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/r,y:e.state.y+t.deltaY/r,deltaX:t.deltaX/r,deltaY:t.deltaY/r,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,r){if(!e.props.bounds)return[t,r];let{bounds:a}=e.props;a="string"==typeof a?a:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(a);const s=o(e);if("string"==typeof a){const{ownerDocument:e}=s,t=e.defaultView;let r;if(r="parent"===a?s.parentNode:e.querySelector(a),!(r instanceof t.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');const o=r,l=t.getComputedStyle(s),u=t.getComputedStyle(o);a={left:-s.offsetLeft+(0,n.int)(u.paddingLeft)+(0,n.int)(l.marginLeft),top:-s.offsetTop+(0,n.int)(u.paddingTop)+(0,n.int)(l.marginTop),right:(0,i.innerWidth)(o)-(0,i.outerWidth)(s)-s.offsetLeft+(0,n.int)(u.paddingRight)-(0,n.int)(l.marginRight),bottom:(0,i.innerHeight)(o)-(0,i.outerHeight)(s)-s.offsetTop+(0,n.int)(u.paddingBottom)-(0,n.int)(l.marginBottom)}}return(0,n.isNum)(a.right)&&(t=Math.min(t,a.right)),(0,n.isNum)(a.bottom)&&(r=Math.min(r,a.bottom)),(0,n.isNum)(a.left)&&(t=Math.max(t,a.left)),(0,n.isNum)(a.top)&&(r=Math.max(r,a.top)),[t,r]},t.getControlPosition=function(e,t,r){const n="number"==typeof t?(0,i.getTouch)(e,t):null;if("number"==typeof t&&!n)return null;const a=o(r),s=r.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,i.offsetXYFromParent)(n||e,s,r.props.scale)},t.snapToGrid=function(e,t,r){return[Math.round(t/e[0])*e[0],Math.round(r/e[1])*e[1]]};var n=r(5214),i=r(1691);function o(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}},5214:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,r){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(r," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(let r=0,n=e.length;r<n;r++)if(t.apply(t,[e[r],r,e]))return e[r]},t.int=function(e){return parseInt(e,10)},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)}},4802:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.interval=t.iif=t.generate=t.fromEventPattern=t.fromEvent=t.from=t.forkJoin=t.empty=t.defer=t.connectable=t.concat=t.combineLatest=t.bindNodeCallback=t.bindCallback=t.UnsubscriptionError=t.TimeoutError=t.SequenceError=t.ObjectUnsubscribedError=t.NotFoundError=t.EmptyError=t.ArgumentOutOfRangeError=t.firstValueFrom=t.lastValueFrom=t.isObservable=t.identity=t.noop=t.pipe=t.NotificationKind=t.Notification=t.Subscriber=t.Subscription=t.Scheduler=t.VirtualAction=t.VirtualTimeScheduler=t.animationFrameScheduler=t.animationFrame=t.queueScheduler=t.queue=t.asyncScheduler=t.async=t.asapScheduler=t.asap=t.AsyncSubject=t.ReplaySubject=t.BehaviorSubject=t.Subject=t.animationFrames=t.observable=t.ConnectableObservable=t.Observable=void 0,t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.combineLatestWith=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=t.config=t.NEVER=t.EMPTY=t.scheduled=t.zip=t.using=t.timer=t.throwError=t.range=t.race=t.partition=t.pairs=t.onErrorResumeNext=t.of=t.never=t.merge=void 0,t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.pairwise=t.onErrorResumeNextWith=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=t.mergeAll=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=void 0,t.zipWith=t.zipAll=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=void 0;var o=r(997);Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return o.Observable}});var a=r(7101);Object.defineProperty(t,"ConnectableObservable",{enumerable:!0,get:function(){return a.ConnectableObservable}});var s=r(4466);Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return s.observable}});var l=r(8265);Object.defineProperty(t,"animationFrames",{enumerable:!0,get:function(){return l.animationFrames}});var u=r(8270);Object.defineProperty(t,"Subject",{enumerable:!0,get:function(){return u.Subject}});var c=r(5152);Object.defineProperty(t,"BehaviorSubject",{enumerable:!0,get:function(){return c.BehaviorSubject}});var d=r(4735);Object.defineProperty(t,"ReplaySubject",{enumerable:!0,get:function(){return d.ReplaySubject}});var p=r(6288);Object.defineProperty(t,"AsyncSubject",{enumerable:!0,get:function(){return p.AsyncSubject}});var f=r(1335);Object.defineProperty(t,"asap",{enumerable:!0,get:function(){return f.asap}}),Object.defineProperty(t,"asapScheduler",{enumerable:!0,get:function(){return f.asapScheduler}});var h=r(2048);Object.defineProperty(t,"async",{enumerable:!0,get:function(){return h.async}}),Object.defineProperty(t,"asyncScheduler",{enumerable:!0,get:function(){return h.asyncScheduler}});var m=r(3099);Object.defineProperty(t,"queue",{enumerable:!0,get:function(){return m.queue}}),Object.defineProperty(t,"queueScheduler",{enumerable:!0,get:function(){return m.queueScheduler}});var y=r(4941);Object.defineProperty(t,"animationFrame",{enumerable:!0,get:function(){return y.animationFrame}}),Object.defineProperty(t,"animationFrameScheduler",{enumerable:!0,get:function(){return y.animationFrameScheduler}});var v=r(6105);Object.defineProperty(t,"VirtualTimeScheduler",{enumerable:!0,get:function(){return v.VirtualTimeScheduler}}),Object.defineProperty(t,"VirtualAction",{enumerable:!0,get:function(){return v.VirtualAction}});var g=r(7979);Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return g.Scheduler}});var b=r(309);Object.defineProperty(t,"Subscription",{enumerable:!0,get:function(){return b.Subscription}});var C=r(3346);Object.defineProperty(t,"Subscriber",{enumerable:!0,get:function(){return C.Subscriber}});var E=r(3495);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return E.Notification}}),Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return E.NotificationKind}});var _=r(175);Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return _.pipe}});var T=r(1067);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return T.noop}});var x=r(2609);Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return x.identity}});var S=r(5758);Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return S.isObservable}});var O=r(5491);Object.defineProperty(t,"lastValueFrom",{enumerable:!0,get:function(){return O.lastValueFrom}});var w=r(4015);Object.defineProperty(t,"firstValueFrom",{enumerable:!0,get:function(){return w.firstValueFrom}});var A=r(3434);Object.defineProperty(t,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return A.ArgumentOutOfRangeError}});var N=r(8898);Object.defineProperty(t,"EmptyError",{enumerable:!0,get:function(){return N.EmptyError}});var P=r(7060);Object.defineProperty(t,"NotFoundError",{enumerable:!0,get:function(){return P.NotFoundError}});var I=r(9737);Object.defineProperty(t,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return I.ObjectUnsubscribedError}});var R=r(1342);Object.defineProperty(t,"SequenceError",{enumerable:!0,get:function(){return R.SequenceError}});var L=r(467);Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return L.TimeoutError}});var k=r(6251);Object.defineProperty(t,"UnsubscriptionError",{enumerable:!0,get:function(){return k.UnsubscriptionError}});var M=r(8512);Object.defineProperty(t,"bindCallback",{enumerable:!0,get:function(){return M.bindCallback}});var D=r(8884);Object.defineProperty(t,"bindNodeCallback",{enumerable:!0,get:function(){return D.bindNodeCallback}});var U=r(600);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return U.combineLatest}});var j=r(5148);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return j.concat}});var F=r(5876);Object.defineProperty(t,"connectable",{enumerable:!0,get:function(){return F.connectable}});var B=r(6850);Object.defineProperty(t,"defer",{enumerable:!0,get:function(){return B.defer}});var z=r(6603);Object.defineProperty(t,"empty",{enumerable:!0,get:function(){return z.empty}});var H=r(672);Object.defineProperty(t,"forkJoin",{enumerable:!0,get:function(){return H.forkJoin}});var q=r(7704);Object.defineProperty(t,"from",{enumerable:!0,get:function(){return q.from}});var V=r(1994);Object.defineProperty(t,"fromEvent",{enumerable:!0,get:function(){return V.fromEvent}});var G=r(8038);Object.defineProperty(t,"fromEventPattern",{enumerable:!0,get:function(){return G.fromEventPattern}});var W=r(3279);Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return W.generate}});var $=r(2094);Object.defineProperty(t,"iif",{enumerable:!0,get:function(){return $.iif}});var Y=r(9225);Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return Y.interval}});var K=r(3830);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return K.merge}});var Z=r(7088);Object.defineProperty(t,"never",{enumerable:!0,get:function(){return Z.never}});var X=r(1549);Object.defineProperty(t,"of",{enumerable:!0,get:function(){return X.of}});var Q=r(9777);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return Q.onErrorResumeNext}});var J=r(9771);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return J.pairs}});var ee=r(7840);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return ee.partition}});var te=r(2101);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return te.race}});var re=r(627);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return re.range}});var ne=r(6694);Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return ne.throwError}});var ie=r(7987);Object.defineProperty(t,"timer",{enumerable:!0,get:function(){return ie.timer}});var oe=r(290);Object.defineProperty(t,"using",{enumerable:!0,get:function(){return oe.using}});var ae=r(6017);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return ae.zip}});var se=r(3645);Object.defineProperty(t,"scheduled",{enumerable:!0,get:function(){return se.scheduled}});var le=r(6603);Object.defineProperty(t,"EMPTY",{enumerable:!0,get:function(){return le.EMPTY}});var ue=r(7088);Object.defineProperty(t,"NEVER",{enumerable:!0,get:function(){return ue.NEVER}}),i(r(1035),t);var ce=r(366);Object.defineProperty(t,"config",{enumerable:!0,get:function(){return ce.config}});var de=r(4867);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return de.audit}});var pe=r(4790);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return pe.auditTime}});var fe=r(7036);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return fe.buffer}});var he=r(4153);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return he.bufferCount}});var me=r(9073);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return me.bufferTime}});var ye=r(5032);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return ye.bufferToggle}});var ve=r(4256);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return ve.bufferWhen}});var ge=r(7129);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return ge.catchError}});var be=r(6070);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return be.combineAll}});var Ce=r(595);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return Ce.combineLatestAll}});var Ee=r(770);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return Ee.combineLatestWith}});var _e=r(9311);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return _e.concatAll}});var Te=r(6478);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return Te.concatMap}});var xe=r(7603);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return xe.concatMapTo}});var Se=r(8198);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return Se.concatWith}});var Oe=r(1038);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return Oe.connect}});var we=r(3735);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return we.count}});var Ae=r(33);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return Ae.debounce}});var Ne=r(4052);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return Ne.debounceTime}});var Pe=r(5585);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return Pe.defaultIfEmpty}});var Ie=r(6931);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return Ie.delay}});var Re=r(1051);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return Re.delayWhen}});var Le=r(248);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return Le.dematerialize}});var ke=r(2954);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return ke.distinct}});var Me=r(9586);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return Me.distinctUntilChanged}});var De=r(9590);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return De.distinctUntilKeyChanged}});var Ue=r(3969);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return Ue.elementAt}});var je=r(3181);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return je.endWith}});var Fe=r(7495);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return Fe.every}});var Be=r(802);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return Be.exhaust}});var ze=r(3719);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return ze.exhaustAll}});var He=r(5990);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return He.exhaustMap}});var qe=r(7190);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return qe.expand}});var Ve=r(3616);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return Ve.filter}});var Ge=r(6344);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return Ge.finalize}});var We=r(665);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return We.find}});var $e=r(2773);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return $e.findIndex}});var Ye=r(5350);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return Ye.first}});var Ke=r(7342);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return Ke.groupBy}});var Ze=r(3329);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return Ze.ignoreElements}});var Xe=r(7077);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return Xe.isEmpty}});var Qe=r(3086);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return Qe.last}});var Je=r(3910);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Je.map}});var et=r(6203);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return et.mapTo}});var tt=r(9569);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return tt.materialize}});var rt=r(6366);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return rt.max}});var nt=r(6593);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return nt.mergeAll}});var it=r(4343);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return it.flatMap}});var ot=r(7600);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return ot.mergeMap}});var at=r(2993);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return at.mergeMapTo}});var st=r(8469);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return st.mergeScan}});var lt=r(5768);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return lt.mergeWith}});var ut=r(1936);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return ut.min}});var ct=r(8886);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return ct.multicast}});var dt=r(7209);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return dt.observeOn}});var pt=r(3975);Object.defineProperty(t,"onErrorResumeNextWith",{enumerable:!0,get:function(){return pt.onErrorResumeNextWith}});var ft=r(3838);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return ft.pairwise}});var ht=r(6921);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return ht.pluck}});var mt=r(7072);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return mt.publish}});var yt=r(3297);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return yt.publishBehavior}});var vt=r(9187);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return vt.publishLast}});var gt=r(464);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return gt.publishReplay}});var bt=r(9627);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return bt.raceWith}});var Ct=r(8320);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return Ct.reduce}});var Et=r(7257);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return Et.repeat}});var _t=r(2625);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return _t.repeatWhen}});var Tt=r(2542);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return Tt.retry}});var xt=r(7970);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return xt.retryWhen}});var St=r(1278);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return St.refCount}});var Ot=r(1552);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Ot.sample}});var wt=r(4605);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return wt.sampleTime}});var At=r(8947);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return At.scan}});var Nt=r(7323);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Nt.sequenceEqual}});var Pt=r(6723);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return Pt.share}});var It=r(2016);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return It.shareReplay}});var Rt=r(7630);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Rt.single}});var Lt=r(7585);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return Lt.skip}});var kt=r(5917);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return kt.skipLast}});var Mt=r(5337);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Mt.skipUntil}});var Dt=r(3072);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Dt.skipWhile}});var Ut=r(6336);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return Ut.startWith}});var jt=r(6597);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return jt.subscribeOn}});var Ft=r(5747);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return Ft.switchAll}});var Bt=r(5962);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return Bt.switchMap}});var zt=r(7455);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return zt.switchMapTo}});var Ht=r(991);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return Ht.switchScan}});var qt=r(109);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return qt.take}});var Vt=r(3449);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return Vt.takeLast}});var Gt=r(7149);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return Gt.takeUntil}});var Wt=r(5964);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return Wt.takeWhile}});var $t=r(4881);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return $t.tap}});var Yt=r(3450);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return Yt.throttle}});var Kt=r(6959);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return Kt.throttleTime}});var Zt=r(3085);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return Zt.throwIfEmpty}});var Xt=r(3682);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Xt.timeInterval}});var Qt=r(467);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Qt.timeout}});var Jt=r(6155);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Jt.timeoutWith}});var er=r(5460);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return er.timestamp}});var tr=r(6558);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return tr.toArray}});var rr=r(9002);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return rr.window}});var nr=r(7471);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return nr.windowCount}});var ir=r(2831);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return ir.windowTime}});var or=r(7898);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return or.windowToggle}});var ar=r(8294);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return ar.windowWhen}});var sr=r(53);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return sr.withLatestFrom}});var lr=r(568);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return lr.zipAll}});var ur=r(3807);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return ur.zipWith}})},6288:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncSubject=void 0;var o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return i(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t._hasValue,i=t._value,o=t.thrownError,a=t.isStopped,s=t._isComplete;r?e.error(o):(a||s)&&(n&&e.next(i),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,r=t._hasValue,n=t._value;t._isComplete||(this._isComplete=!0,r&&e.prototype.next.call(this,n),e.prototype.complete.call(this))},t}(r(8270).Subject);t.AsyncSubject=o},5152:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.BehaviorSubject=void 0;var o=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return i(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r(8270).Subject);t.BehaviorSubject=o},3495:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var n,i=r(6603),o=r(1549),a=r(6694),s=r(4539);(n=t.NotificationKind||(t.NotificationKind={})).NEXT="N",n.ERROR="E",n.COMPLETE="C";var l=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return u(this,e)},e.prototype.do=function(e,t,r){var n=this,i=n.kind,o=n.value,a=n.error;return"N"===i?null==e?void 0:e(o):"E"===i?null==t?void 0:t(a):null==r?void 0:r()},e.prototype.accept=function(e,t,r){var n;return s.isFunction(null===(n=e)||void 0===n?void 0:n.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this,t=e.kind,r=e.value,n=e.error,s="N"===t?o.of(r):"E"===t?a.throwError((function(){return n})):"C"===t?i.EMPTY:0;if(!s)throw new TypeError("Unexpected notification kind "+t);return s},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function u(e,t){var r,n,i,o=e,a=o.kind,s=o.value,l=o.error;if("string"!=typeof a)throw new TypeError('Invalid notification, missing "kind"');"N"===a?null===(r=t.next)||void 0===r||r.call(t,s):"E"===a?null===(n=t.error)||void 0===n||n.call(t,l):null===(i=t.complete)||void 0===i||i.call(t)}t.Notification=l,t.observeNotification=u},9745:(e,t)=>{function r(e,t,r){return{kind:e,value:t,error:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.createNotification=t.nextNotification=t.errorNotification=t.COMPLETE_NOTIFICATION=void 0,t.COMPLETE_NOTIFICATION=r("C",void 0,void 0),t.errorNotification=function(e){return r("E",void 0,e)},t.nextNotification=function(e){return r("N",e,void 0)},t.createNotification=r},997:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;var n=r(3346),i=r(309),o=r(4466),a=r(175),s=r(366),l=r(4539),u=r(9942),c=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var o,a=this,s=(o=e)&&o instanceof n.Subscriber||function(e){return e&&l.isFunction(e.next)&&l.isFunction(e.error)&&l.isFunction(e.complete)}(o)&&i.isSubscription(o)?e:new n.SafeSubscriber(e,t,r);return u.errorContext((function(){var e=a,t=e.operator,r=e.source;s.add(t?t.call(s,r):r?a._subscribe(s):a._trySubscribe(s))})),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=d(t))((function(t,i){var o=new n.SafeSubscriber({next:function(t){try{e(t)}catch(e){i(e),o.unsubscribe()}},error:i,complete:t});r.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[o.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=d(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function d(e){var t;return null!==(t=null!=e?e:s.config.Promise)&&void 0!==t?t:Promise}t.Observable=c},4735:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReplaySubject=void 0;var o=r(8270),a=r(6757),s=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=a.dateTimestampProvider);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return i(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,a=r._timestampProvider,s=r._windowTime;n||(i.push(t),!o&&i.push(a.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var a=r.now(),s=0,l=1;l<n.length&&n[l]<=a;l+=2)s=l;s&&n.splice(0,s+1)}},t}(o.Subject);t.ReplaySubject=s},7979:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var n=r(6757),i=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=n.dateTimestampProvider.now,e}();t.Scheduler=i},8270:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousSubject=t.Subject=void 0;var a=r(997),s=r(309),l=r(9737),u=r(760),c=r(9942),d=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return i(t,e),t.prototype.lift=function(e){var t=new p(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new l.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;c.errorContext((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=o(t.currentObservers),a=i.next();!a.done;a=i.next())a.value.next(e)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},t.prototype.error=function(e){var t=this;c.errorContext((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}}))},t.prototype.complete=function(){var e=this;c.errorContext((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?s.EMPTY_SUBSCRIPTION:(this.currentObservers=null,o.push(e),new s.Subscription((function(){t.currentObservers=null,u.arrRemove(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,i=t.isStopped;r?e.error(n):i&&e.complete()},t.prototype.asObservable=function(){var e=new a.Observable;return e.source=this,e},t.create=function(e,t){return new p(e,t)},t}(a.Observable);t.Subject=d;var p=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return i(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:s.EMPTY_SUBSCRIPTION},t}(d);t.AnonymousSubject=p},3346:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_OBSERVER=t.SafeSubscriber=t.Subscriber=void 0;var o=r(4539),a=r(309),s=r(366),l=r(506),u=r(1067),c=r(9745),d=r(1578),p=r(9942),f=function(e){function r(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,a.isSubscription(r)&&r.add(n)):n.destination=t.EMPTY_OBSERVER,n}return i(r,e),r.create=function(e,t,r){return new v(e,t,r)},r.prototype.next=function(e){this.isStopped?b(c.nextNotification(e),this):this._next(e)},r.prototype.error=function(e){this.isStopped?b(c.errorNotification(e),this):(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped?b(c.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(a.Subscription);t.Subscriber=f;var h=Function.prototype.bind;function m(e,t){return h.call(e,t)}var y=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){g(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){g(e)}else g(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){g(e)}},e}(),v=function(e){function t(t,r,n){var i,a,l=e.call(this)||this;return o.isFunction(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:l&&s.config.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return l.unsubscribe()},i={next:t.next&&m(t.next,a),error:t.error&&m(t.error,a),complete:t.complete&&m(t.complete,a)}):i=t,l.destination=new y(i),l}return i(t,e),t}(f);function g(e){s.config.useDeprecatedSynchronousErrorHandling?p.captureError(e):l.reportUnhandledError(e)}function b(e,t){var r=s.config.onStoppedNotification;r&&d.timeoutProvider.setTimeout((function(){return r(e,t)}))}t.SafeSubscriber=v,t.EMPTY_OBSERVER={closed:!0,next:u.noop,error:function(e){throw e},complete:u.noop}},309:function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},o=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.isSubscription=t.EMPTY_SUBSCRIPTION=t.Subscription=void 0;var a=r(4539),s=r(6251),l=r(760),u=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,r,l,u;if(!this.closed){this.closed=!0;var d=this._parentage;if(d)if(this._parentage=null,Array.isArray(d))try{for(var p=n(d),f=p.next();!f.done;f=p.next())f.value.remove(this)}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=p.return)&&t.call(p)}finally{if(e)throw e.error}}else d.remove(this);var h=this.initialTeardown;if(a.isFunction(h))try{h()}catch(e){u=e instanceof s.UnsubscriptionError?e.errors:[e]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var y=n(m),v=y.next();!v.done;v=y.next()){var g=v.value;try{c(g)}catch(e){u=null!=u?u:[],e instanceof s.UnsubscriptionError?u=o(o([],i(u)),i(e.errors)):u.push(e)}}}catch(e){r={error:e}}finally{try{v&&!v.done&&(l=y.return)&&l.call(y)}finally{if(r)throw r.error}}}if(u)throw new s.UnsubscriptionError(u)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)c(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&l.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&l.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}();function c(e){a.isFunction(e)?e():e.unsubscribe()}t.Subscription=u,t.EMPTY_SUBSCRIPTION=u.EMPTY,t.isSubscription=function(e){return e instanceof u||e&&"closed"in e&&a.isFunction(e.remove)&&a.isFunction(e.add)&&a.isFunction(e.unsubscribe)}},366:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0,t.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4015:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.firstValueFrom=void 0;var n=r(8898),i=r(3346);t.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(o,a){var s=new i.SafeSubscriber({next:function(e){o(e),s.unsubscribe()},error:a,complete:function(){r?o(t.defaultValue):a(new n.EmptyError)}});e.subscribe(s)}))}},5491:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.lastValueFrom=void 0;var n=r(8898);t.lastValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(i,o){var a,s=!1;e.subscribe({next:function(e){a=e,s=!0},error:o,complete:function(){s?i(a):r?i(t.defaultValue):o(new n.EmptyError)}})}))}},7101:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectableObservable=void 0;var o=r(997),a=r(309),s=r(1278),l=r(6044),u=r(3426),c=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,u.hasLift(t)&&(n.lift=t.lift),n}return i(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new a.Subscription;var r=this.getSubject();t.add(this.source.subscribe(l.createOperatorSubscriber(r,void 0,(function(){e._teardown(),r.complete()}),(function(t){e._teardown(),r.error(t)}),(function(){return e._teardown()})))),t.closed&&(this._connection=null,t=a.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return s.refCount()(this)},t}(o.Observable);t.ConnectableObservable=c},8512:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallback=void 0;var n=r(9344);t.bindCallback=function(e,t,r){return n.bindCallbackInternals(!1,e,t,r)}},9344:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallbackInternals=void 0;var o=r(3810),a=r(997),s=r(6597),l=r(4854),u=r(7209),c=r(6288);t.bindCallbackInternals=function e(t,r,d,p){if(d){if(!o.isScheduler(d))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e(t,r,p).apply(this,n).pipe(l.mapOneOrManyArgs(d))};p=d}return p?function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e(t,r).apply(this,n).pipe(s.subscribeOn(p),u.observeOn(p))}:function(){for(var e=this,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var l=new c.AsyncSubject,u=!0;return new a.Observable((function(a){var s=l.subscribe(a);if(u){u=!1;var c=!1,d=!1;r.apply(e,i(i([],n(o)),[function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t){var n=e.shift();if(null!=n)return void l.error(n)}l.next(1<e.length?e:e[0]),d=!0,c&&l.complete()}])),d&&l.complete(),c=!0}return s}))}}},8884:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.bindNodeCallback=void 0;var n=r(9344);t.bindNodeCallback=function(e,t,r){return n.bindCallbackInternals(!0,e,t,r)}},600:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestInit=t.combineLatest=void 0;var n=r(997),i=r(6965),o=r(7704),a=r(2609),s=r(4854),l=r(7178),u=r(3284),c=r(6044),d=r(2853);function p(e,t,r){return void 0===r&&(r=a.identity),function(n){f(t,(function(){for(var i=e.length,a=new Array(i),s=i,l=i,u=function(i){f(t,(function(){var u=o.from(e[i],t),d=!1;u.subscribe(c.createOperatorSubscriber(n,(function(e){a[i]=e,d||(d=!0,l--),l||n.next(r(a.slice()))}),(function(){--s||n.complete()})))}),n)},d=0;d<i;d++)u(d)}),n)}}function f(e,t,r){e?d.executeSchedule(r,e,t):t()}t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=l.popScheduler(e),c=l.popResultSelector(e),d=i.argsArgArrayOrObject(e),f=d.args,h=d.keys;if(0===f.length)return o.from([],r);var m=new n.Observable(p(f,r,h?function(e){return u.createObject(h,e)}:a.identity));return c?m.pipe(s.mapOneOrManyArgs(c)):m},t.combineLatestInit=p},5148:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var n=r(9311),i=r(7178),o=r(7704);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.concatAll()(o.from(e,i.popScheduler(e)))}},5876:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.connectable=void 0;var n=r(8270),i=r(997),o=r(6850),a={connector:function(){return new n.Subject},resetOnDisconnect:!0};t.connectable=function(e,t){void 0===t&&(t=a);var r=null,n=t.connector,s=t.resetOnDisconnect,l=void 0===s||s,u=n(),c=new i.Observable((function(e){return u.subscribe(e)}));return c.connect=function(){return r&&!r.closed||(r=o.defer((function(){return e})).subscribe(u),l&&r.add((function(){return u=n()}))),r},c}},6850:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defer=void 0;var n=r(997),i=r(8666);t.defer=function(e){return new n.Observable((function(t){i.innerFrom(e()).subscribe(t)}))}},8265:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrames=void 0;var n=r(997),i=r(281),o=r(6276);function a(e){return new n.Observable((function(t){var r=e||i.performanceTimestampProvider,n=r.now(),a=0,s=function(){t.closed||(a=o.animationFrameProvider.requestAnimationFrame((function(i){a=0;var o=r.now();t.next({timestamp:e?o:i,elapsed:o-n}),s()})))};return s(),function(){a&&o.animationFrameProvider.cancelAnimationFrame(a)}}))}t.animationFrames=function(e){return e?a(e):s};var s=a()},6603:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var n=r(997);t.EMPTY=new n.Observable((function(e){return e.complete()})),t.empty=function(e){return e?function(e){return new n.Observable((function(t){return e.schedule((function(){return t.complete()}))}))}(e):t.EMPTY}},672:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.forkJoin=void 0;var n=r(997),i=r(6965),o=r(8666),a=r(7178),s=r(6044),l=r(4854),u=r(3284);t.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popResultSelector(e),c=i.argsArgArrayOrObject(e),d=c.args,p=c.keys,f=new n.Observable((function(e){var t=d.length;if(t)for(var r=new Array(t),n=t,i=t,a=function(t){var a=!1;o.innerFrom(d[t]).subscribe(s.createOperatorSubscriber(e,(function(e){a||(a=!0,i--),r[t]=e}),(function(){return n--}),void 0,(function(){n&&a||(i||e.next(p?u.createObject(p,r):r),e.complete())})))},l=0;l<t;l++)a(l);else e.complete()}));return r?f.pipe(l.mapOneOrManyArgs(r)):f}},7704:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var n=r(3645),i=r(8666);t.from=function(e,t){return t?n.scheduled(e,t):i.innerFrom(e)}},1994:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.fromEvent=void 0;var i=r(8666),o=r(997),a=r(7600),s=r(8221),l=r(4539),u=r(4854),c=["addListener","removeListener"],d=["addEventListener","removeEventListener"],p=["on","off"];function f(e,t){return function(r){return function(n){return e[r](t,n)}}}t.fromEvent=function e(t,r,h,m){if(l.isFunction(h)&&(m=h,h=void 0),m)return e(t,r,h).pipe(u.mapOneOrManyArgs(m));var y=n(function(e){return l.isFunction(e.addEventListener)&&l.isFunction(e.removeEventListener)}(t)?d.map((function(e){return function(n){return t[e](r,n,h)}})):function(e){return l.isFunction(e.addListener)&&l.isFunction(e.removeListener)}(t)?c.map(f(t,r)):function(e){return l.isFunction(e.on)&&l.isFunction(e.off)}(t)?p.map(f(t,r)):[],2),v=y[0],g=y[1];if(!v&&s.isArrayLike(t))return a.mergeMap((function(t){return e(t,r,h)}))(i.innerFrom(t));if(!v)throw new TypeError("Invalid event target");return new o.Observable((function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return v(t),function(){return g(t)}}))}},8038:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromEventPattern=void 0;var n=r(997),i=r(4539),o=r(4854);t.fromEventPattern=function e(t,r,a){return a?e(t,r).pipe(o.mapOneOrManyArgs(a)):new n.Observable((function(e){var n=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1===t.length?t[0]:t)},o=t(n);return i.isFunction(r)?function(){return r(n,o)}:void 0}))}},8398:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromSubscribable=void 0;var n=r(997);t.fromSubscribable=function(e){return new n.Observable((function(t){return e.subscribe(t)}))}},3279:function(e,t,r){var n=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.generate=void 0;var i=r(2609),o=r(3810),a=r(6850),s=r(6123);t.generate=function(e,t,r,l,u){var c,d,p,f;function h(){var e;return n(this,(function(n){switch(n.label){case 0:e=f,n.label=1;case 1:return t&&!t(e)?[3,4]:[4,p(e)];case 2:n.sent(),n.label=3;case 3:return e=r(e),[3,1];case 4:return[2]}}))}return 1===arguments.length?(f=(c=e).initialState,t=c.condition,r=c.iterate,d=c.resultSelector,p=void 0===d?i.identity:d,u=c.scheduler):(f=e,!l||o.isScheduler(l)?(p=i.identity,u=l):p=l),a.defer(u?function(){return s.scheduleIterable(h(),u)}:h)}},2094:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.iif=void 0;var n=r(6850);t.iif=function(e,t,r){return n.defer((function(){return e()?t:r}))}},8666:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}l((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},o=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof a?a(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}},a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.fromReadableStreamLike=t.fromAsyncIterable=t.fromIterable=t.fromPromise=t.fromArrayLike=t.fromInteropObservable=t.innerFrom=void 0;var s=r(8221),l=r(8854),u=r(997),c=r(2451),d=r(8741),p=r(4691),f=r(6457),h=r(5016),m=r(4539),y=r(506),v=r(4466);function g(e){return new u.Observable((function(t){var r=e[v.observable]();if(m.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function b(e){return new u.Observable((function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()}))}function C(e){return new u.Observable((function(t){e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,y.reportUnhandledError)}))}function E(e){return new u.Observable((function(t){var r,n;try{for(var i=a(e),o=i.next();!o.done;o=i.next()){var s=o.value;if(t.next(s),t.closed)return}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}t.complete()}))}function _(e){return new u.Observable((function(t){(function(e,t){var r,a,s,l;return n(this,void 0,void 0,(function(){var n,u;return i(this,(function(i){switch(i.label){case 0:i.trys.push([0,5,6,11]),r=o(e),i.label=1;case 1:return[4,r.next()];case 2:if((a=i.sent()).done)return[3,4];if(n=a.value,t.next(n),t.closed)return[2];i.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=i.sent(),s={error:u},[3,11];case 6:return i.trys.push([6,,9,10]),a&&!a.done&&(l=r.return)?[4,l.call(r)]:[3,8];case 7:i.sent(),i.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function T(e){return _(h.readableStreamLikeToAsyncGenerator(e))}t.innerFrom=function(e){if(e instanceof u.Observable)return e;if(null!=e){if(c.isInteropObservable(e))return g(e);if(s.isArrayLike(e))return b(e);if(l.isPromise(e))return C(e);if(d.isAsyncIterable(e))return _(e);if(f.isIterable(e))return E(e);if(h.isReadableStreamLike(e))return T(e)}throw p.createInvalidObservableTypeError(e)},t.fromInteropObservable=g,t.fromArrayLike=b,t.fromPromise=C,t.fromIterable=E,t.fromAsyncIterable=_,t.fromReadableStreamLike=T},9225:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.interval=void 0;var n=r(2048),i=r(7987);t.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=n.asyncScheduler),e<0&&(e=0),i.timer(e,e,t)}},3830:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var n=r(6593),i=r(8666),o=r(6603),a=r(7178),s=r(7704);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=a.popScheduler(e),l=a.popNumber(e,1/0),u=e;return u.length?1===u.length?i.innerFrom(u[0]):n.mergeAll(l)(s.from(u,r)):o.EMPTY}},7088:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.never=t.NEVER=void 0;var n=r(997),i=r(1067);t.NEVER=new n.Observable(i.noop),t.never=function(){return t.NEVER}},1549:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.of=void 0;var n=r(7178),i=r(7704);t.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n.popScheduler(e);return i.from(e,r)}},9777:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=void 0;var n=r(997),i=r(5266),o=r(6044),a=r(1067),s=r(8666);t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.argsOrArgArray(e);return new n.Observable((function(e){var t=0,n=function(){if(t<r.length){var i=void 0;try{i=s.innerFrom(r[t++])}catch(e){return void n()}var l=new o.OperatorSubscriber(e,void 0,a.noop,a.noop);i.subscribe(l),l.add(n)}else e.complete()};n()}))}},9771:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.pairs=void 0;var n=r(7704);t.pairs=function(e,t){return n.from(Object.entries(e),t)}},7840:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var n=r(8582),i=r(3616),o=r(8666);t.partition=function(e,t,r){return[i.filter(t,r)(o.innerFrom(e)),i.filter(n.not(t,r))(o.innerFrom(e))]}},2101:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.raceInit=t.race=void 0;var n=r(997),i=r(8666),o=r(5266),a=r(6044);function s(e){return function(t){for(var r=[],n=function(n){r.push(i.innerFrom(e[n]).subscribe(a.createOperatorSubscriber(t,(function(e){if(r){for(var i=0;i<r.length;i++)i!==n&&r[i].unsubscribe();r=null}t.next(e)}))))},o=0;r&&!t.closed&&o<e.length;o++)n(o)}}t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=o.argsOrArgArray(e)).length?i.innerFrom(e[0]):new n.Observable(s(e))},t.raceInit=s},627:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.range=void 0;var n=r(997),i=r(6603);t.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return i.EMPTY;var o=t+e;return new n.Observable(r?function(t){var n=e;return r.schedule((function(){n<o?(t.next(n++),this.schedule()):t.complete()}))}:function(t){for(var r=e;r<o&&!t.closed;)t.next(r++);t.complete()})}},6694:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=void 0;var n=r(997),i=r(4539);t.throwError=function(e,t){var r=i.isFunction(e)?e:function(){return e},o=function(e){return e.error(r())};return new n.Observable(t?function(e){return t.schedule(o,0,e)}:o)}},7987:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.timer=void 0;var n=r(997),i=r(2048),o=r(3810),a=r(9199);t.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=i.async);var s=-1;return null!=t&&(o.isScheduler(t)?r=t:s=t),new n.Observable((function(t){var n=a.isValidDate(e)?+e-r.now():e;n<0&&(n=0);var i=0;return r.schedule((function(){t.closed||(t.next(i++),0<=s?this.schedule(void 0,s):t.complete())}),n)}))}},290:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.using=void 0;var n=r(997),i=r(8666),o=r(6603);t.using=function(e,t){return new n.Observable((function(r){var n=e(),a=t(n);return(a?i.innerFrom(a):o.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}}))}},6017:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var o=r(997),a=r(8666),s=r(5266),l=r(6603),u=r(6044),c=r(7178);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=c.popResultSelector(e),d=s.argsOrArgArray(e);return d.length?new o.Observable((function(e){var t=d.map((function(){return[]})),o=d.map((function(){return!1}));e.add((function(){t=o=null}));for(var s=function(s){a.innerFrom(d[s]).subscribe(u.createOperatorSubscriber(e,(function(a){if(t[s].push(a),t.every((function(e){return e.length}))){var l=t.map((function(e){return e.shift()}));e.next(r?r.apply(void 0,i([],n(l))):l),t.some((function(e,t){return!e.length&&o[t]}))&&e.complete()}}),(function(){o[s]=!0,!t[s].length&&e.complete()})))},l=0;!e.closed&&l<d.length;l++)s(l);return function(){t=o=null}})):l.EMPTY}},6044:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorSubscriber=t.createOperatorSubscriber=void 0;var o=r(3346);t.createOperatorSubscriber=function(e,t,r,n,i){return new a(e,t,r,n,i)};var a=function(e){function t(t,r,n,i,o,a){var s=e.call(this,t)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return i(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(o.Subscriber);t.OperatorSubscriber=a},4867:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.audit=void 0;var n=r(3426),i=r(8666),o=r(6044);t.audit=function(e){return n.operate((function(t,r){var n=!1,a=null,s=null,l=!1,u=function(){if(null==s||s.unsubscribe(),s=null,n){n=!1;var e=a;a=null,r.next(e)}l&&r.complete()},c=function(){s=null,l&&r.complete()};t.subscribe(o.createOperatorSubscriber(r,(function(t){n=!0,a=t,s||i.innerFrom(e(t)).subscribe(s=o.createOperatorSubscriber(r,u,c))}),(function(){l=!0,(!n||!s||s.closed)&&r.complete()})))}))}},4790:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.auditTime=void 0;var n=r(2048),i=r(4867),o=r(7987);t.auditTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),i.audit((function(){return o.timer(e,t)}))}},7036:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.buffer=void 0;var n=r(3426),i=r(1067),o=r(6044),a=r(8666);t.buffer=function(e){return n.operate((function(t,r){var n=[];return t.subscribe(o.createOperatorSubscriber(r,(function(e){return n.push(e)}),(function(){r.next(n),r.complete()}))),a.innerFrom(e).subscribe(o.createOperatorSubscriber(r,(function(){var e=n;n=[],r.next(e)}),i.noop)),function(){n=null}}))}},4153:function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferCount=void 0;var i=r(3426),o=r(6044),a=r(760);t.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,i.operate((function(r,i){var s=[],l=0;r.subscribe(o.createOperatorSubscriber(i,(function(r){var o,u,c,d,p=null;l++%t==0&&s.push([]);try{for(var f=n(s),h=f.next();!h.done;h=f.next())(v=h.value).push(r),e<=v.length&&(p=null!=p?p:[]).push(v)}catch(e){o={error:e}}finally{try{h&&!h.done&&(u=f.return)&&u.call(f)}finally{if(o)throw o.error}}if(p)try{for(var m=n(p),y=m.next();!y.done;y=m.next()){var v=y.value;a.arrRemove(s,v),i.next(v)}}catch(e){c={error:e}}finally{try{y&&!y.done&&(d=m.return)&&d.call(m)}finally{if(c)throw c.error}}}),(function(){var e,t;try{for(var r=n(s),o=r.next();!o.done;o=r.next()){var a=o.value;i.next(a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}i.complete()}),void 0,(function(){s=null})))}))}},9073:function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferTime=void 0;var i=r(309),o=r(3426),a=r(6044),s=r(760),l=r(2048),u=r(7178),c=r(2853);t.bufferTime=function(e){for(var t,r,d=[],p=1;p<arguments.length;p++)d[p-1]=arguments[p];var f=null!==(t=u.popScheduler(d))&&void 0!==t?t:l.asyncScheduler,h=null!==(r=d[0])&&void 0!==r?r:null,m=d[1]||1/0;return o.operate((function(t,r){var o=[],l=!1,u=function(e){var t=e.buffer;e.subs.unsubscribe(),s.arrRemove(o,e),r.next(t),l&&d()},d=function(){if(o){var t=new i.Subscription;r.add(t);var n={buffer:[],subs:t};o.push(n),c.executeSchedule(t,f,(function(){return u(n)}),e)}};null!==h&&h>=0?c.executeSchedule(r,f,d,h,!0):l=!0,d();var p=a.createOperatorSubscriber(r,(function(e){var t,r,i=o.slice();try{for(var a=n(i),s=a.next();!s.done;s=a.next()){var l=s.value,c=l.buffer;c.push(e),m<=c.length&&u(l)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}),(function(){for(;null==o?void 0:o.length;)r.next(o.shift().buffer);null==p||p.unsubscribe(),r.complete(),r.unsubscribe()}),void 0,(function(){return o=null}));t.subscribe(p)}))}},5032:function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferToggle=void 0;var i=r(309),o=r(3426),a=r(8666),s=r(6044),l=r(1067),u=r(760);t.bufferToggle=function(e,t){return o.operate((function(r,o){var c=[];a.innerFrom(e).subscribe(s.createOperatorSubscriber(o,(function(e){var r=[];c.push(r);var n=new i.Subscription;n.add(a.innerFrom(t(e)).subscribe(s.createOperatorSubscriber(o,(function(){u.arrRemove(c,r),o.next(r),n.unsubscribe()}),l.noop)))}),l.noop)),r.subscribe(s.createOperatorSubscriber(o,(function(e){var t,r;try{for(var i=n(c),o=i.next();!o.done;o=i.next())o.value.push(e)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),(function(){for(;c.length>0;)o.next(c.shift());o.complete()})))}))}},4256:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.bufferWhen=void 0;var n=r(3426),i=r(1067),o=r(6044),a=r(8666);t.bufferWhen=function(e){return n.operate((function(t,r){var n=null,s=null,l=function(){null==s||s.unsubscribe();var t=n;n=[],t&&r.next(t),a.innerFrom(e()).subscribe(s=o.createOperatorSubscriber(r,l,i.noop))};l(),t.subscribe(o.createOperatorSubscriber(r,(function(e){return null==n?void 0:n.push(e)}),(function(){n&&r.next(n),r.complete()}),void 0,(function(){return n=s=null})))}))}},7129:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.catchError=void 0;var n=r(8666),i=r(6044),o=r(3426);t.catchError=function e(t){return o.operate((function(r,o){var a,s=null,l=!1;s=r.subscribe(i.createOperatorSubscriber(o,void 0,void 0,(function(i){a=n.innerFrom(t(i,e(t)(r))),s?(s.unsubscribe(),s=null,a.subscribe(o)):l=!0}))),l&&(s.unsubscribe(),s=null,a.subscribe(o))}))}},6070:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combineAll=void 0;var n=r(595);t.combineAll=n.combineLatestAll},4694:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatest=void 0;var o=r(600),a=r(3426),s=r(5266),l=r(4854),u=r(175),c=r(7178);t.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var d=c.popResultSelector(t);return d?u.pipe(e.apply(void 0,i([],n(t))),l.mapOneOrManyArgs(d)):a.operate((function(e,r){o.combineLatestInit(i([e],n(s.argsOrArgArray(t))))(r)}))}},595:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestAll=void 0;var n=r(600),i=r(4221);t.combineLatestAll=function(e){return i.joinAllInternals(n.combineLatest,e)}},770:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestWith=void 0;var o=r(4694);t.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.combineLatest.apply(void 0,i([],n(e)))}},2986:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var o=r(3426),a=r(9311),s=r(7178),l=r(7704);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=s.popScheduler(e);return o.operate((function(t,o){a.concatAll()(l.from(i([t],n(e)),r)).subscribe(o)}))}},9311:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.concatAll=void 0;var n=r(6593);t.concatAll=function(){return n.mergeAll(1)}},6478:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.concatMap=void 0;var n=r(7600),i=r(4539);t.concatMap=function(e,t){return i.isFunction(t)?n.mergeMap(e,t,1):n.mergeMap(e,1)}},7603:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.concatMapTo=void 0;var n=r(6478),i=r(4539);t.concatMapTo=function(e,t){return i.isFunction(t)?n.concatMap((function(){return e}),t):n.concatMap((function(){return e}))}},8198:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concatWith=void 0;var o=r(2986);t.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.concat.apply(void 0,i([],n(e)))}},1038:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.connect=void 0;var n=r(8270),i=r(8666),o=r(3426),a=r(8398),s={connector:function(){return new n.Subject}};t.connect=function(e,t){void 0===t&&(t=s);var r=t.connector;return o.operate((function(t,n){var o=r();i.innerFrom(e(a.fromSubscribable(o))).subscribe(n),n.add(t.subscribe(o))}))}},3735:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.count=void 0;var n=r(8320);t.count=function(e){return n.reduce((function(t,r,n){return!e||e(r,n)?t+1:t}),0)}},33:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0;var n=r(3426),i=r(1067),o=r(6044),a=r(8666);t.debounce=function(e){return n.operate((function(t,r){var n=!1,s=null,l=null,u=function(){if(null==l||l.unsubscribe(),l=null,n){n=!1;var e=s;s=null,r.next(e)}};t.subscribe(o.createOperatorSubscriber(r,(function(t){null==l||l.unsubscribe(),n=!0,s=t,l=o.createOperatorSubscriber(r,u,i.noop),a.innerFrom(e(t)).subscribe(l)}),(function(){u(),r.complete()}),void 0,(function(){s=l=null})))}))}},4052:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.debounceTime=void 0;var n=r(2048),i=r(3426),o=r(6044);t.debounceTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),i.operate((function(r,n){var i=null,a=null,s=null,l=function(){if(i){i.unsubscribe(),i=null;var e=a;a=null,n.next(e)}};function u(){var r=s+e,o=t.now();if(o<r)return i=this.schedule(void 0,r-o),void n.add(i);l()}r.subscribe(o.createOperatorSubscriber(n,(function(r){a=r,s=t.now(),i||(i=t.schedule(u,e),n.add(i))}),(function(){l(),n.complete()}),void 0,(function(){a=i=null})))}))}},5585:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultIfEmpty=void 0;var n=r(3426),i=r(6044);t.defaultIfEmpty=function(e){return n.operate((function(t,r){var n=!1;t.subscribe(i.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){n||r.next(e),r.complete()})))}))}},6931:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.delay=void 0;var n=r(2048),i=r(1051),o=r(7987);t.delay=function(e,t){void 0===t&&(t=n.asyncScheduler);var r=o.timer(e,t);return i.delayWhen((function(){return r}))}},1051:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.delayWhen=void 0;var n=r(5148),i=r(109),o=r(3329),a=r(6203),s=r(7600),l=r(8666);t.delayWhen=function e(t,r){return r?function(a){return n.concat(r.pipe(i.take(1),o.ignoreElements()),a.pipe(e(t)))}:s.mergeMap((function(e,r){return l.innerFrom(t(e,r)).pipe(i.take(1),a.mapTo(e))}))}},248:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.dematerialize=void 0;var n=r(3495),i=r(3426),o=r(6044);t.dematerialize=function(){return i.operate((function(e,t){e.subscribe(o.createOperatorSubscriber(t,(function(e){return n.observeNotification(e,t)})))}))}},2954:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=void 0;var n=r(3426),i=r(6044),o=r(1067),a=r(8666);t.distinct=function(e,t){return n.operate((function(r,n){var s=new Set;r.subscribe(i.createOperatorSubscriber(n,(function(t){var r=e?e(t):t;s.has(r)||(s.add(r),n.next(t))}))),t&&a.innerFrom(t).subscribe(i.createOperatorSubscriber(n,(function(){return s.clear()}),o.noop))}))}},9586:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilChanged=void 0;var n=r(2609),i=r(3426),o=r(6044);function a(e,t){return e===t}t.distinctUntilChanged=function(e,t){return void 0===t&&(t=n.identity),e=null!=e?e:a,i.operate((function(r,n){var i,a=!0;r.subscribe(o.createOperatorSubscriber(n,(function(r){var o=t(r);!a&&e(i,o)||(a=!1,i=o,n.next(r))})))}))}},9590:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilKeyChanged=void 0;var n=r(9586);t.distinctUntilKeyChanged=function(e,t){return n.distinctUntilChanged((function(r,n){return t?t(r[e],n[e]):r[e]===n[e]}))}},3969:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.elementAt=void 0;var n=r(3434),i=r(3616),o=r(3085),a=r(5585),s=r(109);t.elementAt=function(e,t){if(e<0)throw new n.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(l){return l.pipe(i.filter((function(t,r){return r===e})),s.take(1),r?a.defaultIfEmpty(t):o.throwIfEmpty((function(){return new n.ArgumentOutOfRangeError})))}}},3181:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.endWith=void 0;var o=r(5148),a=r(1549);t.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return o.concat(t,a.of.apply(void 0,i([],n(e))))}}},7495:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;var n=r(3426),i=r(6044);t.every=function(e,t){return n.operate((function(r,n){var o=0;r.subscribe(i.createOperatorSubscriber(n,(function(i){e.call(t,i,o++,r)||(n.next(!1),n.complete())}),(function(){n.next(!0),n.complete()})))}))}},802:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.exhaust=void 0;var n=r(3719);t.exhaust=n.exhaustAll},3719:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustAll=void 0;var n=r(5990),i=r(2609);t.exhaustAll=function(){return n.exhaustMap(i.identity)}},5990:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustMap=void 0;var n=r(3910),i=r(8666),o=r(3426),a=r(6044);t.exhaustMap=function e(t,r){return r?function(o){return o.pipe(e((function(e,o){return i.innerFrom(t(e,o)).pipe(n.map((function(t,n){return r(e,t,o,n)})))})))}:o.operate((function(e,r){var n=0,o=null,s=!1;e.subscribe(a.createOperatorSubscriber(r,(function(e){o||(o=a.createOperatorSubscriber(r,void 0,(function(){o=null,s&&r.complete()})),i.innerFrom(t(e,n++)).subscribe(o))}),(function(){s=!0,!o&&r.complete()})))}))}},7190:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.expand=void 0;var n=r(3426),i=r(6352);t.expand=function(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,n.operate((function(n,o){return i.mergeInternals(n,o,e,t,void 0,!0,r)}))}},3616:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;var n=r(3426),i=r(6044);t.filter=function(e,t){return n.operate((function(r,n){var o=0;r.subscribe(i.createOperatorSubscriber(n,(function(r){return e.call(t,r,o++)&&n.next(r)})))}))}},6344:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.finalize=void 0;var n=r(3426);t.finalize=function(e){return n.operate((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))}},665:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createFind=t.find=void 0;var n=r(3426),i=r(6044);function o(e,t,r){var n="index"===r;return function(r,o){var a=0;r.subscribe(i.createOperatorSubscriber(o,(function(i){var s=a++;e.call(t,i,s,r)&&(o.next(n?s:i),o.complete())}),(function(){o.next(n?-1:void 0),o.complete()})))}}t.find=function(e,t){return n.operate(o(e,t,"value"))},t.createFind=o},2773:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.findIndex=void 0;var n=r(3426),i=r(665);t.findIndex=function(e,t){return n.operate(i.createFind(e,t,"index"))}},5350:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.first=void 0;var n=r(8898),i=r(3616),o=r(109),a=r(5585),s=r(3085),l=r(2609);t.first=function(e,t){var r=arguments.length>=2;return function(u){return u.pipe(e?i.filter((function(t,r){return e(t,r,u)})):l.identity,o.take(1),r?a.defaultIfEmpty(t):s.throwIfEmpty((function(){return new n.EmptyError})))}}},4343:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.flatMap=void 0;var n=r(7600);t.flatMap=n.mergeMap},7342:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.groupBy=void 0;var n=r(997),i=r(8666),o=r(8270),a=r(3426),s=r(6044);t.groupBy=function(e,t,r,l){return a.operate((function(a,u){var c;t&&"function"!=typeof t?(r=t.duration,c=t.element,l=t.connector):c=t;var d=new Map,p=function(e){d.forEach(e),e(u)},f=function(e){return p((function(t){return t.error(e)}))},h=0,m=!1,y=new s.OperatorSubscriber(u,(function(t){try{var a=e(t),p=d.get(a);if(!p){d.set(a,p=l?l():new o.Subject);var v=(b=a,C=p,(E=new n.Observable((function(e){h++;var t=C.subscribe(e);return function(){t.unsubscribe(),0==--h&&m&&y.unsubscribe()}}))).key=b,E);if(u.next(v),r){var g=s.createOperatorSubscriber(p,(function(){p.complete(),null==g||g.unsubscribe()}),void 0,void 0,(function(){return d.delete(a)}));y.add(i.innerFrom(r(v)).subscribe(g))}}p.next(c?c(t):t)}catch(e){f(e)}var b,C,E}),(function(){return p((function(e){return e.complete()}))}),f,(function(){return d.clear()}),(function(){return m=!0,0===h}));a.subscribe(y)}))}},3329:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ignoreElements=void 0;var n=r(3426),i=r(6044),o=r(1067);t.ignoreElements=function(){return n.operate((function(e,t){e.subscribe(i.createOperatorSubscriber(t,o.noop))}))}},7077:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=void 0;var n=r(3426),i=r(6044);t.isEmpty=function(){return n.operate((function(e,t){e.subscribe(i.createOperatorSubscriber(t,(function(){t.next(!1),t.complete()}),(function(){t.next(!0),t.complete()})))}))}},4221:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.joinAllInternals=void 0;var n=r(2609),i=r(4854),o=r(175),a=r(7600),s=r(6558);t.joinAllInternals=function(e,t){return o.pipe(s.toArray(),a.mergeMap((function(t){return e(t)})),t?i.mapOneOrManyArgs(t):n.identity)}},3086:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.last=void 0;var n=r(8898),i=r(3616),o=r(3449),a=r(3085),s=r(5585),l=r(2609);t.last=function(e,t){var r=arguments.length>=2;return function(u){return u.pipe(e?i.filter((function(t,r){return e(t,r,u)})):l.identity,o.takeLast(1),r?s.defaultIfEmpty(t):a.throwIfEmpty((function(){return new n.EmptyError})))}}},3910:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;var n=r(3426),i=r(6044);t.map=function(e,t){return n.operate((function(r,n){var o=0;r.subscribe(i.createOperatorSubscriber(n,(function(r){n.next(e.call(t,r,o++))})))}))}},6203:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mapTo=void 0;var n=r(3910);t.mapTo=function(e){return n.map((function(){return e}))}},9569:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.materialize=void 0;var n=r(3495),i=r(3426),o=r(6044);t.materialize=function(){return i.operate((function(e,t){e.subscribe(o.createOperatorSubscriber(t,(function(e){t.next(n.Notification.createNext(e))}),(function(){t.next(n.Notification.createComplete()),t.complete()}),(function(e){t.next(n.Notification.createError(e)),t.complete()})))}))}},6366:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.max=void 0;var n=r(8320),i=r(4539);t.max=function(e){return n.reduce(i.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})}},6864:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var o=r(3426),a=r(5266),s=r(6593),l=r(7178),u=r(7704);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=l.popScheduler(e),c=l.popNumber(e,1/0);return e=a.argsOrArgArray(e),o.operate((function(t,o){s.mergeAll(c)(u.from(i([t],n(e)),r)).subscribe(o)}))}},6593:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=void 0;var n=r(7600),i=r(2609);t.mergeAll=function(e){return void 0===e&&(e=1/0),n.mergeMap(i.identity,e)}},6352:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mergeInternals=void 0;var n=r(8666),i=r(2853),o=r(6044);t.mergeInternals=function(e,t,r,a,s,l,u,c){var d=[],p=0,f=0,h=!1,m=function(){!h||d.length||p||t.complete()},y=function(e){return p<a?v(e):d.push(e)},v=function(e){l&&t.next(e),p++;var c=!1;n.innerFrom(r(e,f++)).subscribe(o.createOperatorSubscriber(t,(function(e){null==s||s(e),l?y(e):t.next(e)}),(function(){c=!0}),void 0,(function(){if(c)try{p--;for(var e=function(){var e=d.shift();u?i.executeSchedule(t,u,(function(){return v(e)})):v(e)};d.length&&p<a;)e();m()}catch(e){t.error(e)}})))};return e.subscribe(o.createOperatorSubscriber(t,y,(function(){h=!0,m()}))),function(){null==c||c()}}},7600:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMap=void 0;var n=r(3910),i=r(8666),o=r(3426),a=r(6352),s=r(4539);t.mergeMap=function e(t,r,l){return void 0===l&&(l=1/0),s.isFunction(r)?e((function(e,o){return n.map((function(t,n){return r(e,t,o,n)}))(i.innerFrom(t(e,o)))}),l):("number"==typeof r&&(l=r),o.operate((function(e,r){return a.mergeInternals(e,r,t,l)})))}},2993:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMapTo=void 0;var n=r(7600),i=r(4539);t.mergeMapTo=function(e,t,r){return void 0===r&&(r=1/0),i.isFunction(t)?n.mergeMap((function(){return e}),t,r):("number"==typeof t&&(r=t),n.mergeMap((function(){return e}),r))}},8469:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mergeScan=void 0;var n=r(3426),i=r(6352);t.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),n.operate((function(n,o){var a=t;return i.mergeInternals(n,o,(function(t,r){return e(a,t,r)}),r,(function(e){a=e}),!1,void 0,(function(){return a=null}))}))}},5768:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeWith=void 0;var o=r(6864);t.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.merge.apply(void 0,i([],n(e)))}},1936:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.min=void 0;var n=r(8320),i=r(4539);t.min=function(e){return n.reduce(i.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})}},8886:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.multicast=void 0;var n=r(7101),i=r(4539),o=r(1038);t.multicast=function(e,t){var r=i.isFunction(e)?e:function(){return e};return i.isFunction(t)?o.connect(t,{connector:r}):function(e){return new n.ConnectableObservable(e,r)}}},7209:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.observeOn=void 0;var n=r(2853),i=r(3426),o=r(6044);t.observeOn=function(e,t){return void 0===t&&(t=0),i.operate((function(r,i){r.subscribe(o.createOperatorSubscriber(i,(function(r){return n.executeSchedule(i,e,(function(){return i.next(r)}),t)}),(function(){return n.executeSchedule(i,e,(function(){return i.complete()}),t)}),(function(r){return n.executeSchedule(i,e,(function(){return i.error(r)}),t)})))}))}},3975:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=t.onErrorResumeNextWith=void 0;var o=r(5266),a=r(9777);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.argsOrArgArray(e);return function(e){return a.onErrorResumeNext.apply(void 0,i([e],n(r)))}}t.onErrorResumeNextWith=s,t.onErrorResumeNext=s},3838:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.pairwise=void 0;var n=r(3426),i=r(6044);t.pairwise=function(){return n.operate((function(e,t){var r,n=!1;e.subscribe(i.createOperatorSubscriber(t,(function(e){var i=r;r=e,n&&t.next([i,e]),n=!0})))}))}},9374:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var n=r(8582),i=r(3616);t.partition=function(e,t){return function(r){return[i.filter(e,t)(r),i.filter(n.not(e,t))(r)]}}},6921:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.pluck=void 0;var n=r(3910);t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map((function(t){for(var n=t,i=0;i<r;i++){var o=null==n?void 0:n[e[i]];if(void 0===o)return;n=o}return n}))}},7072:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;var n=r(8270),i=r(8886),o=r(1038);t.publish=function(e){return e?function(t){return o.connect(e)(t)}:function(e){return i.multicast(new n.Subject)(e)}}},3297:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.publishBehavior=void 0;var n=r(5152),i=r(7101);t.publishBehavior=function(e){return function(t){var r=new n.BehaviorSubject(e);return new i.ConnectableObservable(t,(function(){return r}))}}},9187:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.publishLast=void 0;var n=r(6288),i=r(7101);t.publishLast=function(){return function(e){var t=new n.AsyncSubject;return new i.ConnectableObservable(e,(function(){return t}))}}},464:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.publishReplay=void 0;var n=r(4735),i=r(8886),o=r(4539);t.publishReplay=function(e,t,r,a){r&&!o.isFunction(r)&&(a=r);var s=o.isFunction(r)?r:void 0;return function(r){return i.multicast(new n.ReplaySubject(e,t,a),s)(r)}}},3523:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.race=void 0;var o=r(5266),a=r(9627);t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.raceWith.apply(void 0,i([],n(o.argsOrArgArray(e))))}},9627:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.raceWith=void 0;var o=r(2101),a=r(3426),s=r(2609);t.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?a.operate((function(t,r){o.raceInit(i([t],n(e)))(r)})):s.identity}},8320:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;var n=r(4469),i=r(3426);t.reduce=function(e,t){return i.operate(n.scanInternals(e,t,arguments.length>=2,!1,!0))}},1278:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.refCount=void 0;var n=r(3426),i=r(6044);t.refCount=function(){return n.operate((function(e,t){var r=null;e._refCount++;var n=i.createOperatorSubscriber(t,void 0,void 0,void 0,(function(){if(!e||e._refCount<=0||0<--e._refCount)r=null;else{var n=e._connection,i=r;r=null,!n||i&&n!==i||n.unsubscribe(),t.unsubscribe()}}));e.subscribe(n),n.closed||(r=e.connect())}))}},7257:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.repeat=void 0;var n=r(6603),i=r(3426),o=r(6044),a=r(8666),s=r(7987);t.repeat=function(e){var t,r,l=1/0;return null!=e&&("object"==typeof e?(t=e.count,l=void 0===t?1/0:t,r=e.delay):l=e),l<=0?function(){return n.EMPTY}:i.operate((function(e,t){var n,i=0,u=function(){if(null==n||n.unsubscribe(),n=null,null!=r){var e="number"==typeof r?s.timer(r):a.innerFrom(r(i)),l=o.createOperatorSubscriber(t,(function(){l.unsubscribe(),c()}));e.subscribe(l)}else c()},c=function(){var r=!1;n=e.subscribe(o.createOperatorSubscriber(t,void 0,(function(){++i<l?n?u():r=!0:t.complete()}))),r&&u()};c()}))}},2625:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.repeatWhen=void 0;var n=r(8666),i=r(8270),o=r(3426),a=r(6044);t.repeatWhen=function(e){return o.operate((function(t,r){var o,s,l=!1,u=!1,c=!1,d=function(){return c&&u&&(r.complete(),!0)},p=function(){c=!1,o=t.subscribe(a.createOperatorSubscriber(r,void 0,(function(){c=!0,!d()&&(s||(s=new i.Subject,n.innerFrom(e(s)).subscribe(a.createOperatorSubscriber(r,(function(){o?p():l=!0}),(function(){u=!0,d()})))),s).next()}))),l&&(o.unsubscribe(),o=null,l=!1,p())};p()}))}},2542:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.retry=void 0;var n=r(3426),i=r(6044),o=r(2609),a=r(7987),s=r(8666);t.retry=function(e){var t;void 0===e&&(e=1/0);var r=(t=e&&"object"==typeof e?e:{count:e}).count,l=void 0===r?1/0:r,u=t.delay,c=t.resetOnSuccess,d=void 0!==c&&c;return l<=0?o.identity:n.operate((function(e,t){var r,n=0,o=function(){var c=!1;r=e.subscribe(i.createOperatorSubscriber(t,(function(e){d&&(n=0),t.next(e)}),void 0,(function(e){if(n++<l){var d=function(){r?(r.unsubscribe(),r=null,o()):c=!0};if(null!=u){var p="number"==typeof u?a.timer(u):s.innerFrom(u(e,n)),f=i.createOperatorSubscriber(t,(function(){f.unsubscribe(),d()}),(function(){t.complete()}));p.subscribe(f)}else d()}else t.error(e)}))),c&&(r.unsubscribe(),r=null,o())};o()}))}},7970:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.retryWhen=void 0;var n=r(8666),i=r(8270),o=r(3426),a=r(6044);t.retryWhen=function(e){return o.operate((function(t,r){var o,s,l=!1,u=function(){o=t.subscribe(a.createOperatorSubscriber(r,void 0,void 0,(function(t){s||(s=new i.Subject,n.innerFrom(e(s)).subscribe(a.createOperatorSubscriber(r,(function(){return o?u():l=!0})))),s&&s.next(t)}))),l&&(o.unsubscribe(),o=null,l=!1,u())};u()}))}},1552:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sample=void 0;var n=r(8666),i=r(3426),o=r(1067),a=r(6044);t.sample=function(e){return i.operate((function(t,r){var i=!1,s=null;t.subscribe(a.createOperatorSubscriber(r,(function(e){i=!0,s=e}))),n.innerFrom(e).subscribe(a.createOperatorSubscriber(r,(function(){if(i){i=!1;var e=s;s=null,r.next(e)}}),o.noop))}))}},4605:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sampleTime=void 0;var n=r(2048),i=r(1552),o=r(9225);t.sampleTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),i.sample(o.interval(e,t))}},8947:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.scan=void 0;var n=r(3426),i=r(4469);t.scan=function(e,t){return n.operate(i.scanInternals(e,t,arguments.length>=2,!0))}},4469:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.scanInternals=void 0;var n=r(6044);t.scanInternals=function(e,t,r,i,o){return function(a,s){var l=r,u=t,c=0;a.subscribe(n.createOperatorSubscriber(s,(function(t){var r=c++;u=l?e(u,t,r):(l=!0,t),i&&s.next(u)}),o&&function(){l&&s.next(u),s.complete()}))}}},7323:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sequenceEqual=void 0;var n=r(3426),i=r(6044),o=r(8666);t.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),n.operate((function(r,n){var a={buffer:[],complete:!1},s={buffer:[],complete:!1},l=function(e){n.next(e),n.complete()},u=function(e,r){var o=i.createOperatorSubscriber(n,(function(n){var i=r.buffer,o=r.complete;0===i.length?o?l(!1):e.buffer.push(n):!t(n,i.shift())&&l(!1)}),(function(){e.complete=!0;var t=r.complete,n=r.buffer;t&&l(0===n.length),null==o||o.unsubscribe()}));return o};r.subscribe(u(a,s)),o.innerFrom(e).subscribe(u(s,a))}))}},6723:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.share=void 0;var o=r(8666),a=r(8270),s=r(3346),l=r(3426);function u(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];if(!0!==t){if(!1!==t){var l=new s.SafeSubscriber({next:function(){l.unsubscribe(),e()}});return o.innerFrom(t.apply(void 0,i([],n(r)))).subscribe(l)}}else e()}t.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new a.Subject}:t,n=e.resetOnError,i=void 0===n||n,c=e.resetOnComplete,d=void 0===c||c,p=e.resetOnRefCountZero,f=void 0===p||p;return function(e){var t,n,a,c=0,p=!1,h=!1,m=function(){null==n||n.unsubscribe(),n=void 0},y=function(){m(),t=a=void 0,p=h=!1},v=function(){var e=t;y(),null==e||e.unsubscribe()};return l.operate((function(e,l){c++,h||p||m();var g=a=null!=a?a:r();l.add((function(){0!=--c||h||p||(n=u(v,f))})),g.subscribe(l),!t&&c>0&&(t=new s.SafeSubscriber({next:function(e){return g.next(e)},error:function(e){h=!0,m(),n=u(y,i,e),g.error(e)},complete:function(){p=!0,m(),n=u(y,d),g.complete()}}),o.innerFrom(e).subscribe(t))}))(e)}}},2016:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.shareReplay=void 0;var n=r(4735),i=r(6723);t.shareReplay=function(e,t,r){var o,a,s,l,u=!1;return e&&"object"==typeof e?(o=e.bufferSize,l=void 0===o?1/0:o,a=e.windowTime,t=void 0===a?1/0:a,u=void 0!==(s=e.refCount)&&s,r=e.scheduler):l=null!=e?e:1/0,i.share({connector:function(){return new n.ReplaySubject(l,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})}},7630:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.single=void 0;var n=r(8898),i=r(1342),o=r(7060),a=r(3426),s=r(6044);t.single=function(e){return a.operate((function(t,r){var a,l=!1,u=!1,c=0;t.subscribe(s.createOperatorSubscriber(r,(function(n){u=!0,e&&!e(n,c++,t)||(l&&r.error(new i.SequenceError("Too many matching values")),l=!0,a=n)}),(function(){l?(r.next(a),r.complete()):r.error(u?new o.NotFoundError("No matching values"):new n.EmptyError)})))}))}},7585:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skip=void 0;var n=r(3616);t.skip=function(e){return n.filter((function(t,r){return e<=r}))}},5917:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skipLast=void 0;var n=r(2609),i=r(3426),o=r(6044);t.skipLast=function(e){return e<=0?n.identity:i.operate((function(t,r){var n=new Array(e),i=0;return t.subscribe(o.createOperatorSubscriber(r,(function(t){var o=i++;if(o<e)n[o]=t;else{var a=o%e,s=n[a];n[a]=t,r.next(s)}}))),function(){n=null}}))}},5337:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skipUntil=void 0;var n=r(3426),i=r(6044),o=r(8666),a=r(1067);t.skipUntil=function(e){return n.operate((function(t,r){var n=!1,s=i.createOperatorSubscriber(r,(function(){null==s||s.unsubscribe(),n=!0}),a.noop);o.innerFrom(e).subscribe(s),t.subscribe(i.createOperatorSubscriber(r,(function(e){return n&&r.next(e)})))}))}},3072:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.skipWhile=void 0;var n=r(3426),i=r(6044);t.skipWhile=function(e){return n.operate((function(t,r){var n=!1,o=0;t.subscribe(i.createOperatorSubscriber(r,(function(t){return(n||(n=!e(t,o++)))&&r.next(t)})))}))}},6336:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.startWith=void 0;var n=r(5148),i=r(7178),o=r(3426);t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.popScheduler(e);return o.operate((function(t,i){(r?n.concat(e,t,r):n.concat(e,t)).subscribe(i)}))}},6597:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeOn=void 0;var n=r(3426);t.subscribeOn=function(e,t){return void 0===t&&(t=0),n.operate((function(r,n){n.add(e.schedule((function(){return r.subscribe(n)}),t))}))}},5747:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.switchAll=void 0;var n=r(5962),i=r(2609);t.switchAll=function(){return n.switchMap(i.identity)}},5962:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.switchMap=void 0;var n=r(8666),i=r(3426),o=r(6044);t.switchMap=function(e,t){return i.operate((function(r,i){var a=null,s=0,l=!1,u=function(){return l&&!a&&i.complete()};r.subscribe(o.createOperatorSubscriber(i,(function(r){null==a||a.unsubscribe();var l=0,c=s++;n.innerFrom(e(r,c)).subscribe(a=o.createOperatorSubscriber(i,(function(e){return i.next(t?t(r,e,c,l++):e)}),(function(){a=null,u()})))}),(function(){l=!0,u()})))}))}},7455:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.switchMapTo=void 0;var n=r(5962),i=r(4539);t.switchMapTo=function(e,t){return i.isFunction(t)?n.switchMap((function(){return e}),t):n.switchMap((function(){return e}))}},991:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.switchScan=void 0;var n=r(5962),i=r(3426);t.switchScan=function(e,t){return i.operate((function(r,i){var o=t;return n.switchMap((function(t,r){return e(o,t,r)}),(function(e,t){return o=t,t}))(r).subscribe(i),function(){o=null}}))}},109:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.take=void 0;var n=r(6603),i=r(3426),o=r(6044);t.take=function(e){return e<=0?function(){return n.EMPTY}:i.operate((function(t,r){var n=0;t.subscribe(o.createOperatorSubscriber(r,(function(t){++n<=e&&(r.next(t),e<=n&&r.complete())})))}))}},3449:function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.takeLast=void 0;var i=r(6603),o=r(3426),a=r(6044);t.takeLast=function(e){return e<=0?function(){return i.EMPTY}:o.operate((function(t,r){var i=[];t.subscribe(a.createOperatorSubscriber(r,(function(t){i.push(t),e<i.length&&i.shift()}),(function(){var e,t;try{for(var o=n(i),a=o.next();!a.done;a=o.next()){var s=a.value;r.next(s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}r.complete()}),void 0,(function(){i=null})))}))}},7149:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.takeUntil=void 0;var n=r(3426),i=r(6044),o=r(8666),a=r(1067);t.takeUntil=function(e){return n.operate((function(t,r){o.innerFrom(e).subscribe(i.createOperatorSubscriber(r,(function(){return r.complete()}),a.noop)),!r.closed&&t.subscribe(r)}))}},5964:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.takeWhile=void 0;var n=r(3426),i=r(6044);t.takeWhile=function(e,t){return void 0===t&&(t=!1),n.operate((function(r,n){var o=0;r.subscribe(i.createOperatorSubscriber(n,(function(r){var i=e(r,o++);(i||t)&&n.next(r),!i&&n.complete()})))}))}},4881:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tap=void 0;var n=r(4539),i=r(3426),o=r(6044),a=r(2609);t.tap=function(e,t,r){var s=n.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return s?i.operate((function(e,t){var r;null===(r=s.subscribe)||void 0===r||r.call(s);var n=!0;e.subscribe(o.createOperatorSubscriber(t,(function(e){var r;null===(r=s.next)||void 0===r||r.call(s,e),t.next(e)}),(function(){var e;n=!1,null===(e=s.complete)||void 0===e||e.call(s),t.complete()}),(function(e){var r;n=!1,null===(r=s.error)||void 0===r||r.call(s,e),t.error(e)}),(function(){var e,t;n&&(null===(e=s.unsubscribe)||void 0===e||e.call(s)),null===(t=s.finalize)||void 0===t||t.call(s)})))})):a.identity}},3450:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=void 0;var n=r(3426),i=r(6044),o=r(8666);t.throttle=function(e,t){return n.operate((function(r,n){var a=null!=t?t:{},s=a.leading,l=void 0===s||s,u=a.trailing,c=void 0!==u&&u,d=!1,p=null,f=null,h=!1,m=function(){null==f||f.unsubscribe(),f=null,c&&(g(),h&&n.complete())},y=function(){f=null,h&&n.complete()},v=function(t){return f=o.innerFrom(e(t)).subscribe(i.createOperatorSubscriber(n,m,y))},g=function(){if(d){d=!1;var e=p;p=null,n.next(e),!h&&v(e)}};r.subscribe(i.createOperatorSubscriber(n,(function(e){d=!0,p=e,(!f||f.closed)&&(l?g():v(e))}),(function(){h=!0,(!(c&&d&&f)||f.closed)&&n.complete()})))}))}},6959:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var n=r(2048),i=r(3450),o=r(7987);t.throttleTime=function(e,t,r){void 0===t&&(t=n.asyncScheduler);var a=o.timer(e,t);return i.throttle((function(){return a}),r)}},3085:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfEmpty=void 0;var n=r(8898),i=r(3426),o=r(6044);function a(){return new n.EmptyError}t.throwIfEmpty=function(e){return void 0===e&&(e=a),i.operate((function(t,r){var n=!1;t.subscribe(o.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){return n?r.complete():r.error(e())})))}))}},3682:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TimeInterval=t.timeInterval=void 0;var n=r(2048),i=r(3426),o=r(6044);t.timeInterval=function(e){return void 0===e&&(e=n.asyncScheduler),i.operate((function(t,r){var n=e.now();t.subscribe(o.createOperatorSubscriber(r,(function(t){var i=e.now(),o=i-n;n=i,r.next(new a(t,o))})))}))};var a=function(e,t){this.value=e,this.interval=t};t.TimeInterval=a},467:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var n=r(2048),i=r(9199),o=r(3426),a=r(8666),s=r(849),l=r(6044),u=r(2853);function c(e){throw new t.TimeoutError(e)}t.TimeoutError=s.createErrorClass((function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}})),t.timeout=function(e,t){var r=i.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,s=r.first,d=r.each,p=r.with,f=void 0===p?c:p,h=r.scheduler,m=void 0===h?null!=t?t:n.asyncScheduler:h,y=r.meta,v=void 0===y?null:y;if(null==s&&null==d)throw new TypeError("No timeout provided.");return o.operate((function(e,t){var r,n,i=null,o=0,c=function(e){n=u.executeSchedule(t,m,(function(){try{r.unsubscribe(),a.innerFrom(f({meta:v,lastValue:i,seen:o})).subscribe(t)}catch(e){t.error(e)}}),e)};r=e.subscribe(l.createOperatorSubscriber(t,(function(e){null==n||n.unsubscribe(),o++,t.next(i=e),d>0&&c(d)}),void 0,void 0,(function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),i=null}))),!o&&c(null!=s?"number"==typeof s?s:+s-m.now():d)}))}},6155:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutWith=void 0;var n=r(2048),i=r(9199),o=r(467);t.timeoutWith=function(e,t,r){var a,s,l;if(r=null!=r?r:n.async,i.isValidDate(e)?a=e:"number"==typeof e&&(s=e),!t)throw new TypeError("No observable provided to switch to");if(l=function(){return t},null==a&&null==s)throw new TypeError("No timeout provided.");return o.timeout({first:a,each:s,scheduler:r,with:l})}},5460:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.timestamp=void 0;var n=r(6757),i=r(3910);t.timestamp=function(e){return void 0===e&&(e=n.dateTimestampProvider),i.map((function(t){return{value:t,timestamp:e.now()}}))}},6558:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var n=r(8320),i=r(3426),o=function(e,t){return e.push(t),e};t.toArray=function(){return i.operate((function(e,t){n.reduce(o,[])(e).subscribe(t)}))}},9002:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.window=void 0;var n=r(8270),i=r(3426),o=r(6044),a=r(1067),s=r(8666);t.window=function(e){return i.operate((function(t,r){var i=new n.Subject;r.next(i.asObservable());var l=function(e){i.error(e),r.error(e)};return t.subscribe(o.createOperatorSubscriber(r,(function(e){return null==i?void 0:i.next(e)}),(function(){i.complete(),r.complete()}),l)),s.innerFrom(e).subscribe(o.createOperatorSubscriber(r,(function(){i.complete(),r.next(i=new n.Subject)}),a.noop,l)),function(){null==i||i.unsubscribe(),i=null}}))}},7471:function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowCount=void 0;var i=r(8270),o=r(3426),a=r(6044);t.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return o.operate((function(t,o){var s=[new i.Subject],l=0;o.next(s[0].asObservable()),t.subscribe(a.createOperatorSubscriber(o,(function(t){var a,u;try{for(var c=n(s),d=c.next();!d.done;d=c.next())d.value.next(t)}catch(e){a={error:e}}finally{try{d&&!d.done&&(u=c.return)&&u.call(c)}finally{if(a)throw a.error}}var p=l-e+1;if(p>=0&&p%r==0&&s.shift().complete(),++l%r==0){var f=new i.Subject;s.push(f),o.next(f.asObservable())}}),(function(){for(;s.length>0;)s.shift().complete();o.complete()}),(function(e){for(;s.length>0;)s.shift().error(e);o.error(e)}),(function(){s=null})))}))}},2831:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.windowTime=void 0;var n=r(8270),i=r(2048),o=r(309),a=r(3426),s=r(6044),l=r(760),u=r(7178),c=r(2853);t.windowTime=function(e){for(var t,r,d=[],p=1;p<arguments.length;p++)d[p-1]=arguments[p];var f=null!==(t=u.popScheduler(d))&&void 0!==t?t:i.asyncScheduler,h=null!==(r=d[0])&&void 0!==r?r:null,m=d[1]||1/0;return a.operate((function(t,r){var i=[],a=!1,u=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),l.arrRemove(i,e),a&&d()},d=function(){if(i){var t=new o.Subscription;r.add(t);var a=new n.Subject,s={window:a,subs:t,seen:0};i.push(s),r.next(a.asObservable()),c.executeSchedule(t,f,(function(){return u(s)}),e)}};null!==h&&h>=0?c.executeSchedule(r,f,d,h,!0):a=!0,d();var p=function(e){return i.slice().forEach(e)},y=function(e){p((function(t){var r=t.window;return e(r)})),e(r),r.unsubscribe()};return t.subscribe(s.createOperatorSubscriber(r,(function(e){p((function(t){t.window.next(e),m<=++t.seen&&u(t)}))}),(function(){return y((function(e){return e.complete()}))}),(function(e){return y((function(t){return t.error(e)}))}))),function(){i=null}}))}},7898:function(e,t,r){var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowToggle=void 0;var i=r(8270),o=r(309),a=r(3426),s=r(8666),l=r(6044),u=r(1067),c=r(760);t.windowToggle=function(e,t){return a.operate((function(r,a){var d=[],p=function(e){for(;0<d.length;)d.shift().error(e);a.error(e)};s.innerFrom(e).subscribe(l.createOperatorSubscriber(a,(function(e){var r=new i.Subject;d.push(r);var n,f=new o.Subscription;try{n=s.innerFrom(t(e))}catch(e){return void p(e)}a.next(r.asObservable()),f.add(n.subscribe(l.createOperatorSubscriber(a,(function(){c.arrRemove(d,r),r.complete(),f.unsubscribe()}),u.noop,p)))}),u.noop)),r.subscribe(l.createOperatorSubscriber(a,(function(e){var t,r,i=d.slice();try{for(var o=n(i),a=o.next();!a.done;a=o.next())a.value.next(e)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}),(function(){for(;0<d.length;)d.shift().complete();a.complete()}),p,(function(){for(;0<d.length;)d.shift().unsubscribe()})))}))}},8294:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.windowWhen=void 0;var n=r(8270),i=r(3426),o=r(6044),a=r(8666);t.windowWhen=function(e){return i.operate((function(t,r){var i,s,l=function(e){i.error(e),r.error(e)},u=function(){var t;null==s||s.unsubscribe(),null==i||i.complete(),i=new n.Subject,r.next(i.asObservable());try{t=a.innerFrom(e())}catch(e){return void l(e)}t.subscribe(s=o.createOperatorSubscriber(r,u,u,l))};u(),t.subscribe(o.createOperatorSubscriber(r,(function(e){return i.next(e)}),(function(){i.complete(),r.complete()}),l,(function(){null==s||s.unsubscribe(),i=null})))}))}},53:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.withLatestFrom=void 0;var o=r(3426),a=r(6044),s=r(8666),l=r(2609),u=r(1067),c=r(7178);t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=c.popResultSelector(e);return o.operate((function(t,o){for(var c=e.length,d=new Array(c),p=e.map((function(){return!1})),f=!1,h=function(t){s.innerFrom(e[t]).subscribe(a.createOperatorSubscriber(o,(function(e){d[t]=e,f||p[t]||(p[t]=!0,(f=p.every(l.identity))&&(p=null))}),u.noop))},m=0;m<c;m++)h(m);t.subscribe(a.createOperatorSubscriber(o,(function(e){if(f){var t=i([e],n(d));o.next(r?r.apply(void 0,i([],n(t))):t)}})))}))}},2151:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var o=r(6017),a=r(3426);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.operate((function(t,r){o.zip.apply(void 0,i([t],n(e))).subscribe(r)}))}},568:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.zipAll=void 0;var n=r(6017),i=r(4221);t.zipAll=function(e){return i.joinAllInternals(n.zip,e)}},3807:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zipWith=void 0;var o=r(2151);t.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.zip.apply(void 0,i([],n(e)))}},3816:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleArray=void 0;var n=r(997);t.scheduleArray=function(e,t){return new n.Observable((function(r){var n=0;return t.schedule((function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())}))}))}},5175:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleAsyncIterable=void 0;var n=r(997),i=r(2853);t.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.Observable((function(r){i.executeSchedule(r,t,(function(){var n=e[Symbol.asyncIterator]();i.executeSchedule(r,t,(function(){n.next().then((function(e){e.done?r.complete():r.next(e.value)}))}),0,!0)}))}))}},6123:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleIterable=void 0;var n=r(997),i=r(5165),o=r(4539),a=r(2853);t.scheduleIterable=function(e,t){return new n.Observable((function(r){var n;return a.executeSchedule(r,t,(function(){n=e[i.iterator](),a.executeSchedule(r,t,(function(){var e,t,i;try{t=(e=n.next()).value,i=e.done}catch(e){return void r.error(e)}i?r.complete():r.next(t)}),0,!0)})),function(){return o.isFunction(null==n?void 0:n.return)&&n.return()}}))}},3136:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleObservable=void 0;var n=r(8666),i=r(7209),o=r(6597);t.scheduleObservable=function(e,t){return n.innerFrom(e).pipe(o.subscribeOn(t),i.observeOn(t))}},1952:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.schedulePromise=void 0;var n=r(8666),i=r(7209),o=r(6597);t.schedulePromise=function(e,t){return n.innerFrom(e).pipe(o.subscribeOn(t),i.observeOn(t))}},8646:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleReadableStreamLike=void 0;var n=r(5175),i=r(5016);t.scheduleReadableStreamLike=function(e,t){return n.scheduleAsyncIterable(i.readableStreamLikeToAsyncGenerator(e),t)}},3645:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.scheduled=void 0;var n=r(3136),i=r(1952),o=r(3816),a=r(6123),s=r(5175),l=r(2451),u=r(8854),c=r(8221),d=r(6457),p=r(8741),f=r(4691),h=r(5016),m=r(8646);t.scheduled=function(e,t){if(null!=e){if(l.isInteropObservable(e))return n.scheduleObservable(e,t);if(c.isArrayLike(e))return o.scheduleArray(e,t);if(u.isPromise(e))return i.schedulePromise(e,t);if(p.isAsyncIterable(e))return s.scheduleAsyncIterable(e,t);if(d.isIterable(e))return a.scheduleIterable(e,t);if(h.isReadableStreamLike(e))return m.scheduleReadableStreamLike(e,t)}throw f.createInvalidObservableTypeError(e)}},9504:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;var o=function(e){function t(t,r){return e.call(this)||this}return i(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(309).Subscription);t.Action=o},1983:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameAction=void 0;var o=r(5466),a=r(6276),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return i(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=a.animationFrameProvider.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){var i;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var o=t.actions;null!=r&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==r&&(a.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)},t}(o.AsyncAction);t.AnimationFrameAction=s},3972:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameScheduler=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(1343).AsyncScheduler);t.AnimationFrameScheduler=o},4589:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapAction=void 0;var o=r(5466),a=r(5848),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return i(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=a.immediateProvider.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){var i;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var o=t.actions;null!=r&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==r&&(a.immediateProvider.clearImmediate(r),t._scheduled===r&&(t._scheduled=void 0))},t}(o.AsyncAction);t.AsapAction=s},7046:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapScheduler=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(1343).AsyncScheduler);t.AsapScheduler=o},5466:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncAction=void 0;var o=r(9504),a=r(826),s=r(760),l=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return i(t,e),t.prototype.schedule=function(e,t){var r;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),a.intervalProvider.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&a.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,s.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(o.Action);t.AsyncAction=l},1343:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncScheduler=void 0;var o=r(7979),a=function(e){function t(t,r){void 0===r&&(r=o.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return i(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(o.Scheduler);t.AsyncScheduler=a},8601:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueAction=void 0;var o=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return i(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.flush(this),0)},t}(r(5466).AsyncAction);t.QueueAction=o},250:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueScheduler=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(1343).AsyncScheduler);t.QueueScheduler=o},6105:function(e,t,r){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.VirtualAction=t.VirtualTimeScheduler=void 0;var o=r(5466),a=r(309),s=function(e){function t(t,r){void 0===t&&(t=l),void 0===r&&(r=1/0);var n=e.call(this,t,(function(){return n.frame}))||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return i(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(r(1343).AsyncScheduler);t.VirtualTimeScheduler=s;var l=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var i=e.call(this,t,r)||this;return i.scheduler=t,i.work=r,i.index=n,i.active=!0,i.index=t.index=n,i}return i(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(r,n)}return a.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var i=e.actions;return i.push(this),i.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(e,t,r){void 0===r&&(r=0)},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(o.AsyncAction);t.VirtualAction=l},4941:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrame=t.animationFrameScheduler=void 0;var n=r(1983),i=r(3972);t.animationFrameScheduler=new i.AnimationFrameScheduler(n.AnimationFrameAction),t.animationFrame=t.animationFrameScheduler},6276:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrameProvider=void 0;var o=r(309);t.animationFrameProvider={schedule:function(e){var r=requestAnimationFrame,n=cancelAnimationFrame,i=t.animationFrameProvider.delegate;i&&(r=i.requestAnimationFrame,n=i.cancelAnimationFrame);var a=r((function(t){n=void 0,e(t)}));return new o.Subscription((function(){return null==n?void 0:n(a)}))},requestAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=t.animationFrameProvider.delegate;return((null==o?void 0:o.requestAnimationFrame)||requestAnimationFrame).apply(void 0,i([],n(e)))},cancelAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=t.animationFrameProvider.delegate;return((null==o?void 0:o.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,i([],n(e)))},delegate:void 0}},1335:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.asap=t.asapScheduler=void 0;var n=r(4589),i=r(7046);t.asapScheduler=new i.AsapScheduler(n.AsapAction),t.asap=t.asapScheduler},2048:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var n=r(5466),i=r(1343);t.asyncScheduler=new i.AsyncScheduler(n.AsyncAction),t.async=t.asyncScheduler},6757:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},5848:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.immediateProvider=void 0;var o=r(5698),a=o.Immediate.setImmediate,s=o.Immediate.clearImmediate;t.immediateProvider={setImmediate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=t.immediateProvider.delegate;return((null==o?void 0:o.setImmediate)||a).apply(void 0,i([],n(e)))},clearImmediate:function(e){var r=t.immediateProvider.delegate;return((null==r?void 0:r.clearImmediate)||s)(e)},delegate:void 0}},826:function(e,t){var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.intervalProvider=void 0,t.intervalProvider={setInterval:function(e,i){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var s=t.intervalProvider.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,n([e,i],r(o))):setInterval.apply(void 0,n([e,i],r(o)))},clearInterval:function(e){var r=t.intervalProvider.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0}},281:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.performanceTimestampProvider=void 0,t.performanceTimestampProvider={now:function(){return(t.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},3099:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.queue=t.queueScheduler=void 0;var n=r(8601),i=r(250);t.queueScheduler=new i.QueueScheduler(n.QueueAction),t.queue=t.queueScheduler},1578:function(e,t){var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutProvider=void 0,t.timeoutProvider={setTimeout:function(e,i){for(var o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];var s=t.timeoutProvider.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,n([e,i],r(o))):setTimeout.apply(void 0,n([e,i],r(o)))},clearTimeout:function(e){var r=t.timeoutProvider.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0}},5165:(e,t)=>{function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.getSymbolIterator=void 0,t.getSymbolIterator=r,t.iterator=r()},4466:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0,t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},1035:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},3434:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentOutOfRangeError=void 0;var n=r(849);t.ArgumentOutOfRangeError=n.createErrorClass((function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}}))},8898:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyError=void 0;var n=r(849);t.EmptyError=n.createErrorClass((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}))},5698:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TestTools=t.Immediate=void 0;var r,n=1,i={};function o(e){return e in i&&(delete i[e],!0)}t.Immediate={setImmediate:function(e){var t=n++;return i[t]=!0,r||(r=Promise.resolve()),r.then((function(){return o(t)&&e()})),t},clearImmediate:function(e){o(e)}},t.TestTools={pending:function(){return Object.keys(i).length}}},7060:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundError=void 0;var n=r(849);t.NotFoundError=n.createErrorClass((function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}}))},9737:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUnsubscribedError=void 0;var n=r(849);t.ObjectUnsubscribedError=n.createErrorClass((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}))},1342:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SequenceError=void 0;var n=r(849);t.SequenceError=n.createErrorClass((function(e){return function(t){e(this),this.name="SequenceError",this.message=t}}))},6251:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscriptionError=void 0;var n=r(849);t.UnsubscriptionError=n.createErrorClass((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}))},7178:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.popNumber=t.popScheduler=t.popResultSelector=void 0;var n=r(4539),i=r(3810);function o(e){return e[e.length-1]}t.popResultSelector=function(e){return n.isFunction(o(e))?e.pop():void 0},t.popScheduler=function(e){return i.isScheduler(o(e))?e.pop():void 0},t.popNumber=function(e,t){return"number"==typeof o(e)?e.pop():t}},6965:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.argsArgArrayOrObject=void 0;var r=Array.isArray,n=Object.getPrototypeOf,i=Object.prototype,o=Object.keys;t.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(r(t))return{args:t,keys:null};if((s=t)&&"object"==typeof s&&n(s)===i){var a=o(t);return{args:a.map((function(e){return t[e]})),keys:a}}}var s;return{args:e,keys:null}}},5266:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.argsOrArgArray=void 0;var r=Array.isArray;t.argsOrArgArray=function(e){return 1===e.length&&r(e[0])?e[0]:e}},760:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.arrRemove=void 0,t.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}},849:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createErrorClass=void 0,t.createErrorClass=function(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},3284:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createObject=void 0,t.createObject=function(e,t){return e.reduce((function(e,r,n){return e[r]=t[n],e}),{})}},9942:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.captureError=t.errorContext=void 0;var n=r(366),i=null;t.errorContext=function(e){if(n.config.useDeprecatedSynchronousErrorHandling){var t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){var r=i,o=r.errorThrown,a=r.error;if(i=null,o)throw a}}else e()},t.captureError=function(e){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},2853:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.executeSchedule=void 0,t.executeSchedule=function(e,t,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=t.schedule((function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()}),n);if(e.add(o),!i)return o}},2609:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0,t.identity=function(e){return e}},8221:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=void 0,t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},8741:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=void 0;var n=r(4539);t.isAsyncIterable=function(e){return Symbol.asyncIterator&&n.isFunction(null==e?void 0:e[Symbol.asyncIterator])}},9199:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isValidDate=void 0,t.isValidDate=function(e){return e instanceof Date&&!isNaN(e)}},4539:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},2451:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isInteropObservable=void 0;var n=r(4466),i=r(4539);t.isInteropObservable=function(e){return i.isFunction(e[n.observable])}},6457:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isIterable=void 0;var n=r(5165),i=r(4539);t.isIterable=function(e){return i.isFunction(null==e?void 0:e[n.iterator])}},5758:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isObservable=void 0;var n=r(997),i=r(4539);t.isObservable=function(e){return!!e&&(e instanceof n.Observable||i.isFunction(e.lift)&&i.isFunction(e.subscribe))}},8854:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0;var n=r(4539);t.isPromise=function(e){return n.isFunction(null==e?void 0:e.then)}},5016:function(e,t,r){var n=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},i=this&&this.__await||function(e){return this instanceof i?(this.v=e,this):new i(e)},o=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),a=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||l(e,t)}))})}function l(e,t){try{(r=o[e](t)).value instanceof i?Promise.resolve(r.value.v).then(u,c):d(a[0][2],r)}catch(e){d(a[0][3],e)}var r}function u(e){l("next",e)}function c(e){l("throw",e)}function d(e,t){e(t),a.shift(),a.length&&l(a[0][0],a[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.isReadableStreamLike=t.readableStreamLikeToAsyncGenerator=void 0;var a=r(4539);t.readableStreamLikeToAsyncGenerator=function(e){return o(this,arguments,(function(){var t,r,o;return n(this,(function(n){switch(n.label){case 0:t=e.getReader(),n.label=1;case 1:n.trys.push([1,,9,10]),n.label=2;case 2:return[4,i(t.read())];case 3:return r=n.sent(),o=r.value,r.done?[4,i(void 0)]:[3,5];case 4:return[2,n.sent()];case 5:return[4,i(o)];case 6:return[4,n.sent()];case 7:return n.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))},t.isReadableStreamLike=function(e){return a.isFunction(null==e?void 0:e.getReader)}},3810:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isScheduler=void 0;var n=r(4539);t.isScheduler=function(e){return e&&n.isFunction(e.schedule)}},3426:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.operate=t.hasLift=void 0;var n=r(4539);function i(e){return n.isFunction(null==e?void 0:e.lift)}t.hasLift=i,t.operate=function(e){return function(t){if(i(t))return t.lift((function(t){try{return e(t,this)}catch(e){this.error(e)}}));throw new TypeError("Unable to lift unknown Observable type")}}},4854:function(e,t,r){var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mapOneOrManyArgs=void 0;var o=r(3910),a=Array.isArray;t.mapOneOrManyArgs=function(e){return o.map((function(t){return function(e,t){return a(t)?e.apply(void 0,i([],n(t))):e(t)}(e,t)}))}},1067:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},8582:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.not=void 0,t.not=function(e,t){return function(r,n){return!e.call(t,r,n)}}},175:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.pipeFromArray=t.pipe=void 0;var n=r(2609);function i(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)},t.pipeFromArray=i},506:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.reportUnhandledError=void 0;var n=r(366),i=r(1578);t.reportUnhandledError=function(e){i.timeoutProvider.setTimeout((function(){var t=n.config.onUnhandledError;if(!t)throw e;t(e)}))}},4691:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createInvalidObservableTypeError=void 0,t.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},3664:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=t.merge=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.concat=t.combineLatestWith=t.combineLatest=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=void 0,t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=t.switchMapTo=t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.race=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.partition=t.pairwise=t.onErrorResumeNext=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=void 0,t.zipWith=t.zipAll=t.zip=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=void 0;var n=r(4867);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return n.audit}});var i=r(4790);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return i.auditTime}});var o=r(7036);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return o.buffer}});var a=r(4153);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return a.bufferCount}});var s=r(9073);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return s.bufferTime}});var l=r(5032);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return l.bufferToggle}});var u=r(4256);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return u.bufferWhen}});var c=r(7129);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return c.catchError}});var d=r(6070);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return d.combineAll}});var p=r(595);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return p.combineLatestAll}});var f=r(4694);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return f.combineLatest}});var h=r(770);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return h.combineLatestWith}});var m=r(2986);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return m.concat}});var y=r(9311);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return y.concatAll}});var v=r(6478);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return v.concatMap}});var g=r(7603);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return g.concatMapTo}});var b=r(8198);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return b.concatWith}});var C=r(1038);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return C.connect}});var E=r(3735);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return E.count}});var _=r(33);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return _.debounce}});var T=r(4052);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return T.debounceTime}});var x=r(5585);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return x.defaultIfEmpty}});var S=r(6931);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return S.delay}});var O=r(1051);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return O.delayWhen}});var w=r(248);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return w.dematerialize}});var A=r(2954);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return A.distinct}});var N=r(9586);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return N.distinctUntilChanged}});var P=r(9590);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return P.distinctUntilKeyChanged}});var I=r(3969);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return I.elementAt}});var R=r(3181);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return R.endWith}});var L=r(7495);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return L.every}});var k=r(802);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return k.exhaust}});var M=r(3719);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return M.exhaustAll}});var D=r(5990);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return D.exhaustMap}});var U=r(7190);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return U.expand}});var j=r(3616);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return j.filter}});var F=r(6344);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return F.finalize}});var B=r(665);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return B.find}});var z=r(2773);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return z.findIndex}});var H=r(5350);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return H.first}});var q=r(7342);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return q.groupBy}});var V=r(3329);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return V.ignoreElements}});var G=r(7077);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return G.isEmpty}});var W=r(3086);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return W.last}});var $=r(3910);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return $.map}});var Y=r(6203);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return Y.mapTo}});var K=r(9569);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return K.materialize}});var Z=r(6366);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return Z.max}});var X=r(6864);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return X.merge}});var Q=r(6593);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return Q.mergeAll}});var J=r(4343);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return J.flatMap}});var ee=r(7600);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return ee.mergeMap}});var te=r(2993);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return te.mergeMapTo}});var re=r(8469);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return re.mergeScan}});var ne=r(5768);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return ne.mergeWith}});var ie=r(1936);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return ie.min}});var oe=r(8886);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return oe.multicast}});var ae=r(7209);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return ae.observeOn}});var se=r(3975);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return se.onErrorResumeNext}});var le=r(3838);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return le.pairwise}});var ue=r(9374);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return ue.partition}});var ce=r(6921);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return ce.pluck}});var de=r(7072);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return de.publish}});var pe=r(3297);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return pe.publishBehavior}});var fe=r(9187);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return fe.publishLast}});var he=r(464);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return he.publishReplay}});var me=r(3523);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return me.race}});var ye=r(9627);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return ye.raceWith}});var ve=r(8320);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return ve.reduce}});var ge=r(7257);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return ge.repeat}});var be=r(2625);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return be.repeatWhen}});var Ce=r(2542);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return Ce.retry}});var Ee=r(7970);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return Ee.retryWhen}});var _e=r(1278);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return _e.refCount}});var Te=r(1552);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Te.sample}});var xe=r(4605);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return xe.sampleTime}});var Se=r(8947);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return Se.scan}});var Oe=r(7323);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Oe.sequenceEqual}});var we=r(6723);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return we.share}});var Ae=r(2016);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return Ae.shareReplay}});var Ne=r(7630);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return Ne.single}});var Pe=r(7585);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return Pe.skip}});var Ie=r(5917);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return Ie.skipLast}});var Re=r(5337);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Re.skipUntil}});var Le=r(3072);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Le.skipWhile}});var ke=r(6336);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return ke.startWith}});var Me=r(6597);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return Me.subscribeOn}});var De=r(5747);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return De.switchAll}});var Ue=r(5962);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return Ue.switchMap}});var je=r(7455);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return je.switchMapTo}});var Fe=r(991);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return Fe.switchScan}});var Be=r(109);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return Be.take}});var ze=r(3449);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return ze.takeLast}});var He=r(7149);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return He.takeUntil}});var qe=r(5964);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return qe.takeWhile}});var Ve=r(4881);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return Ve.tap}});var Ge=r(3450);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return Ge.throttle}});var We=r(6959);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return We.throttleTime}});var $e=r(3085);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return $e.throwIfEmpty}});var Ye=r(3682);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Ye.timeInterval}});var Ke=r(467);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Ke.timeout}});var Ze=r(6155);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Ze.timeoutWith}});var Xe=r(5460);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return Xe.timestamp}});var Qe=r(6558);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return Qe.toArray}});var Je=r(9002);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return Je.window}});var et=r(7471);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return et.windowCount}});var tt=r(2831);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return tt.windowTime}});var rt=r(7898);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return rt.windowToggle}});var nt=r(8294);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return nt.windowWhen}});var it=r(53);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return it.withLatestFrom}});var ot=r(2151);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return ot.zip}});var at=r(568);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return at.zipAll}});var st=r(3807);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return st.zipWith}})},8724:(e,t,r)=>{(t=r(6314)(!1)).push([e.id,'.webex-meetings-widget {\n max-width: 100%;\n min-width: 18.5rem;\n\n display: flex;\n flex-direction: column;\n align-items: stretch;\n\n color: var(--wxc-text-color);\n}\n\n.webex-meetings-widget__content {\n flex: 1;\n min-height: 0;\n}\n\n.wxc-meeting-control-bar .wxc-meeting-control-bar__controls--control-refs[aria-hidden="true"] {\n visibility: hidden;\n}',""]),e.exports=t},6314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r,n,i,o=e[1]||"",a=e[3];if(!a)return o;if(t&&"function"==typeof btoa){var s=(r=a,n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),"/*# ".concat(i," */")),l=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[o].concat(l).concat([s]).join("\n")}return[o].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&i[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},647:(e,t,r)=>{var n=r(5072),i=r(8724);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},5072:(e,t,r)=>{var n,i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),o=[];function a(e){for(var t=-1,r=0;r<o.length;r++)if(o[r].identifier===e){t=r;break}return t}function s(e,t){for(var r={},n=[],i=0;i<e.length;i++){var s=e[i],l=t.base?s[0]+t.base:s[0],u=r[l]||0,c="".concat(l," ").concat(u);r[l]=u+1;var d=a(c),p={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(o[d].references++,o[d].updater(p)):o.push({identifier:c,updater:m(p,t),references:1}),n.push(c)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,c=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,r,n){var i=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=c(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,r){var n=r.css,i=r.media,o=r.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f=null,h=0;function m(e,t){var r,n,i;if(t.singleton){var o=h++;r=f||(f=l(t)),n=d.bind(null,r,o,!1),i=d.bind(null,r,o,!0)}else r=l(t),n=p.bind(null,r,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n));var r=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var i=a(r[n]);o[i].references--}for(var l=s(e,t),u=0;u<r.length;u++){var c=a(r[u]);0===o[c].references&&(o[c].updater(),o.splice(c,1))}r=l}}}},1211:t=>{t.exports=e},1649:e=>{e.exports=t},7516:e=>{e.exports=r}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,exports:{}};return o[e].call(r.exports,r,r.exports,s),r.exports}s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0;var l={};function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.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)?u(e,t):void 0}}(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.")}()}function d(e){return d="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},d(e)}function p(e){var t=function(e){if("object"!=d(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}s.d(l,{y:()=>Ln});var y=s(1649),v=s(1211);const g=(b={default:()=>n.default},C={},s.d(C,b),C);var b,C,E=s(2371),_=function(e,t){return _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},_(e,t)};function T(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function x(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function S(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function w(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function A(e){return this instanceof A?(this.v=e,this):new A(e)}function N(e){return"function"==typeof e}function P(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var I=P((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function R(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var L=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=S(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(N(l))try{l()}catch(e){i=e instanceof I?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=S(u),d=c.next();!d.done;d=c.next()){var p=d.value;try{D(p)}catch(e){i=null!=i?i:[],e instanceof I?i=w(w([],O(i)),O(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(i)throw new I(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)D(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&R(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&R(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),k=L.EMPTY;function M(e){return e instanceof L||e&&"closed"in e&&N(e.remove)&&N(e.add)&&N(e.unsubscribe)}function D(e){N(e)?e():e.unsubscribe()}var U=null,j=null,F=void 0,B=!1,z=!1,H={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=H.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,w([e,t],O(r))):setTimeout.apply(void 0,w([e,t],O(r)))},clearTimeout:function(e){var t=H.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function q(e){H.setTimeout((function(){if(!U)throw e;U(e)}))}function V(){}var G=W("C",void 0,void 0);function W(e,t,r){return{kind:e,value:t,error:r}}var $=null;function Y(e){if(B){var t=!$;if(t&&($={errorThrown:!1,error:null}),e(),t){var r=$,n=r.errorThrown,i=r.error;if($=null,n)throw i}}else e()}var K=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,M(t)&&t.add(r)):r.destination=re,r}return T(t,e),t.create=function(e,t,r){return new J(e,t,r)},t.prototype.next=function(e){this.isStopped?te(function(e){return W("N",e,void 0)}(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?te(W("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?te(G,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(L),Z=Function.prototype.bind;function X(e,t){return Z.call(e,t)}var Q=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){ee(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){ee(e)}else ee(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){ee(e)}},e}(),J=function(e){function t(t,r,n){var i,o,a=e.call(this)||this;return N(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:a&&z?((o=Object.create(t)).unsubscribe=function(){return a.unsubscribe()},i={next:t.next&&X(t.next,o),error:t.error&&X(t.error,o),complete:t.complete&&X(t.complete,o)}):i=t,a.destination=new Q(i),a}return T(t,e),t}(K);function ee(e){var t;B?(t=e,B&&$&&($.errorThrown=!0,$.error=t)):q(e)}function te(e,t){var r=j;r&&H.setTimeout((function(){return r(e,t)}))}var re={closed:!0,next:V,error:function(e){throw e},complete:V},ne="function"==typeof Symbol&&Symbol.observable||"@@observable";function ie(e){return e}var oe=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,i=this,o=(n=e)&&n instanceof K||function(e){return e&&N(e.next)&&N(e.error)&&N(e.complete)}(n)&&M(n)?e:new J(e,t,r);return Y((function(){var e=i,t=e.operator,r=e.source;o.add(t?t.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=ae(t))((function(t,n){var i=new J({next:function(t){try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});r.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[ne]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===(r=e).length?ie:1===r.length?r[0]:function(e){return r.reduce((function(e,t){return t(e)}),e)})(this);var r},e.prototype.toPromise=function(e){var t=this;return new(e=ae(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function ae(e){var t;return null!==(t=null!=e?e:F)&&void 0!==t?t:Promise}function se(e,t){var r=N(e)?e:function(){return e},n=function(e){return e.error(r())};return new oe(t?function(e){return t.schedule(n,0,e)}:n)}var le=Array.isArray,ue=Object.getPrototypeOf,ce=Object.prototype,de=Object.keys;var pe=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function fe(e){return N(null==e?void 0:e.then)}function he(e){return N(e[ne])}function me(e){return Symbol.asyncIterator&&N(null==e?void 0:e[Symbol.asyncIterator])}function ye(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var ve="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function ge(e){return N(null==e?void 0:e[ve])}function be(e){return function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",(function(e){return function(t){return Promise.resolve(t).then(e,u)}})),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){i[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||s(e,t)}))},t&&(n[e]=t(n[e])))}function s(e,t){try{(r=i[e](t)).value instanceof A?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}var r}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}(this,arguments,(function(){var t,r,n;return x(this,(function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,A(t.read())];case 3:return r=i.sent(),n=r.value,r.done?[4,A(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,A(n)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))}function Ce(e){return N(null==e?void 0:e.getReader)}function Ee(e){if(e instanceof oe)return e;if(null!=e){if(he(e))return i=e,new oe((function(e){var t=i[ne]();if(N(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(pe(e))return n=e,new oe((function(e){for(var t=0;t<n.length&&!e.closed;t++)e.next(n[t]);e.complete()}));if(fe(e))return r=e,new oe((function(e){r.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,q)}));if(me(e))return _e(e);if(ge(e))return t=e,new oe((function(e){var r,n;try{for(var i=S(t),o=i.next();!o.done;o=i.next()){var a=o.value;if(e.next(a),e.closed)return}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}e.complete()}));if(Ce(e))return _e(be(e))}var t,r,n,i;throw ye(e)}function _e(e){return new oe((function(t){(function(e,t){var r,n,i,o,a,s,l,u;return a=this,s=void 0,u=function(){var a,s;return x(this,(function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),r=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=S(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}}(e),l.label=1;case 1:return[4,r.next()];case 2:if((n=l.sent()).done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),i={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),n&&!n.done&&(o=r.return)?[4,o.call(r)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))},new((l=void 0)||(l=Promise))((function(e,t){function r(e){try{i(u.next(e))}catch(e){t(e)}}function n(e){try{i(u.throw(e))}catch(e){t(e)}}function i(t){var i;t.done?e(t.value):(i=t.value,i instanceof l?i:new l((function(e){e(i)}))).then(r,n)}i((u=u.apply(a,s||[])).next())}))})(e,t).catch((function(e){return t.error(e)}))}))}function Te(e,t,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=t.schedule((function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()}),n);if(e.add(o),!i)return o}function xe(e){return N(null==e?void 0:e.lift)}function Se(e){return function(t){if(xe(t))return t.lift((function(t){try{return e(t,this)}catch(e){this.error(e)}}));throw new TypeError("Unable to lift unknown Observable type")}}function Oe(e,t,r,n,i){return new we(e,t,r,n,i)}var we=function(e){function t(t,r,n,i,o,a){var s=e.call(this,t)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return T(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(K);function Ae(e,t){return void 0===t&&(t=0),Se((function(r,n){r.subscribe(Oe(n,(function(r){return Te(n,e,(function(){return n.next(r)}),t)}),(function(){return Te(n,e,(function(){return n.complete()}),t)}),(function(r){return Te(n,e,(function(){return n.error(r)}),t)})))}))}function Ne(e,t){return void 0===t&&(t=0),Se((function(r,n){n.add(e.schedule((function(){return r.subscribe(n)}),t))}))}function Pe(e,t){if(!e)throw new Error("Iterable cannot be null");return new oe((function(r){Te(r,t,(function(){var n=e[Symbol.asyncIterator]();Te(r,t,(function(){n.next().then((function(e){e.done?r.complete():r.next(e.value)}))}),0,!0)}))}))}function Ie(e,t){return t?function(e,t){if(null!=e){if(he(e))return function(e,t){return Ee(e).pipe(Ne(t),Ae(t))}(e,t);if(pe(e))return function(e,t){return new oe((function(r){var n=0;return t.schedule((function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())}))}))}(e,t);if(fe(e))return function(e,t){return Ee(e).pipe(Ne(t),Ae(t))}(e,t);if(me(e))return Pe(e,t);if(ge(e))return function(e,t){return new oe((function(r){var n;return Te(r,t,(function(){n=e[ve](),Te(r,t,(function(){var e,t,i;try{t=(e=n.next()).value,i=e.done}catch(e){return void r.error(e)}i?r.complete():r.next(t)}),0,!0)})),function(){return N(null==n?void 0:n.return)&&n.return()}}))}(e,t);if(Ce(e))return function(e,t){return Pe(be(e),t)}(e,t)}throw ye(e)}(e,t):Ee(e)}function Re(e,t){return Se((function(r,n){var i=0;r.subscribe(Oe(n,(function(r){n.next(e.call(t,r,i++))})))}))}var Le=Array.isArray;function ke(e){return Re((function(t){return function(e,t){return Le(t)?e.apply(void 0,w([],O(t))):e(t)}(e,t)}))}function Me(e){return e[e.length-1]}function De(e){return(t=Me(e))&&N(t.schedule)?e.pop():void 0;var t}function Ue(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=De(e),n=function(e){return N(Me(e))?e.pop():void 0}(e),i=function(e){if(1===e.length){var t=e[0];if(le(t))return{args:t,keys:null};if((n=t)&&"object"==typeof n&&ue(n)===ce){var r=de(t);return{args:r.map((function(e){return t[e]})),keys:r}}}var n;return{args:e,keys:null}}(e),o=i.args,a=i.keys;if(0===o.length)return Ie([],r);var s=new oe(function(e,t,r){return void 0===r&&(r=ie),function(n){je(t,(function(){for(var i=e.length,o=new Array(i),a=i,s=i,l=function(i){je(t,(function(){var l=Ie(e[i],t),u=!1;l.subscribe(Oe(n,(function(e){o[i]=e,u||(u=!0,s--),s||n.next(r(o.slice()))}),(function(){--a||n.complete()})))}),n)},u=0;u<i;u++)l(u)}),n)}}(o,r,a?function(e){return function(e,t){return e.reduce((function(e,r,n){return e[r]=t[n],e}),{})}(a,e)}:ie));return n?s.pipe(ke(n)):s}function je(e,t,r){e?Te(r,e,t):t()}var Fe=P((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Be=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return T(t,e),t.prototype.lift=function(e){var t=new ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Fe},t.prototype.next=function(e){var t=this;Y((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=S(t.currentObservers),o=i.next();!o.done;o=i.next())o.value.next(e)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},t.prototype.error=function(e){var t=this;Y((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Y((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?k:(this.currentObservers=null,o.push(e),new L((function(){t.currentObservers=null,R(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,i=t.isStopped;r?e.error(n):i&&e.complete()},t.prototype.asObservable=function(){var e=new oe;return e.source=this,e},t.create=function(e,t){return new ze(e,t)},t}(oe),ze=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return T(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:k},t}(Be),He={now:function(){return(He.delegate||Date).now()},delegate:void 0},qe=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=He);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return T(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,a=r._timestampProvider,s=r._windowTime;n||(i.push(t),!o&&i.push(a.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var a=r.now(),s=0,l=1;l<n.length&&n[l]<=a;l+=2)s=l;s&&n.splice(0,s+1)}},t}(Be);function Ve(e){return new oe((function(t){Ee(e()).subscribe(t)}))}function Ge(e,t,r){return void 0===r&&(r=1/0),N(t)?Ge((function(r,n){return Re((function(e,i){return t(r,e,n,i)}))(Ee(e(r,n)))}),r):("number"==typeof t&&(r=t),Se((function(t,n){return function(e,t,r,n){var i=[],o=0,a=0,s=!1,l=function(){!s||i.length||o||t.complete()},u=function(e){return o<n?c(e):i.push(e)},c=function(e){o++;var s=!1;Ee(r(e,a++)).subscribe(Oe(t,(function(e){t.next(e)}),(function(){s=!0}),void 0,(function(){if(s)try{o--;for(;i.length&&o<n;)e=void 0,e=i.shift(),c(e);l()}catch(e){t.error(e)}var e})))};return e.subscribe(Oe(t,u,(function(){s=!0,l()}))),function(){}}(t,n,e,r)})))}var We=["addListener","removeListener"],$e=["addEventListener","removeEventListener"],Ye=["on","off"];function Ke(e,t,r,n){if(N(r)&&(n=r,r=void 0),n)return Ke(e,t,r).pipe(ke(n));var i=O(function(e){return N(e.addEventListener)&&N(e.removeEventListener)}(e)?$e.map((function(n){return function(i){return e[n](t,i,r)}})):function(e){return N(e.addListener)&&N(e.removeListener)}(e)?We.map(Ze(e,t)):function(e){return N(e.on)&&N(e.off)}(e)?Ye.map(Ze(e,t)):[],2),o=i[0],a=i[1];if(!o&&pe(e))return Ge((function(e){return Ke(e,t,r)}))(Ee(e));if(!o)throw new TypeError("Invalid event target");return new oe((function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return o(t),function(){return a(t)}}))}function Ze(e,t){return function(r){return function(n){return e[r](t,n)}}}function Xe(e){return void 0===e&&(e=1/0),Ge(ie,e)}function Qe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Xe(1)(Ie(e,De(e)))}function Je(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ie(e,De(e))}var et=new oe((function(e){return e.complete()}));function tt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=De(e),n=function(e){return"number"==typeof Me(e)?e.pop():1/0}(e),i=e;return i.length?1===i.length?Ee(i[0]):Xe(n)(Ie(i,r)):et}var rt=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return T(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(Be);const nt=(e=>{var t={};return s.d(t,e),t})({SDK_EVENT:()=>i.SDK_EVENT,constructHydraId:()=>i.constructHydraId,deconstructHydraId:()=>i.deconstructHydraId});function it(e,t){return N(t)?Ge(e,t,1):Ge(e,1)}function ot(e,t,r){var n=N(e)||t||r?{next:e,error:t,complete:r}:e;return n?Se((function(e,t){var r;null===(r=n.subscribe)||void 0===r||r.call(n);var i=!0;e.subscribe(Oe(t,(function(e){var r;null===(r=n.next)||void 0===r||r.call(n,e),t.next(e)}),(function(){var e;i=!1,null===(e=n.complete)||void 0===e||e.call(n),t.complete()}),(function(e){var r;i=!1,null===(r=n.error)||void 0===r||r.call(n,e),t.error(e)}),(function(){var e,t;i&&(null===(e=n.unsubscribe)||void 0===e||e.call(n)),null===(t=n.finalize)||void 0===t||t.call(n)})))})):ie}function at(e){return Se((function(t,r){var n,i=null,o=!1;i=t.subscribe(Oe(r,void 0,void 0,(function(a){n=Ee(e(a,at(e)(t))),i?(i.unsubscribe(),i=null,n.subscribe(r)):o=!0}))),o&&(i.unsubscribe(),i=null,n.subscribe(r))}))}function st(e,t){return Se((function(r,n){var i=0;r.subscribe(Oe(n,(function(r){return e.call(t,r,i++)&&n.next(r)})))}))}var lt=Ge;function ut(e){return Se((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))}function ct(){return Se((function(e,t){var r=null;e._refCount++;var n=Oe(t,void 0,void 0,void 0,(function(){if(!e||e._refCount<=0||0<--e._refCount)r=null;else{var n=e._connection,i=r;r=null,!n||i&&n!==i||n.unsubscribe(),t.unsubscribe()}}));e.subscribe(n),n.closed||(r=e.connect())}))}var dt=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,xe(t)&&(n.lift=t.lift),n}return T(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new L;var r=this.getSubject();t.add(this.source.subscribe(Oe(r,void 0,(function(){e._teardown(),r.complete()}),(function(t){e._teardown(),r.error(t)}),(function(){return e._teardown()})))),t.closed&&(this._connection=null,t=L.EMPTY)}return t},t.prototype.refCount=function(){return ct()(this)},t}(oe),pt={connector:function(){return new Be}};function ft(e,t,r,n){r&&!N(r)&&(n=r);var i=N(r)?r:void 0;return function(r){return function(e,t){var r=N(e)?e:function(){return e};return N(t)?function(e,t){void 0===t&&(t=pt);var r=t.connector;return Se((function(t,n){var i,o=r();Ee(e((i=o,new oe((function(e){return i.subscribe(e)}))))).subscribe(n),n.add(t.subscribe(o))}))}(t,{connector:r}):function(e){return new dt(e,r)}}(new qe(e,t,n),i)(r)}}function ht(e,t){return void 0===t&&(t=ie),e=null!=e?e:mt,Se((function(r,n){var i,o=!0;r.subscribe(Oe(n,(function(r){var a=t(r);!o&&e(i,a)||(o=!1,i=a,n.next(r))})))}))}function mt(e,t){return e===t}"undefined"==typeof MediaStream||MediaStream.prototype.getTracks||(MediaStream.prototype.getTracks=()=>[]);class yt{constructor(e){this.datasource=e}connect(){return Promise.reject(new Error("connect() must be defined in WebexAdapter"))}disconnect(){return Promise.reject(new Error("disconnect() must be defined in WebexAdapter"))}}class vt extends yt{getActivity(e){return se(new Error("getActivity(ID) must be defined in ActivitiesAdapter"))}}const gt="active",bt="inactive",Ct="disabled",Et="NOT_JOINED",_t="JOINED";class Tt extends yt{constructor(e){super(e),this.meetingControls={}}createMeeting(e){return se(new Error("createMeeting(destination) must be defined in MeetingsAdapter"))}incomingMeeting(e){return se(new Error("incomingMeeting(destination) must be defined in MeetingsAdapter"))}getMeeting(e){return se(new Error("getMeeting(ID) must be defined in MeetingsAdapter"))}joinMeeting(e){throw new Error("joinMeeting(ID) must be defined in MeetingsAdapter")}leaveMeeting(e){throw new Error("leaveMeeting(ID) must be defined in MeetingsAdapter")}supportedControls(){return se(new Error("supportedControls() must be defined in MeetingsAdapter"))}clearPasswordRequiredFlag(e){throw new Error("clearPasswordRequiredFlag(ID) must be defined in MeetingsAdapter")}clearInvalidPasswordFlag(e){throw new Error("clearInvalidPasswordFlag(ID) must be defined in MeetingsAdapter")}}class xt extends yt{getMembersFromDestination(e,t){return se(new Error("getMembersFromDestination(destinationID, destinationType) must be defined in MembershipsAdapter"))}addRoomMember(e,t){return se(new Error("addRoomMember(personID, roomID) must be defined in MembershipsAdapter"))}removeRoomMember(e,t){return se(new Error("removeRoomMember(personID, roomID) must be defined in MembershipsAdapter"))}}class St extends yt{getOrg(e){return se(new Error("getOrg(ID) must be defined in OrganizationsAdapter"))}}const Ot={ACTIVE:"active",BOT:"bot",CALL:"call",DO_NOT_DISTURB:"dnd",INACTIVE:"inactive",MEETING:"meeting",OUT_OF_OFFICE:"ooo",PRESENTING:"presenting",SELF:"self",TYPING:"typing"};class wt extends yt{getMe(){return se(new Error("getMe() must be defined in PeopleAdapter"))}getPerson(e){return se(new Error("getPerson(ID) must be defined in PeopleAdapter"))}searchPeople(e){return se(new Error("searchPeople(query) must be defined in PeopleAdapter"))}}class At extends yt{getRoom(e){return se(new Error("getRoom(ID) must be defined in RoomsAdapter"))}createRoom(e){return se(new Error("createRoom(room) must be defined in RoomsAdapter"))}getActivitiesInRealTime(e){return se(new Error("getActivitiesInRealTime(ID) must be defined in RoomsAdapter"))}getPastActivities(e){return se(new Error("getPastActivities(ID) must be defined in RoomsAdapter"))}hasMoreActivities(e){throw new Error("hasMoreActivities(ID) must be defined in RoomsAdapter")}}const Nt={BEHAVIORAL:"behavioral",BUSINESS:"business",OPERATIONAL:"operational"};class Pt extends yt{submitMetrics(e,t){return se(new Error("submitMetrics(metric, preLoginID) must be defined in MetricsAdapter"))}}var It=void 0!==s.g?s.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};It.setTimeout,It.clearTimeout;var Rt=It.performance||{};function Lt(e){return t=>new oe((r=>{let n,i;return i=t.subscribe((e=>{r.next(e),n=e}),(e=>r.error(e)),(()=>{i=e(n).subscribe((e=>r.next(e)),(e=>r.error(e)),(()=>r.complete()))})),()=>{i&&i.unsubscribe()}}))}function kt(...e){return Ue(e.map((e=>e.pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=De(e);return Se((function(t,n){(r?Qe(e,t,r):Qe(e,t)).subscribe(n)}))}(void 0)))))}function Mt(e,t){const r=e;for(const[e,n]of Object.entries(t||{}))n&&n.constructor===Object?Mt(r[e],n):r[e]=n}Rt.now||Rt.mozNow||Rt.msNow||Rt.oNow||Rt.webkitNow;const Dt=!!document.createElement("audio").setSinkId,Ut={error:1,warn:2,info:3,debug:4},jt=(()=>{const e=[];let t="error";const r=(r,...n)=>{if(Ut[r]<=Ut[t]){const t=new Date;for(const i of e)i(t,r,...n)}};return{addTransport:t=>{e.push(t)},setLevel:e=>{t=e},info:(...e)=>r("info",...e),warn:(...e)=>r("warn",...e),error:(...e)=>r("error",...e),debug:(...e)=>r("debug",...e)}})();jt.setLevel("error"),jt.addTransport(((e,t,r,n,i,o,a)=>{const s=[e.toISOString(),t,r,n,i,o];a&&s.push(a),console[t](...s)})),"undefined"!=typeof window&&(window.webexSDKAdapterSetLogLevel=e=>jt.setLevel(e));const Ft=new class{constructor(){this.store=new Map,jt.debug("CacheMeOutside",null,"init()",[])}set(e,t){return jt.debug("CacheMeOutside",null,"set()",[e]),this.store.set(e,t)}get(e){return jt.debug("CacheMeOutside",null,"get()",[e]),this.store.get(e)}has(e){return this.store.has(e)}remove(e){return this.store.delete(e)}values(){return this.store.values()}size(){return this.store.size}keys(){return this.store.keys()}cacheConversations(e){jt.debug("CacheMeOutside","cacheConversations()",e.length,[]),e.map((e=>this.set(e.id,e)))}cachActivities(e){jt.debug("CacheMeOutside","cachActivities()",e.length,[]),e.map((e=>this.set(e.id,e)))}cachSDKActivities(e){jt.debug("CacheMeOutside","cachSDKActivities()",e.length,[]),e.map((e=>this.set(e.id,e)))}};function Bt(e){let t=[];return e.object&&e.object.cards&&(t=e.object.cards.map((t=>{let r;try{r=JSON.parse(t)}catch(n){jt.warn("ACTIVITY",e.id,"parseSDKCards()",["Unable parse card",t],n),r={type:"AdaptiveCard",version:"1.0",body:[{type:"TextBlock",text:"This card could not be parsed."}]}}return r}))),t}function zt(e){return{displayHeader:!0,ID:e.id?(0,nt.constructHydraId)("MESSAGE",e.id):e.ID,roomID:e.target?(0,nt.constructHydraId)("ROOM",e.target.id):e.roomID,personID:e.actor?(0,nt.constructHydraId)("PEOPLE",e.actor.id):e.personID,text:e.object?e.object.content||e.object.displayName:e.text,cards:Bt(e),attachments:e.attachments||[],created:e.published?e.published:e.created}}class Ht extends vt{constructor(e){super(e),this.activityObservables={}}async fetchActivity(e){jt.debug("ACTIVITY","fetchActivity()",e);const{id:t}=(0,nt.deconstructHydraId)(e),r=`activities/${encodeURIComponent(t)}`;if(Ft.has(t))return Ft.get(t);const{body:n}=await this.datasource.request({service:"conversation",resource:r});return Ft.set(t,n),n}async fetchConversation(e){const{id:t}=(0,nt.deconstructHydraId)(e),r=`conversations/${encodeURIComponent(t)}`,{body:n}=await this.datasource.request({method:"GET",api:"conversation",resource:r});return n}getActivity(e){return jt.debug("ACTIVITY","getActivity()",e,[]),e in this.activityObservables||(this.activityObservables[e]=new qe,Ve((()=>this.fetchActivity(e))).pipe(Re(zt)).subscribe((t=>{jt.debug("ACTIVITY",e,"getActivity()",["emitting activity object",t]),this.activityObservables[e].next(t)}),(t=>{jt.error("ACTIVITY",e,"getActivity()","Error fetching activity",t),this.activityObservables[e].error(new Error(`Could not find activity with ID "${e}"`))}))),this.activityObservables[e]}postAction(e,t){return jt.debug("ACTION",void 0,"postAction()",["called with",{activityID:e,inputs:t}]),Ie(this.fetchActivity(e)).pipe(it((async e=>{const r=await this.datasource.internal.encryption.encryptText(e.encryptionKeyUrl,JSON.stringify(t));return this.datasource.internal.conversation.cardAction(e.target,{inputs:r},e)})),ot((e=>{jt.debug("ACTION",e.id,"postAction()",["emitting posted action",e])})),Re(zt),at((t=>{throw jt.error("ACTION",void 0,"postAction()",`Unable to create an action for activity with id "${e}"`,t),t})))}async encryptCards(e){jt.debug("ACTIVITY",e.ID,"encryptCards()",["called with",{activity:e}]);const t=await this.fetchConversation(e.roomID);return Promise.all(e.cards.map((e=>this.datasource.internal.encryption.encryptText(t.encryptionKeyUrl,JSON.stringify(e))))).catch((t=>{throw jt.error("ACTIVITY",e.ID,"encryptCards()","Unable to encrypt card",t),t}))}postActivity(e){return jt.debug("ACTIVITY",void 0,"postActivity()",["called with",{activity:e}]),Ve((async()=>{const{id:t,cluster:r="us"}=(0,nt.deconstructHydraId)(e.roomID),n=this.hasAdaptiveCards(e)?{cards:await this.encryptCards(e),displayName:e.text}:e.text;return this.datasource.internal.conversation.post({id:t,cluster:r},n)})).pipe(Re(zt),at((t=>{throw jt.error("ACTIVITY",void 0,"postActivity()",["Unable to post activity",e],t),t})))}hasAdaptiveCards(e){return e.cards.length>0}getAdaptiveCard(e,t){return e.cards[t]}}let qt=!1;function Vt(e){return{ID:e.id,title:e.title,type:e.type}}class Gt extends At{constructor(e){super(e),this.getRoomObservables={},this.getActivitiesInRealTimeCache={},this.listenerCount=0,this.activityLimit=50,this.activitiesObservableCache=new Map,this.roomActivities=new Map}async fetchRoom(e){const{id:t,title:r,type:n,lastActivity:i}=await this.datasource.rooms.get(e);return{ID:t,title:r,type:n,lastActivity:i}}startListeningToRoomUpdates(){0===this.listenerCount&&this.datasource.rooms.listen(),this.listenerCount+=1}stopListeningToRoomUpdates(){this.listenerCount-=1,this.listenerCount<=0&&this.datasource.rooms.stopListening()}getRoom(e){if(jt.debug("ROOM",e,"getRoom()",["called with",{ID:e}]),!(e in this.getRoomObservables)){this.startListeningToRoomUpdates();const t=Qe(Ie(this.fetchRoom(e)),Ke(this.datasource.rooms,"updated").pipe(st((t=>t.data.id===e)),lt((()=>Ie(this.fetchRoom(e)))))).pipe(ot((t=>jt.debug("ROOM",e,"getRoom()",["emitting room object",t]))),ut((()=>{this.stopListeningToRoomUpdates(),delete this.getRoomObservables[e]})));this.getRoomObservables[e]=t.pipe(ft(1),ct())}return this.getRoomObservables[e]}createRoom(e){return jt.debug("ROOM",void 0,"createRoom()",["called with",{room:e}]),Ve((()=>this.datasource.rooms.create(e))).pipe(Re(Vt),at((t=>{throw jt.error("ROOM",void 0,"createRoom()",["Unable to create room",{room:e}],t),t})))}async fetchActivities(e,t){const{activityLimit:r}=this,n=(0,nt.deconstructHydraId)(e).id;if(jt.debug("ROOM",e,"fetchActivities()",["called with",t,r]),!qt){const e=await this.datasource.internal.conversation.list();qt=!0,Ft.cacheConversations(e)}return this.datasource.internal.conversation.listActivities({conversationId:n,limit:r+1,lastActivityFirst:!0,maxDate:null===t?void 0:t})}hasMoreActivities(e){const t=this.activitiesObservableCache.get(e),{hasMore:r=!0}=this.roomActivities.get(e);return r?this.fetchPastActivities(e):t.complete(),r}fetchPastActivities(e){const t=this.roomActivities.get(e),{earliestActivityDate:r}=t,n=this.activitiesObservableCache.get(e);jt.debug("ROOM",e,"fetchPastActivities()",["called with",r]),e||(jt.error("ROOM",e,"fetchPastActivities()",["Must provide room ID"]),n.error(new Error("fetchPastActivities - Must provide room ID"))),Ie(this.fetchActivities(e,r)).subscribe((r=>{if(!r)return n.complete();Ft.cachActivities(r),t.hasMore=r.length>=this.activityLimit+1;const{published:i}=r.shift(),o=(a=r,a.sort(((e,t)=>new Date(t.published)-new Date(e.published)))).map((e=>{const r=zt(e);return t.activities.set(r.ID,r),r.ID}));var a;return t.earliestActivityDate=i,t.activityIds.set(i,o.length),this.roomActivities.set(e,t),n.next(o)}))}getPastActivities(e,t=50){this.activityLimit=t;const r=this.activitiesObservableCache.get(e)||new Be;return e?(this.roomActivities.has(e)||this.roomActivities.set(e,{earliestActivityDate:null,activities:new Map,activityIds:new Map}),this.activitiesObservableCache.set(e,r),r):(jt.error("ROOM",e,"getPastActivities()",["Must provide room ID"]),se(new Error("getPastActivities - Must provide room ID")))}getActivitiesInRealTime(e){if(jt.debug("ROOM",e,"getActivitiesInRealTime()",["called with",{ID:e}]),!e)return jt.error("ROOM",e,"getPastActivities()",["Must provide room ID"]),se(new Error("getPastActivities - Must provide room ID"));if(!(e in this.getActivitiesInRealTimeCache)){const t=new qe;this.datasource.internal.mercury.on("event:conversation.activity",(({data:r})=>{const{activity:n}=r,{id:i}=(0,nt.deconstructHydraId)(e);n.target&&n.target.id===i&&(jt.debug("ROOM",e,"getActivitiesInRealTime()",['received "event:conversation.activity" event',{activity:n}]),t.next(zt(n).ID),jt.info("ROOM",e,"getActivitiesInRealTime()",["emitting activity object",{activity:n}]))})),this.getActivitiesInRealTimeCache[e]=t}return this.getActivitiesInRealTimeCache[e]}}const Wt="event:apheleia.subscription_update";function $t(e){const t=Object.keys(Ot).find((t=>Ot[t]===e));return void 0===t?null:t}function Yt(e){const{items:t}=e;return t.map((e=>({ID:e.id,emails:e.emails,displayName:e.displayName,firstName:e.firstName,lastName:e.lastName,nickName:e.nickName,avatar:e.avatar,orgID:e.orgId,status:e.status})))}class Kt extends wt{constructor(e){super(e),this.getPersonObservables={}}async fetchPerson(e){const{id:t,emails:r,displayName:n,firstName:i,lastName:o,avatar:a,orgId:s}=await this.datasource.people.get(e);return jt.debug("PEOPLE",e,"fetchPerson()",["called with",{ID:e}]),{ID:t,emails:r,displayName:n,firstName:i,lastName:o,avatar:a,orgID:s}}getMe(){return jt.debug("PEOPLE",void 0,"getMe()","called"),Ve((()=>this.fetchPerson("me"))).pipe(lt((e=>Ve((()=>this.datasource.internal.presence.get([e.id]))).pipe(at((()=>Je({status:null}))),Re((({status:t})=>({...e,status:$t(t)})))))))}getPerson(e){if(jt.debug("PEOPLE",e,"getPerson()",["called with",{ID:e}]),!(e in this.getPersonObservables)){const t=(0,nt.deconstructHydraId)(e).id,r=Ve((()=>this.fetchPerson(e))),n=Ve((()=>this.datasource.internal.presence.subscribe(t))).pipe(Re((e=>e.responses[0].status.status)),at((()=>Je(null))),lt((e=>r.pipe(Re((t=>({...t,status:$t(e)}))))))),i=Ke(this.datasource.internal.mercury,Wt).pipe(ot((()=>{jt.debug("PEOPLE",e,"getPerson",["received",Wt,"event"])})),st((e=>e.data.subject===t)),Re((e=>$t(e.data.status)))),o=Qe(n,r.pipe(lt((e=>i.pipe(Re((t=>({...e,status:t})))))),ot((t=>{jt.debug("PEOPLE",e,"getPerson()",["person update",{person:t}])})))).pipe(ot((t=>{jt.debug("PEOPLE",e,"getPerson()",["emit initial person",{person:t}])})),ut((async()=>{try{jt.debug("PEOPLE",e,"getPerson()",["unsubscribing from internal service",{personUUID:t}]),await this.datasource.internal.presence.unsubscribe(t)}catch(e){jt.warn("Unsubscribing failed, user has presence turned off")}delete this.getPersonObservables[e]})));this.getPersonObservables[e]=o.pipe(ft(1),ct())}return this.getPersonObservables[e]}searchPeople(e){return jt.debug("PEOPLE",void 0,"searchPeople()",["called with",{query:e}]),Ve((()=>this.datasource.people.list({displayName:e}))).pipe(Re(Yt),ot((e=>jt.debug("PEOPLE",void 0,"searchPeople()",["emit persons list",e]))),at((e=>{throw jt.error("PEOPLE",void 0,"searchPeople()","error fetching person list",e),e})))}}class Zt{constructor(e,t){this.adapter=e,this.ID=t}}class Xt extends Zt{action(e){return jt.debug("MEETING",e,"AudioControl::action()",["called with",{meetingID:e}]),this.adapter.handleLocalAudio(e)}display(e){jt.debug("MEETING",e,"AudioControl::display()",["called with",{meetingID:e}]);const t={ID:this.ID,type:"BUTTON"},r={muted:{icon:"microphone-muted",tooltip:"Unmute audio",state:gt,text:"Unmute"},unmuted:{icon:"microphone",tooltip:"Mute audio",state:bt,text:"Mute"},muting:{icon:"microphone",tooltip:"Muting audio",state:Ct,text:"Muting..."},unmuting:{icon:"microphone-muted",tooltip:"Unmuting audio",state:Ct,text:"Unmuting..."},noMicrophone:{icon:"microphone-muted",tooltip:"No microphone available",state:Ct,text:"No microphone"}};return this.adapter.getMeeting(e).pipe(Re((({localAudio:{stream:e,muting:t},disabledLocalAudio:n})=>!0===t&&r.muting||!1===t&&r.unmuting||e&&r.unmuted||n&&r.muted||r.noMicrophone)),ht(),Re((e=>({...t,...e}))),ot((t=>jt.debug("MEETING",e,"AudioControl::display()",["emitting",t]))))}}class Qt extends Zt{async action(e){jt.debug("MEETING",e,"ExitControl::action()",["called with",{meetingID:e}]),await this.adapter.leaveMeeting(e)}display(e){return jt.debug("MEETING",e,"ExitControl::display()","called"),Je({ID:this.ID,type:"CANCEL",icon:"cancel",tooltip:"Leave meeting"}).pipe(ot((t=>jt.debug("MEETING",e,"ExitControl::display()",["emitting",t]))))}}class Jt extends Zt{async action(e){jt.debug("MEETING",e,"JoinControl::action()",["called with",{meetingID:e}]),await this.adapter.joinMeeting(e)}display(e){return jt.debug("MEETING",e,"JoinControl::display()",["called with",{meetingID:e}]),this.adapter.getMeeting(e).pipe(Re((e=>({hint:(e.localAudio.stream?"Unmuted, ":"Muted, ")+(e.localVideo.stream?"video on":"video off"),state:"NOT_JOINED"===e.state?gt:Ct}))),ht(((e,t)=>e.hint===t.hint&&e.state===t.state)),Re((({hint:e,state:t})=>({ID:this.ID,type:"JOIN",text:"Join meeting",tooltip:"Join meeting",hint:e,state:t}))),ot((t=>jt.debug("MEETING",e,"JoinControl::display()",["emitting",t]))))}}class er extends Zt{async action(e){jt.debug("MEETING",e,"RosterControl::action()",["called with",{meetingID:e}]),await this.adapter.toggleRoster(e)}display(e){jt.debug("MEETING",e,"RosterControl::display()",["called with",{meetingID:e}]);const t={ID:this.ID,type:"TOGGLE",state:gt,icon:"participant-list",text:"Hide participants",tooltip:"Hide participants panel"},r={ID:this.ID,type:"TOGGLE",state:bt,icon:"participant-list",text:"Show participants",tooltip:"Show participants panel"};return this.adapter.getMeeting(e).pipe(Re((({showRoster:e})=>e?t:r)),ht(),ot((t=>jt.debug("MEETING",e,"RosterControl::display()",["emitting",t]))))}}class tr extends Zt{action(e){jt.debug("Meeting",e,"SettingsControl::action()",["called with",{meetingID:e}]),this.adapter.toggleSettings(e)}display(e){jt.debug("MEETING",e,"SettingsControl::display()",["called with",{meetingID:e}]);const t={ID:this.ID,type:"BUTTON",state:gt,icon:"settings",text:"Settings",tooltip:"Meeting settings"},r={ID:this.ID,type:"BUTTON",state:bt,icon:"settings",text:"Settings",tooltip:"Meeting settings"};return this.adapter.getMeeting(e).pipe(Re((({showSettings:e})=>e?t:r)),ht(),ot((t=>jt.debug("Meeting",e,"SettingsControl::display()",["emitting",t]))))}}class rr extends Zt{async action(e){jt.debug("MEETING",e,"ShareControl::action()",["called with",{meetingID:e}]),await this.adapter.handleLocalShare(e)}display(e){jt.debug("MEETING",e,"ShareControl::display()",["called with",{meetingID:e}]);const t={ID:this.ID,type:"TOGGLE",state:bt,icon:"share-screen-presence-stroke",text:"Start sharing",tooltip:"Start sharing content"},r={ID:this.ID,type:"TOGGLE",state:gt,icon:"share-screen-presence-stroke",text:"Stop sharing",tooltip:"Stop sharing content"},n={ID:this.ID,type:"TOGGLE",state:Ct,icon:"share-screen-presence-stroke",text:"Start sharing",tooltip:"Share screen not supported"};return navigator.mediaDevices&&navigator.mediaDevices.getDisplayMedia?this.adapter.getMeeting(e).pipe(Re((({localShare:{stream:e}})=>e?r:t)),ht(),ot((t=>jt.debug("MEETING",e,"ShareControl::display()",["emitting",t])))):Je(n)}}class nr extends Zt{async action(e,t){jt.debug("MEETING",e,"SwitchCameraControl::action()",["called with",{meetingID:e}]),await this.adapter.switchCamera(e,t)}display(e){return jt.debug("MEETING",e,"SwitchCameraControl::display()",["called with",{meetingID:e}]),kt(this.adapter.getMeeting(e).pipe(Re((e=>e.cameraID)),ht()),this.adapter.getAvailableDevices(e,"videoinput").pipe(Re((e=>e.map((e=>({value:e.deviceId,label:e.label}))))))).pipe(Re((([e,t])=>({ID:this.ID,type:"MULTISELECT",tooltip:"Video Devices",noOptionsMessage:"No available cameras",options:t||null,selected:e||null,hint:'Use arrow keys to navigate between camera options and hit "Enter" to select.'}))),ot((t=>jt.debug("MEETING",e,"SwitchCameraControl::display()",["emitting",t]))))}}class ir extends Zt{async action(e,t){jt.debug("MEETING",e,"SwitchMicrophoneControl::action()",["called with",{meetingID:e}]),await this.adapter.switchMicrophone(e,t)}display(e){return jt.debug("MEETING",e,"SwitchMicrophoneControl::display()",["called with",{meetingID:e}]),kt(this.adapter.getMeeting(e).pipe(Re((e=>e.microphoneID)),ht()),this.adapter.getAvailableDevices(e,"audioinput").pipe(Re((e=>e.map((e=>({value:e.deviceId,label:e.label}))))))).pipe(Re((([e,t])=>({ID:this.ID,type:"MULTISELECT",tooltip:"Audio Devices",noOptionsMessage:"No available microphones",options:t||null,selected:e||null,hint:'Use arrow keys to navigate between microphone options and hit "Enter" to select.'}))),ot((t=>jt.debug("MEETING",e,"SwitchMicrophoneControl::display()",["emitting",t]))))}}class or extends Zt{async action(e,t){jt.debug("MEETING",e,"SwitchSpeakerControl::action()",["called with",{meetingID:e}]),await this.adapter.switchSpeaker(e,t)}display(e){return jt.debug("MEETING",e,"SwitchSpeakerControl::display()",["called with",{meetingID:e}]),kt(this.adapter.getMeeting(e).pipe(Re((e=>e.speakerID)),ht()),this.adapter.getAvailableDevices(e,"audiooutput").pipe(Re((e=>e.map((e=>({value:e.deviceId,label:e.label}))))),Re((e=>[{value:"",label:"Browser Default"},...e])))).pipe(Re((([e,t])=>({ID:this.ID,type:"MULTISELECT",tooltip:Dt?"Speaker Devices":"The current browser does not support changing speakers",noOptionsMessage:"No available speakers",options:t||null,selected:e||null,hint:'Use arrow keys to navigate between speaker options and hit "Enter" to select.'}))),ot((t=>jt.debug("MEETING",e,"SwitchSpeakerControl::display()",["emitting",t]))))}}class ar extends Zt{action(e){return jt.debug("MEETING",e,"VideoControl::action()",["called with",{meetingID:e}]),this.adapter.handleLocalVideo(e)}display(e){jt.debug("MEETING",e,"VideoControl::display()",["called with",{meetingID:e}]);const t={ID:this.ID,type:"BUTTON"},r={muted:{icon:"camera-muted",tooltip:"Start video",state:gt,text:"Start video"},unmuted:{icon:"camera",tooltip:"Stop video",state:bt,text:"Stop video"},muting:{icon:"camera",tooltip:"Stopping video",state:Ct,text:"Stopping..."},unmuting:{icon:"camera-muted",tooltip:"Starting video",state:Ct,text:"Starting..."},noCamera:{icon:"camera-muted",tooltip:"No camera available",state:Ct,text:"No camera"}};return this.adapter.getMeeting(e).pipe(Re((({localVideo:{stream:e,muting:t,error:n},disabledLocalVideo:i})=>!0===t&&r.muting||!1===t&&r.unmuting||e&&r.unmuted||i&&r.muted||n&&{...r.noCamera,tooltip:n}||r.noCamera)),ht(),Re((e=>({...t,...e}))),ot((t=>jt.debug("MEETING",e,"VideoControl::display()",["emitting",t]))))}}const sr="media:ready",lr="media:stopped",ur="members:update",cr="meeting:stoppedSharingLocal",dr="meeting:startedSharingLocal",pr="meeting:startedSharingRemote",fr="meeting:stoppedSharingRemote",hr="adapter:meeting:updated",mr="adapter:camera:switch",yr="adapter:microphone:switch",vr="join-meeting",gr="leave-meeting",br="mute-audio",Cr="mute-video",Er="share-screen",_r="member-roster",Tr="settings",xr="switch-camera",Sr="switch-microphone",Or="switch-speaker",wr="local",Ar="localShare",Nr="remoteAudio",Pr="remoteVideo",Ir="remoteShare",Rr=[wr,Ar,Nr,Pr,Ir],Lr={receiveVideo:!0,receiveAudio:!0,receiveShare:!0,sendVideo:!0,sendAudio:!0,sendShare:!1},kr={Overlay:"ActivePresence",Grid:"Equal",Stack:"Prominent",Prominent:"OnePlusN",Focus:"Single"},Mr="undefined"!=typeof navigator&&navigator.userAgent.includes("iPhone OS 15_1");class Dr extends Tt{constructor(e){super(e),this.getMeetingObservables={},this.meetings={},this.meetingControls={[vr]:new Jt(this,vr),[br]:new Xt(this,br),[Cr]:new ar(this,Cr),[Er]:new rr(this,Er),[gr]:new Qt(this,gr),[_r]:new er(this,_r),[Tr]:new tr(this,Tr),[xr]:new nr(this,xr),[Or]:new or(this,Or),[Sr]:new ir(this,Sr)}}async connect(){await this.datasource.meetings.register(),await this.datasource.meetings.syncMeetings()}async disconnect(){await this.datasource.meetings.unregister()}getLocalMedia(e){jt.debug("MEETING",e,"getLocalMedia()",["called with",{ID:e}]);const{sendAudio:t,sendVideo:r}=Lr;return this.getStreamWithPermission(t,e,{sendAudio:!0}).pipe(Re((({permission:e,stream:t,ignore:r,deviceId:n})=>({localAudio:{stream:t,permission:e,ignoreMediaAccessPrompt:r},localVideo:{stream:null,permission:null},microphoneID:n}))),Lt((t=>(Mr?Je({stream:null,permission:"ERROR",error:"Video not supported on iOS 15.1"}):this.getStreamWithPermission(r,e,{sendVideo:!0})).pipe(Re((({permission:e,stream:r,ignore:n,deviceId:i})=>({...t,localVideo:{stream:r,permission:e,ignoreMediaAccessPrompt:n},cameraID:i})))))))}getStream(e,t,r){return jt.debug("MEETING",e,"getStream()",["called with",{ID:e,mediaDirection:t,audioVideo:r}]),new oe((async n=>{let i,o=!1;try{const a=this.fetchMeeting(e),s=()=>{o=!0,n.next({permission:"IGNORED",stream:null}),n.complete()};i=!0,setTimeout((()=>{i&&n.next({permission:"ASKING",stream:null,ignore:s})}),2e3);const[l]=await a.getMediaStreams(t,r),u=await navigator.mediaDevices.enumerateDevices(),[{label:c}]=l.getTracks(),d=u.find((e=>e.label===c)),p=d&&d.deviceId;i=!1;for(const e of l.getTracks())"video"!==e.kind||t.sendVideo||l.removeTrack(e),"audio"!==e.kind||t.sendAudio||l.removeTrack(e);o||(n.next({permission:"ALLOWED",stream:l,deviceId:p}),n.complete())}catch(t){if(i=!1,!o){let r;const i=t.error;jt.error("MEETING",e,"getStream()","Unable to retrieve local media stream",i||t),r=i instanceof DOMException?"NotAllowedError"===i.name?"Permission dismissed"===i.message?"DISMISSED":"Permission denied by system"===i.message?"DISABLED":"DENIED":"NotReadableError"===i.name?"DISABLED":"ERROR":"ERROR",n.next({permission:r,stream:null}),n.complete()}}}))}getStreamWithPermission(e,t,r,n){return jt.debug("MEETING",t,"getStreamWithPermission()",["called with these params",{condition:e,ID:t,mediaDirection:r,audioVideo:n}]),e?this.getStream(t,r,n):Je({permission:null,stream:null})}getAvailableDevices(e,t){jt.debug("MEETING",e,"getAvailableDevices()",["called with",{ID:e,type:t}]);const r=async()=>{let r=[];try{r=await this.fetchMeeting(e).getDevices(),r=r.filter((e=>!t||e.kind===t&&e.deviceId))}catch(t){jt.error("MEETING",e,"getAvailableDevices()","Unable to retrieve devices",t)}return r};return this.getMeeting(e).pipe(Re((e=>"videoinput"!==t&&"audioinput"!==t||"videoinput"===t&&"ALLOWED"===e.localVideo.permission||"audioinput"===t&&"ALLOWED"===e.localAudio.permission)),ht(),it((e=>Ie(e?r():[[]]))),ot((t=>jt.debug("MEETING",e,"getAvailabelDevices()",["emitting",t]))))}attachMedia(e,{type:t,stream:r}){jt.debug("MEETING",e,"attachMedia()",["called with",{ID:e,type:t,stream:r}]);const n={...this.meetings[e]},i=r instanceof MediaStream&&r.getAudioTracks()||[],o=r instanceof MediaStream&&r.getVideoTracks()||[];switch(t){case wr:this.meetings[e]={...n,localAudio:{...n.localAudio,stream:n.disabledLocalAudio||0===i.length?null:new MediaStream(i)},localVideo:{...n.localVideo,stream:n.disabledLocalVideo||0===o.length?null:new MediaStream(o)}};break;case Nr:this.meetings[e]={...n,remoteAudio:r};break;case Pr:this.meetings[e]={...n,remoteVideo:r};break;case Ar:this.meetings[e]={...n,localShare:{stream:r}};break;case Ir:this.meetings[e]={...n,remoteShareStream:r,remoteShare:n.remoteSharing?r:null};break;case pr:this.meetings[e]={...n,remoteShare:n.remoteShareStream||null,remoteSharing:!0};break;case fr:this.meetings[e]={...n,remoteShare:null,remoteSharing:!1}}}stopStream(e){jt.debug("MEETING",void 0,"stopStream()","called"),e&&e.getTracks&&e.getTracks().forEach((e=>e.stop()))}removeMedia(e){jt.debug("MEETING",e,"removeMedia()",["called with",{ID:e}]),this.meetings&&this.meetings[e]&&(this.stopStream(this.meetings[e].localAudio.stream),this.stopStream(this.meetings[e].localVideo.stream),this.stopStream(this.meetings[e].localShare.stream),this.stopStream(this.meetings[e].disabledLocalAudio),this.stopStream(this.meetings[e].disabledLocalVideo)),this.meetings[e]={...this.meetings[e],localAudio:{stream:null,permission:null},localVideo:{stream:null,permission:null},localShare:{stream:null},remoteAudio:null,remoteVideo:null,remoteShare:null,cameraID:null,microphoneID:null,speakerID:null,settings:{visible:!1,preview:{video:null,audio:null}}}}async fetchMeetingTitle(e){const{id:t,type:r}=(0,nt.deconstructHydraId)(e);let n=e;if("PEOPLE"===r){const{displayName:e}=await this.datasource.people.get(t);n=e}else if("ROOM"===r){const{title:t}=await this.datasource.rooms.get(e);n=t}else try{const t=await this.datasource.people.list({email:e});if(t.items){const{displayName:e}=t.items[0];n=e}}catch(e){}return n}createMeeting(e){return Ie(this.datasource.meetings.create(e)).pipe(Re((({id:e,meetingInfo:{meetingName:t},passwordStatus:r})=>({ID:e,title:t,localAudio:{stream:null,permission:null},localVideo:{stream:null,permission:null},localShare:{stream:null},passwordRequired:"REQUIRED"===r,remoteAudio:null,remoteVideo:null,remoteShare:null,requiredCaptcha:{},showRoster:null,settings:{visible:!1,preview:{audio:null,video:null}},state:Et,cameraID:null,microphoneID:null,speakerID:""}))),it((t=>t.title?Je(t):Ie(this.fetchMeetingTitle(e)).pipe(Re((e=>({...t,title:e}))))))).pipe(Lt((e=>this.getLocalMedia(e.ID).pipe(Re((t=>({...e,...t})))))),ot((e=>{const t=this.fetchMeeting(e.ID);this.meetings[e.ID]={...e,title:t.meetingInfo.topic||e.title},t.emit(hr,this.meetings[e.ID])})),at((t=>{throw jt.error("MEETING",e,"createMeeting()",`Unable to create a meeting with "${e}"`,t),t})))}fetchMeeting(e){return jt.debug("MEETING",e,"fetchMeeting()",["called with",{ID:e}]),this.datasource.meetings.getMeetingByType("id",e)}async joinMeeting(e,t={}){jt.debug("MEETING",e,"joinMeeting()",["called with",{ID:e,options:t}]);try{const r=this.fetchMeeting(e);if("REQUIRED"===r.passwordStatus){if(!t.password&&!t.hostKey)return void this.updateMeeting(e,(()=>({passwordRequired:!0})));const n=await r.verifyPassword(t.hostKey||t.password,t.captcha);n.isPasswordValid?(r.meetingInfo.topic&&this.updateMeeting(e,(()=>({title:r.meetingInfo.topic}))),jt.info("MEETING",e,"joinMeeting()","Password successfully verified")):this.updateMeeting(e,(()=>({failureReason:n.failureReason,invalidPassword:!0,...n.requiredCaptcha&&{requiredCaptcha:{captchaId:n.requiredCaptcha.captchaId,refreshURL:n.requiredCaptcha.refreshURL,verificationAudioURL:n.requiredCaptcha.verificationAudioURL,verificationImageURL:n.requiredCaptcha.verificationImageURL}}})))}r.meetingFiniteStateMachine.reset(),jt.debug("MEETING",e,"joinMeeting()",["calling sdkMeeting.join() with",{pin:t.password,moderator:!1,name:t.name}]),await r.join({pin:t.hostKey||t.password,moderator:!!t.hostKey,alias:t.name}),jt.info("MEETING",e,"JOIN","Joining meeting")}catch(r){r.joinIntentRequired?(jt.info("MEETING",e,"joinMeeting()","Meeting requires authentication"),this.updateMeeting(e,(()=>({passwordRequired:!0,invalidPassword:!!t.password,invalidHostKey:!!t.hostKey})))):jt.error("MEETING",e,"joinMeeting()","Unable to join",r)}}async leaveMeeting(e){jt.debug("MEETING",e,"leaveMeeting()",["called with",{ID:e}]);try{const t=this.fetchMeeting(e);this.removeMedia(e),jt.debug("MEETING",e,"leaveMeeting()","calling sdkMeeting.leave()"),await t.leave(),jt.info("MEETING",e,"LEAVE","Leaving meeting")}catch(t){jt.error("MEETING",e,"leaveMeeting()","Unable to leave",t)}}getLocalMediaState(e,t){return!0===e.muting&&{muting:!0}||!1===e.muting&&{unmuting:!0}||e.stream&&{unmuted:!0}||t&&{muted:!0}||{disabled:!0}}async handleLocalAudio(e){let t;jt.debug("MEETING",e,"handleLocalAudio()",["called with",{ID:e}]),await this.updateMeeting(e,(e=>{let r;if(t=this.getLocalMediaState(e.localAudio,e.disabledLocalAudio),t.disabled)throw new Error("Can't mute/unmute disabled audio");if(t.muting)throw new Error("Already muting audio");if(t.unmuting)throw new Error("Already unmuting audio");return t.unmuted?r={localAudio:{muting:!0}}:t.muted&&(r={localAudio:{muting:!1}}),r}));try{await this.updateMeeting(e,(async(r,n)=>{const i=!!r.remoteAudio;let o;return t.unmuted?(i&&(jt.debug("MEETING",e,"handleLocalAudio()","calling sdkMeeting.muteAudio()"),await n.muteAudio(),jt.info("MEETING",e,"MUTE","Audio muted")),o={disabledLocalAudio:r.localAudio.stream,localAudio:{stream:null,muting:void 0}}):t.muted&&(i&&(jt.debug("MEETING",e,"handleLocalAudio()","calling sdkMeeting.unmuteAudio()"),await n.unmuteAudio(),jt.info("MEETING",e,"UNMUTE","Unmute audio")),o={disabledLocalAudio:null,localAudio:{stream:r.disabledLocalAudio,muting:void 0}}),jt.debug("MEETING",e,"handleLocalAudio()",["meeting updated with localAudio",{updates:o}]),o}))}catch(t){jt.error("MEETING",e,"handleLocalAudio()","Unable to update local audio settings",t),this.updateMeeting(e,(()=>({localAudio:{muting:void 0}})))}}async handleLocalVideo(e){let t;jt.debug("MEETING",e,"handleLocalVideo()",["called with",{ID:e}]),await this.updateMeeting(e,(e=>{let r;if(t=this.getLocalMediaState(e.localVideo,e.disabledLocalVideo),t.disabled)throw new Error("Can't mute/unmute disabled video");if(t.muting)throw new Error("Already muting video");if(t.unmuting)throw new Error("Already unmuting video");return t.unmuted?r={localVideo:{muting:!0}}:t.muted&&(r={localVideo:{muting:!1}}),r}));try{await this.updateMeeting(e,(async(r,n)=>{const i=!!r.remoteVideo;let o;return t.unmuted?(i&&(jt.debug("MEETING",e,"handleLocalVideo()","calling sdkMeeting.muteVideo()"),await n.muteVideo(),jt.info("MEETING",e,"MUTE","Video muted")),o={disabledLocalVideo:r.localVideo.stream,localVideo:{stream:null,muting:void 0}}):t.muted&&(i&&(jt.debug("MEETING",e,"handleLocalVideo()","calling sdkMeeting.unmuteVideo()"),await n.unmuteVideo(),jt.info("MEETING",e,"UNMUTE","Unmute video")),o={disabledLocalVideo:null,localVideo:{stream:r.disabledLocalVideo,muting:void 0}}),jt.debug("MEETING",e,"handleLocalVideo()",["meeting updated with localVideo",{updates:o}]),o}))}catch(t){jt.error("MEETING",e,"handleLocalVideo()","Unable to update local video settings",t),this.updateMeeting(e,(()=>({localVideo:{muting:void 0}})))}}async handleLocalShare(e){jt.debug("MEETING",e,"handleLocalShare()",["called with",{ID:e}]),await this.updateMeeting(e,(async(t,r)=>{let n;const i=r=>{jt.warn("MEETING",e,"handleLocalShare()","Unable to update local share stream",r),this.stopStream(t.localShare.stream),n={localShare:{stream:null}},this.updateMeeting(e,(async()=>({localShare:{stream:null}})))};if(r.canUpdateMedia())if(t.localShare.stream)this.stopStream(t.localShare.stream),r.updateShare({sendShare:!1,receiveShare:!0}).catch(i),jt.info("MEETING",e,"UNSHARE","Stopping sharing"),n={localShare:{stream:null}};else{const[,t]=await r.getMediaStreams({sendShare:!0});r.updateShare({stream:t,sendShare:!0,receiveShare:!0}).catch(i),jt.info("MEETING",e,"SHARE","Starting sharing"),n={localShare:{stream:t}}}else jt.error("MEETING",e,"handleLocalShare()","Unable to update screen share due to unstable connection.");return jt.debug("MEETING",e,"handleLocalShare()",["meeting updated with localShare",{updates:n}]),n}))}toggleRoster(e){return jt.debug("MEETING",e,"toggleRoster()",["called with",{ID:e}]),jt.info("MEETING",e,"TOOGLE ROSTER","Opening meeting participants panel"),this.updateMeeting(e,(({showRoster:e})=>({showRoster:!e})))}async toggleSettings(e){jt.debug("MEETING",e,"toggleSettings()",["called with",{ID:e}]),await this.updateMeeting(e,(async(t,r)=>{let n;if(t.settings.visible)jt.info("MEETING",e,"TOOGLE SETTINGS","Closing settings modal"),this.stopStream(t.localVideo.stream),this.stopStream(t.localAudio.stream),n={settings:{visible:!1},localVideo:{stream:t.localVideo.stream&&t.settings.preview.video},disabledLocalVideo:t.disabledLocalVideo&&t.settings.preview.video,localAudio:{stream:t.localAudio.stream&&t.settings.preview.audio},disabledLocalAudio:t.disabledLocalAudio&&t.settings.preview.audio},t.state===_t&&(t.settings.preview.video&&await r.updateVideo({stream:t.settings.preview.video,receiveVideo:Lr.receiveVideo,sendVideo:Lr.sendVideo}),t.settings.preview.audio&&await r.updateAudio({stream:t.settings.preview.audio,receiveAudio:Lr.receiveAudio,sendAudio:Lr.sendAudio}));else{jt.info("MEETING",e,"TOOGLE SETTINGS","Opening settings modal");const r=t.localVideo.stream||t.disabledLocalVideo,i=t.localAudio.stream||t.disabledLocalAudio;n={settings:{visible:!0,preview:{video:r&&r.clone(),audio:i&&i.clone()}}}}return jt.debug("MEETING",e,"toggleSettings()",["meeting updated with toggleSettings",{updates:n}]),n}))}async switchCamera(e,t){jt.debug("MEETING",e,"switchCamera()",["called with",{ID:e,cameraID:t}]),jt.info("MEETING",e,"SWITCH CAMERA",`Switching current camera to camera with id "${t}"`),await this.updateMeeting(e,(async r=>{let n;this.stopStream(r.settings.preview.video);const{stream:i,permission:o,deviceId:a}=await this.getStream(e,{sendVideo:!0},{video:{deviceId:t}}).toPromise();if(!i)throw new Error(`Could not change camera, permission not granted: ${o}`);return n={settings:{preview:{video:i}},cameraID:a},jt.debug("MEETING",e,"switchCamera()",["meeting update with switchCamera",{updates:n}]),n}))}async switchMicrophone(e,t){jt.debug("MEETING",e,"switchMicrophone()",["called with",{ID:e,microphoneID:t}]),jt.info("MEETING",e,"SWITCH MICROPHONE",`Switching current microphone to microphone with id "${t}"`),await this.updateMeeting(e,(async r=>{let n;this.stopStream(r.settings.preview.audio);const{stream:i,permission:o,deviceId:a}=await this.getStream(e,{sendAudio:!0},{audio:{deviceId:t}}).toPromise();if(!i)throw new Error(`Could not change microphone, permission not granted: ${o}`);return n={settings:{preview:{audio:i}},microphoneID:a},jt.debug("MEETING",e,"switchMicrophone()",["meeting update with switchMicrophone",{updates:n}]),n}))}async changeLayout(e,t){const r=this.fetchMeeting(e);await r.changeVideoLayout(kr[t])}async switchSpeaker(e,t){return jt.debug("MEETING",e,"switchSpeaker()",["called with",{ID:e,speakerID:t}]),jt.info("MEETING",e,"SWITCH SPEAKER",`Switching current speaker to speaker with id "${t}"`),this.updateMeeting(e,(()=>({speakerID:t})))}ignoreVideoAccessPrompt(e){jt.debug("MEETING",e,"ignoreVideoAccessPrompt()",["called with",{ID:e}]);const t=this.meetings[e];t.localVideo.ignoreMediaAccessPrompt?(jt.info("MEETING",e,"PROCEED WITHOUT CAMERA","Allow to join the meeting without camera access"),t.localVideo.ignoreMediaAccessPrompt()):jt.error("MEETING",e,"ignoreVideoAccessPrompt()",`Can not ignore video prompt in current state: "${t.localVideo.permission}"`)}ignoreAudioAccessPrompt(e){jt.debug("MEETING",e,"ignoreAudioAccessPrompt()",["called with",{ID:e}]);const t=this.meetings[e];t.localAudio.ignoreMediaAccessPrompt?(jt.info("MEETING",e,"PROCEED WITHOUT MICROPHONE","Allow to join the meeting without microphone access"),t.localAudio.ignoreMediaAccessPrompt()):jt.error("MEETING",e,"ignoreAudioAccessPrompt()",`Can not ignore audio prompt in current state: "${t.localAudio.permission}"`)}async addMedia(e){jt.debug("MEETING",e,"addMedia()",["called with",{ID:e}]);const t=this.fetchMeeting(e),r=new MediaStream,n=this.meetings[e].localAudio.stream||this.meetings[e].disabledLocalAudio,i=this.meetings[e].localVideo.stream||this.meetings[e].disabledLocalVideo;n&&n.getAudioTracks().forEach((e=>r.addTrack(e))),i&&i.getVideoTracks().forEach((e=>r.addTrack(e))),jt.debug("MEETING",e,"addMedia()",["calling sdkMeeting.addMedia()",{localStream:r,mediaSettings:Lr}]),await t.addMedia({localStream:r,mediaSettings:Lr}),this.meetings[e].localAudio.stream||(jt.debug("MEETING",e,"addMedia()","calling sdkMeeting.muteAudio()"),await t.muteAudio()),this.meetings[e].localVideo.stream||(jt.debug("MEETING",e,"addMedia()","calling sdkMeeting.muteVideo()"),await t.muteVideo())}getMeeting(e){if(jt.debug("MEETING",e,"getMeeting()",["called with",{ID:e}]),!(e in this.getMeetingObservables)){const n=this.fetchMeeting(e),i=oe.create((t=>{n&&this.meetings[e]?(jt.debug("MEETING",e,"getMeeting()",["initial meeting object",this.meetings[e]]),t.next(this.meetings[e]),t.complete()):(jt.error("MEETING",e,"getMeeting()",`Could not find meeting with ID "${e}"`),t.error(new Error(`Could not find meeting with ID "${e}"`)))})),o=Ke(n,hr).pipe(ot((()=>jt.debug("MEETING",e,"getMeeting()",["received",hr,"event"]))),ot((t=>{this.meetings[e]=t}))),a=Ke(n,sr).pipe(ot((()=>{jt.debug("MEETING",e,"getMeeting()",["received",sr,"event"])})),st((e=>Rr.includes(e.type))),Re((t=>this.attachMedia(e,t)))),s=Ke(n,lr).pipe(ot((()=>{jt.debug("MEETING",e,"getMeeting()",["received",lr,"event"]),this.removeMedia(e)}))),l=Ke(n,pr).pipe(ot((()=>{jt.debug("MEETING",e,"getMeeting()",["received",pr,"event"]),this.attachMedia(e,{type:pr})}))),u=Ke(n,fr).pipe(ot((()=>{jt.debug("MEETING",e,"getMeeting()",["received",fr,"event"]),this.attachMedia(e,{type:fr})}))),c=Ke(n,cr).pipe(ot((()=>{jt.debug("MEETING",e,"getMeeting()",["received",cr,"event"]),this.stopStream(this.meetings[e].localShare.stream),this.meetings[e].localShare.stream=null}))),d=Ke(n,dr).pipe(ot((()=>{jt.debug("MEETING",e,"getMeeting()",["received",dr,"event"])}))),p=Ke(n,mr).pipe(ot((()=>{jt.debug("MEETING",e,"getMeeting()",["received",mr,"event"])}))),f=Ke(n,yr).pipe(ot((()=>{jt.debug("MEETING",e,"getMeeting()",["received",yr,"event"])}))),h=Qe(i,tt(o,a,s,c,l,u,Ke(n&&n.members,ur).pipe(Re((()=>{jt.debug("MEETING",e,"getMeeting()",["received",ur,"event"]);const t=n.joinedWith;return t&&t.state||Et})),ht(),ot((t=>{jt.debug("MEETING",e,"getMeeting()",["changing meeting state to",t]),this.meetings[e]={...this.meetings[e],state:t},t===_t&&this.addMedia(e).catch((t=>{jt.error("MEETING",e,"getMeeting()","Unable to add media",t)}))}))),p,f,d).pipe(Re((()=>this.meetings[e]))));this.getMeetingObservables[e]=h.pipe(ft(1),ct(),(t=e=>e.state&&"LEFT"!==e.state,void 0===(r=!0)&&(r=!1),Se((function(e,n){e.subscribe(Oe(n,(function(e){var i=t(e,0);(i||r)&&n.next(e),!i&&n.complete()})))}))),ot((()=>{jt.debug("MEETING",e,"getMeeting()",["emitting",this.meetings[e]])})))}var t,r;return this.getMeetingObservables[e]}async updateMeeting(e,t){jt.debug("MEETING",e,"updateMeeting()",["called with",{ID:e,updater:t}]);const r=this.fetchMeeting(e),n=this.meetings[e];if(!r||!n)throw new Error(`Could not find meeting with ID "${e}"`);Mt(n,await t(n,r)),jt.debug("MEETING",e,"updateMeeting()",["meeting updated with",hr,"event","meeting object",{meeting:n}]),r.emit(hr,n)}supportedControls(){return Object.keys(this.meetingControls)}getLayoutTypes(){return Object.keys(kr)}async clearPasswordRequiredFlag(e){jt.debug("MEETING",e,"clearPasswordRequiredFlag()",["called with",{ID:e}]),await this.updateMeeting(e,(async()=>({passwordRequired:!1})))}async clearInvalidPasswordFlag(e){jt.debug("MEETING",e,"clearInvalidPasswordFlag()",["called with",{ID:e}]),await this.updateMeeting(e,(async()=>({invalidPassword:!1})))}async clearInvalidHostKeyFlag(e){await this.updateMeeting(e,(async()=>({invalidHostKey:!1})))}async refreshCaptcha(e){jt.debug("MEETING",e,"refreshCaptcha()",["called with",{ID:e}]);const t=this.fetchMeeting(e);t.refreshCaptcha(),await this.updateMeeting(e,(()=>({requiredCaptcha:t.requiredCaptcha})))}}var Ur={},jr={exports:{}},Fr=jr.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=Fr);var Br={exports:{}},zr=Br.exports={version:"2.6.12"};"number"==typeof __e&&(__e=zr);var Hr={},qr=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Vr=qr,Gr=function(e){try{return!!e()}catch(e){return!0}},Wr=!Gr((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),$r=qr,Yr=jr.exports.document,Kr=$r(Yr)&&$r(Yr.createElement),Zr=!Wr&&!Gr((function(){return 7!=Object.defineProperty(Kr?Yr.createElement("div"):{},"a",{get:function(){return 7}}).a})),Xr=qr,Qr=function(e){if(!Vr(e))throw TypeError(e+" is not an object!");return e},Jr=Zr,en=Object.defineProperty;Hr.f=Wr?Object.defineProperty:function(e,t,r){if(Qr(e),t=function(e,t){if(!Xr(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!Xr(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!Xr(n=r.call(e)))return n;if(!t&&"function"==typeof(r=e.toString)&&!Xr(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")}(t,!0),Qr(r),Jr)try{return en(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};var tn=Hr,rn=Wr?function(e,t,r){return tn.f(e,t,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}(1,r))}:function(e,t,r){return e[t]=r,e},nn={}.hasOwnProperty,on=jr.exports,an=Br.exports,sn=function(e,t,r){if(function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!")}(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}},ln=rn,un=function(e,t){return nn.call(e,t)},cn="prototype",dn=function(e,t,r){var n,i,o,a=e&dn.F,s=e&dn.G,l=e&dn.S,u=e&dn.P,c=e&dn.B,d=e&dn.W,p=s?an:an[t]||(an[t]={}),f=p[cn],h=s?on:l?on[t]:(on[t]||{})[cn];for(n in s&&(r=t),r)(i=!a&&h&&void 0!==h[n])&&un(p,n)||(o=i?h[n]:r[n],p[n]=s&&"function"!=typeof h[n]?r[n]:c&&i?sn(o,on):d&&h[n]==o?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[cn]=e[cn],t}(o):u&&"function"==typeof o?sn(Function.call,o):o,u&&((p.virtual||(p.virtual={}))[n]=o,e&dn.R&&f&&!f[n]&&ln(f,n,o)))};dn.F=1,dn.G=2,dn.S=4,dn.P=8,dn.B=16,dn.W=32,dn.U=64,dn.R=128;var pn=dn;pn(pn.S+pn.F*!Wr,"Object",{defineProperty:Hr.f});var hn,mn,yn,vn,gn=Br.exports.Object;mn=hn=Ur,yn="__esModule",vn={value:!0},gn.defineProperty(mn,yn,vn),hn.hydraTypes=hn.deviceType=hn.SDK_EVENT=hn.INTERNAL_US_INTEGRATION_CLUSTER_NAME=hn.INTERNAL_US_CLUSTER_NAME=void 0,hn.SDK_EVENT={INTERNAL:{WEBEX_ACTIVITY:"event:conversation.activity",ACTIVITY_FIELD:{ACTOR:"actor",OBJECT:"object",TARGET:"target"},ACTIVITY_VERB:{ACKNOWLEDGE:"acknowledge",CARD_ACTION:"cardAction",CREATE:"create",POST:"post",SHARE:"share",DELETE:"delete",ADD:"add",LEAVE:"leave",ADD_MODERATOR:"assignModerator",REMOVE_MODERATOR:"unassignModerator",LOCK:"lock",UNLOCK:"unlock",HIDE:"hide",UPDATE:"update"},ACTIVITY_TAG:{HIDDEN:"HIDDEN",ONE_ON_ONE:"ONE_ON_ONE",LOCKED:"LOCKED"}},EXTERNAL:{EVENT_TYPE:{CREATED:"created",DELETED:"deleted",UPDATED:"updated",SEEN:"seen"},OWNER:{CREATOR:"creator",ORG:"org"},STATUS:{ACTIVE:"active",DISABLED:"disabled"},SPACE_TYPE:{DIRECT:"direct",GROUP:"group"},RESOURCE:{ATTACHMENT_ACTIONS:"attachmentActions",MEMBERSHIPS:"memberships",MESSAGES:"messages",ROOMS:"rooms"},ATTACHMENTS:{CARD_CONTENT_TYPE:"application/vnd.microsoft.card.adaptive"}}},hn.hydraTypes={ATTACHMENT_ACTION:"ATTACHMENT_ACTION",CONTENT:"CONTENT",MEMBERSHIP:"MEMBERSHIP",MESSAGE:"MESSAGE",ORGANIZATION:"ORGANIZATION",PEOPLE:"PEOPLE",ROOM:"ROOM",TEAM:"TEAM"},hn.deviceType={PROVISIONAL:"PROVISIONAL",WEB:"WEB"},hn.INTERNAL_US_CLUSTER_NAME="urn:TEAM:us-east-2_a",hn.INTERNAL_US_INTEGRATION_CLUSTER_NAME="urn:TEAM:us-east-1_int13";var bn="@webex/sdk-component-adapter",Cn="1.112.11";const En=["SDK-MEMBERSHIPS",`${bn}-${Cn}`];function _n(e,t){jt.debug(...En,"getMembers()",["called with",{sdkMembers:e,meeting:t}]);let r=Object.values(e||{});return r=function(e){return jt.debug(...En,"sortMeetingMembers()",["called with",{members:e}]),e.sort(((e,t)=>e.isSelf?-1:t.isSelf?1:e.name?t.name?e.name.localeCompare(t.name):-1:1))}(r),r.map((e=>({ID:e.participant&&e.participant.person&&(0,nt.constructHydraId)(Ur.hydraTypes.PEOPLE,e.participant.person.id),orgID:e.participant&&e.participant.person&&e.participant.person.orgId&&(0,nt.constructHydraId)(Ur.hydraTypes.ORGANIZATION,e.participant.person.orgId),inMeeting:e.isInMeeting,muted:e.isAudioMuted,sharing:e.isContentSharing,host:!!t.meetingInfo.isWebexScheduled&&e.isModerator,guest:e.isGuest})))}function Tn(e){return{ID:e.id,roomID:e.roomId,isModerator:e.isModerator,isMonitor:e.isMonitor,isRoomHidden:e.isRoomHidden,personDisplayName:e.personDisplayName,personEmail:e.personEmail,personID:e.personId,personOrgID:e.personOrgId,roomType:e.roomType,created:e.created}}class xn extends xt{constructor(e){super(e),jt.debug(...En,"constructor()","instantiating membership sdk adapter"),this.members$={},this.listenerCount=0}startListeningToMembershipsUpdates(){jt.debug(...En,"startListeningToMembershipsUpdates()","called"),0===this.listenerCount&&this.datasource.memberships.listen(),this.listenerCount+=1}stopListeningToMembershipsUpdates(){jt.debug(...En,"stopListeningToMembershipsUpdates()","called"),this.listenerCount-=1,this.listenerCount<=0&&this.datasource.memberships.stopListening()}getRoomMembers(e){jt.debug("MEMBERSHIP",`room-${e}`,"getRoomMembers()",["called with",{roomID:e}]),this.startListeningToMembershipsUpdates();const t=e=>({ID:(0,nt.deconstructHydraId)(e.personId).id,orgID:(0,nt.deconstructHydraId)(e.personOrgId).id,muted:null,sharing:null,inMeeting:null,host:null,guest:null}),r=Ue([Ie(this.datasource.people.get("me")),Ve((()=>this.datasource.memberships.list({roomId:e,max:1e3}))).pipe(Re((e=>e.items)))]).pipe(Re((([e,r])=>function(e,t){return jt.debug(...En,"sortRoomMembers()",["called with",{memberships:e,myID:t}]),e.sort(((e,r)=>e.personId===t?-1:r.personId===t?1:r.personDisplayName?e.personDisplayName?e.personDisplayName.localeCompare(r.personDisplayName):1:-1))}(r,e.id).map(t)))),n=tt(Ke(this.datasource.memberships,nt.SDK_EVENT.EXTERNAL.EVENT_TYPE.CREATED).pipe(ot((()=>{jt.debug("MEMBERSHIP",`room-${e}`,"getRoomMembers()",["received",nt.SDK_EVENT.EXTERNAL.EVENT_TYPE.CREATED,"event"])}))),Ke(this.datasource.memberships,nt.SDK_EVENT.EXTERNAL.EVENT_TYPE.DELETED)).pipe(st((t=>t.data.roomId===e)),Ge((()=>r)));return Qe(r,n).pipe(ft(1),ct(),ot((t=>{jt.debug("MEMBERSHIP",`room-${e}`,"getRoomMembers()",["emitting membership object",t])})),ut((()=>{this.stopListeningToMembershipsUpdates()})))}getMeetingMembers(e){jt.debug("MEMBERSHIP",`meeting-${e}`,"getMeetingMembers()",["called with",{meetingID:e}]);const t=this.datasource.meetings.getMeetingByType("id",e);let r;if(t){const e=t.members&&t.members.membersCollection&&t.members.membersCollection.members;r=new rt(_n(e,t)),t.members.on("members:update",(e=>{jt.debug(...En,"getMeetingMembers()",['received "members:update" event',{payload:e}]),e&&e.full&&r.next(_n(e.full,t))}))}else r=se(new Error(`Meeting ${e} not found.`));return r.pipe(ot((t=>{jt.debug("MEMBERSHIP",`meeting-${e}`,"getMeetingMembers()",["emitting membership object",t])})))}getMembersFromDestination(e,t){jt.debug("MEMBERSHIP",`${t}-${e}`,"getMembersFromDestination()",["called with",{destinationID:e,destinationType:t}]);const r=`${t}-${e}`;let n=this.members$[r];if(!n){switch(t){case"room":n=this.getRoomMembers(e);break;case"meeting":n=this.getMeetingMembers(e);break;default:n=se(new Error(`getMembersFromDestination for ${t} is not currently supported.`))}this.members$[r]=n}return n}addRoomMember(e,t){return jt.debug("MEMBERSHIP",void 0,"addRoomMember()",["called with",{personID:e,roomID:t}]),Ve((()=>this.datasource.memberships.create({personId:e,roomId:t}))).pipe(Re(Tn),ot((e=>jt.debug("MEMBERSHIP",void 0,"addRoomMember()",["member added to room",e]))),at((e=>{throw jt.error("MEMBERSHIP",void 0,"addRoomMember()","Error adding member to room",e),e})))}}class Sn extends St{constructor(e){super(e),this.organizationObservables={}}fetchOrganization(e){return jt.debug("ORGANIZATION",e,"fetchOrganization()",["called with",{orgID:e}]),this.datasource.request({service:"hydra",resource:`organizations/${e}`}).then((e=>e.body))}getOrg(e){return jt.debug("ORGANIZATION",e,"getOrg()",["called with",{ID:e}]),e in this.organizationObservables||(this.organizationObservables[e]=new qe(1),Ve((()=>this.fetchOrganization(e))).pipe(Re((e=>({ID:e.id,name:e.displayName})))).subscribe((t=>{jt.debug("ORGANIZATION",e,"getOrg()",["emitting organization object",t]),this.organizationObservables[e].next(t)}),(t=>{jt.error("ORGANIZATION",e,"getOrg()","Error fetching organization",t),this.organizationObservables[e].error(new Error(`Could't find organization with ID "${e}"`))}))),this.organizationObservables[e]}}function On(e){const t=Object.keys(Nt).find((t=>Nt[t]===e));return void 0===t?null:t}class wn extends Pt{submitMetrics(e,t){return jt.debug("METRIC",void 0,"submitMetrics()",["called with",{metric:e}]),Ve((()=>this.datasource.internal.metrics.submitClientMetrics(e.name,e,t))).pipe(at((()=>Je({type:null}))),Re((e=>({...e,type:On(e.type)}))))}}const An=["SDK",`${bn}-${Cn}`];class Nn extends yt{constructor(e){super(e),jt.debug(...An,"constructor()","instantiating sdk component adapter"),this.activitiesAdapter=new Ht(e),this.peopleAdapter=new Kt(e),this.roomsAdapter=new Gt(e),this.meetingsAdapter=new Dr(e),this.membershipsAdapter=new xn(e),this.organizationsAdapter=new Sn(e),this.metricsAdapter=new wn(e),this.sdk=e,this.cache=Ft}async connect(){jt.debug(...An,"connect()","called"),jt.debug(...An,"connect()","calling sdk.internal.device.register()"),await this.sdk.internal.device.register(),jt.debug(...An,"connect()","calling sdk.internal.mercury.connect()"),await this.sdk.internal.mercury.connect(),jt.debug(...An,"connect()","calling meetingsAdapter.connect()"),await this.meetingsAdapter.connect()}async disconnect(){jt.debug(...An,"disconnect()","called"),jt.debug(...An,"disconnect()","calling meetingsAdapter.disconnect()"),await this.meetingsAdapter.disconnect(),jt.debug(...An,"disconnect()","calling sdk.internal.mercury.disconnect()"),await this.sdk.internal.mercury.disconnect(),jt.debug(...An,"disconnect()","calling sdk.internal.device.unregister()"),await this.sdk.internal.device.unregister()}}function Pn(){return y.default.createElement("svg",{width:"102",height:"33",viewBox:"0 0 102 33",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",alt:"Webex by Cisco"},y.default.createElement("path",{d:"M48.7863 8.02319H51.4715L47.5674 19.824H44.487L41.5692 10.9189L38.6513 19.824H35.6189L31.7148 8.02319H34.4628L37.233 16.9911L40.1398 8.02319H43.0576L46.0125 17.0391L48.7863 8.02319Z"}),y.default.createElement("path",{d:"M62.9891 14.871H54.2798C54.3602 15.4795 54.5884 16.0591 54.9446 16.5589C55.2601 16.9963 55.6875 17.3408 56.1819 17.5562C56.6855 17.7737 57.2291 17.8831 57.7775 17.8775C58.3855 17.8752 58.9883 17.7652 59.5578 17.5525C60.1483 17.3366 60.6997 17.0259 61.1904 16.6328L62.472 18.4796C61.8184 19.0494 61.0574 19.4827 60.2337 19.7538C59.3878 20.0194 58.5053 20.1502 57.6187 20.1416C56.5267 20.1632 55.4481 19.8983 54.4903 19.3734C53.5843 18.8657 52.8423 18.1096 52.3518 17.1942C51.824 16.1909 51.5597 15.0699 51.5835 13.9365C51.5609 12.8138 51.8145 11.7027 52.3222 10.701C52.7939 9.78991 53.5135 9.03066 54.398 8.51075C55.3259 7.97668 56.382 7.70595 57.4525 7.72772C58.4627 7.69977 59.4595 7.96363 60.3235 8.48769C61.1876 9.01175 61.8822 9.77379 62.3243 10.6825C62.8123 11.6875 63.0553 12.7937 63.0334 13.9107C63.0371 14.1581 63.0223 14.4795 62.9891 14.871ZM60.4036 12.9134C60.3242 12.1047 59.9772 11.3456 59.4175 10.7564C59.1491 10.5049 58.833 10.31 58.4878 10.1831C58.1427 10.0562 57.7755 9.99992 57.4082 10.0177C57.0215 10 56.6353 10.0602 56.2723 10.1947C55.9094 10.3292 55.5772 10.5353 55.2955 10.8007C54.7377 11.3812 54.3815 12.1259 54.2798 12.9245L60.4036 12.9134Z"}),y.default.createElement("path",{d:"M74.0053 8.51812C74.9038 9.04957 75.6405 9.81569 76.1365 10.7342C76.6668 11.7132 76.9364 12.8122 76.9195 13.9254C76.9365 15.0375 76.6668 16.1353 76.1365 17.1129C75.6404 18.0357 74.9009 18.8049 73.9984 19.3369C73.0959 19.8689 72.0648 20.1434 71.0173 20.1306C70.2821 20.146 69.5531 19.9931 68.8861 19.6836C68.2748 19.3888 67.74 18.9565 67.3237 18.4205V19.824H64.7383V3H67.3237V9.42673C67.7418 8.89431 68.2763 8.46473 68.8861 8.17093C69.5523 7.85843 70.2816 7.70421 71.0173 7.72032C72.0676 7.70747 73.1012 7.98345 74.0053 8.51812ZM72.5944 17.2016C73.1307 16.8719 73.5623 16.3967 73.8391 15.8313C74.1232 15.2355 74.2707 14.5837 74.2707 13.9236C74.2707 13.2635 74.1232 12.6117 73.8391 12.0159C73.5612 11.4513 73.1298 10.9764 72.5944 10.6456C72.0253 10.32 71.3811 10.1488 70.7255 10.1488C70.0699 10.1488 69.4256 10.32 68.8566 10.6456C68.3198 10.9715 67.8848 11.441 67.6008 12.0011C67.2935 12.5993 67.1388 13.2641 67.1502 13.9365C67.1384 14.6078 67.2933 15.2714 67.6008 15.8682C67.8848 16.4283 68.3198 16.8978 68.8566 17.2237C69.4256 17.5493 70.0699 17.7206 70.7255 17.7206C71.3811 17.7206 72.0253 17.5493 72.5944 17.2237V17.2016Z"}),y.default.createElement("path",{d:"M89.6765 14.871H80.9709C81.0512 15.4795 81.2795 16.0591 81.6357 16.559C81.9512 16.9963 82.3786 17.3408 82.873 17.5562C83.3766 17.7737 83.9202 17.8832 84.4686 17.8775C85.0766 17.8747 85.6792 17.7647 86.2489 17.5525C86.8394 17.3366 87.3908 17.026 87.8815 16.6328L89.1594 18.4796C88.5077 19.0502 87.7477 19.4836 86.9248 19.7539C86.0776 20.0192 85.1939 20.15 84.3061 20.1417C83.2143 20.162 82.136 19.8972 81.1777 19.3734C80.2736 18.8645 79.5331 18.1086 79.0429 17.1942C78.514 16.1912 78.2484 15.0703 78.2709 13.9366C78.2484 12.8138 78.5021 11.7028 79.0096 10.701C79.4813 9.78994 80.2009 9.03069 81.0854 8.51077C82.0187 7.96891 83.0831 7.69419 84.1621 7.71667C85.172 7.69009 86.1682 7.95452 87.032 8.47843C87.8958 9.00233 88.5907 9.76361 89.0338 10.6715C89.5218 11.6764 89.7649 12.7827 89.743 13.8996C89.7282 14.1582 89.7024 14.4795 89.6765 14.871ZM87.091 12.9135C87.0058 12.1099 86.6579 11.3569 86.1012 10.7712C85.8347 10.5183 85.5203 10.3214 85.1764 10.192C84.8326 10.0626 84.4664 10.0033 84.0993 10.0177C83.7126 9.99961 83.3262 10.0596 82.9632 10.1941C82.6002 10.3287 82.2681 10.535 81.9866 10.8008C81.4274 11.3803 81.0711 12.1255 80.9709 12.9245L87.091 12.9135Z"}),y.default.createElement("path",{d:"M101.958 19.824H98.7923L95.8005 15.7205L92.8457 19.824H89.8281L94.2603 13.7999L89.8983 8.02319H93.0673L95.9483 11.9642L98.8292 8.02319H101.891L97.5106 13.7777L101.958 19.824Z"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint0_linear)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint1_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint2_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint3_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint4_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint5_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint6_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint7_linear)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint8_radial)"}),y.default.createElement("path",{d:"M17.8018 3C15.9264 3 13.7554 3.62177 12.3187 6.29377C11.4929 7.82965 11.0746 9.55872 10.6877 11.2746C10.5603 11.8393 10.4289 12.4107 10.2891 12.9526V20.7161C10.9987 20.5197 11.7612 20.1419 12.4926 19.4148C15.2398 16.684 15.7005 9.53912 17.0744 8.17337C17.2301 8.0186 17.3984 7.9286 17.5801 7.9286C18.1329 7.9286 18.5604 8.61395 18.9698 9.4382C19.4249 10.3544 19.9656 11.3997 21.5607 11.3997C22.29 11.3997 23.9726 10.885 23.9726 8.86738C23.9726 7.66003 21.9144 3 17.8018 3Z",fill:"url(#paint9_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint10_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint11_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint12_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint13_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.39397 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint14_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"#316AFF"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint15_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint16_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint17_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint18_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint19_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint20_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint21_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint22_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint23_radial)"}),y.default.createElement("path",{d:"M23.214 5.74961C23.0286 5.74961 22.8422 5.76673 22.6593 5.80194C23.5286 7.02795 23.9636 8.31231 23.9636 8.86724C23.9636 10.8849 22.2809 11.3996 21.5517 11.3996C20.9825 11.3996 20.5477 11.2664 20.2031 11.0536C20.1998 11.0662 20.1967 11.0788 20.1935 11.0914C20.091 11.4919 20.0101 11.9301 19.87 12.3566C19.6008 13.1767 19.2376 14.1134 18.8498 14.8383C18.4318 15.6197 18.0179 16.0769 17.5245 16.0529C16.9635 16.0256 16.5087 15.3184 15.9433 13.3195C15.761 12.6751 15.5922 11.9684 15.4357 11.2746C15.0476 9.55363 14.5713 7.82304 13.7568 6.29377C12.4265 3.79609 10.1571 3 8.34542 3C6.66524 3 5.40994 3.77801 4.42384 4.75823C4.15133 5.02913 3.85366 5.39409 3.55469 5.82299C4.41476 6.02563 5.22803 6.65881 5.3579 7.85882C5.38348 8.08762 5.56303 9.90486 6.16603 12.0107C6.33906 11.4827 6.59134 10.7009 7.17744 9.43821C7.46469 8.85996 7.72389 8.47867 7.95778 8.24618C8.17228 8.03297 8.36545 7.94491 8.53934 7.94491C8.72691 7.94491 9.36735 8.11282 9.99084 10.2527C10.7641 12.906 11.3395 17.1289 13.5319 19.3711C14.4989 20.3601 15.8521 21 17.7276 21C19.3732 21 20.7452 20.2912 21.7234 19.3052C23.3318 17.6838 24.2131 15.0031 24.5275 14.0111C25.422 11.189 25.6726 8.63656 25.7018 8.3665C25.8682 6.8234 24.5391 5.74961 23.214 5.74961Z",fill:"url(#paint24_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.394 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint25_linear)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.394 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint26_radial)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.394 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint27_linear)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.394 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint28_linear)"}),y.default.createElement("path",{d:"M8.2752 20.9287C3.5932 20.9287 1.99967 15.1377 1.64261 14.0111C0.745924 11.1822 0.473333 8.63394 0.444477 8.3665C0.27797 6.8234 1.54339 5.74961 2.9322 5.74961C3.9838 5.74961 5.20424 6.36527 5.3659 7.85896C5.394 8.1102 5.60775 10.277 6.36404 12.638C7.15331 15.102 7.9906 16.0496 8.59357 16.0496C9.56728 16.0496 10.1614 13.6036 10.6866 11.2746C11.0735 9.55872 11.4918 7.82965 12.3176 6.29377C13.7543 3.62177 15.9253 3 17.8008 3C21.9133 3 23.9715 7.66003 23.9715 8.86738C23.9715 10.885 22.2889 11.3997 21.5596 11.3997C19.9645 11.3997 19.4238 10.3544 18.9687 9.43821C18.5593 8.61395 18.1318 7.9286 17.579 7.9286C17.3974 7.9286 17.229 8.0186 17.0734 8.17337C15.6994 9.53912 15.2387 16.684 12.4916 19.4148C10.9686 20.9287 9.31153 20.9287 8.2752 20.9287Z",fill:"url(#paint29_radial)"}),y.default.createElement("path",{d:"M76.6975 29.1488H76.2852V25.3674H76.7903V26.7975C76.8907 26.6495 77.0275 26.5297 77.1875 26.4496C77.3475 26.3696 77.5254 26.3321 77.7041 26.3406C77.879 26.332 78.0533 26.3656 78.2124 26.4387C78.3715 26.5117 78.5106 26.6221 78.6179 26.7604C78.8204 27.0544 78.9209 27.4067 78.9039 27.7633C78.9158 27.9659 78.8872 28.1689 78.8195 28.3602C78.7519 28.5516 78.6467 28.7275 78.5102 28.8777C78.4006 28.9887 78.2689 29.0756 78.1237 29.1325C77.9784 29.1894 77.8228 29.2153 77.667 29.2083C77.4938 29.2179 77.321 29.1826 77.1655 29.1058C77.0099 29.029 76.8769 28.9133 76.7792 28.77L76.6975 29.1488ZM78.3913 27.7522C78.4004 27.6121 78.3814 27.4716 78.3355 27.3389C78.2896 27.2062 78.2176 27.0841 78.1239 26.9795C78.0535 26.9092 77.9693 26.8544 77.8765 26.8186C77.7838 26.7828 77.6846 26.7667 77.5852 26.7715C77.4693 26.7666 77.3538 26.7889 77.248 26.8366C77.1422 26.8843 77.0491 26.9562 76.9761 27.0464C76.8262 27.2504 76.7502 27.4993 76.7606 27.7522C76.7419 28.043 76.8349 28.3299 77.0206 28.5545C77.0905 28.6347 77.1775 28.698 77.2753 28.7399C77.3731 28.7817 77.479 28.8008 77.5852 28.796C77.7014 28.8022 77.8173 28.7793 77.9224 28.7293C78.0275 28.6794 78.1185 28.604 78.187 28.5099C78.3313 28.2843 78.4026 28.0197 78.3913 27.7522Z"}),y.default.createElement("path",{d:"M81.6039 26.4187L80.653 29.186C80.5722 29.453 80.4466 29.7042 80.2815 29.9289C80.2166 30.006 80.1351 30.0674 80.0432 30.1086C79.9512 30.1498 79.8511 30.1696 79.7503 30.1667C79.6398 30.1647 79.5299 30.1485 79.4235 30.1184V29.7098C79.5098 29.7316 79.5982 29.744 79.6872 29.7469C79.7354 29.7494 79.7836 29.7403 79.8276 29.7202C79.8715 29.7002 79.91 29.6698 79.9398 29.6318C80.0365 29.4789 80.1126 29.3141 80.1664 29.1414H80.0029L79 26.4113H79.546L80.3187 28.7328L81.0876 26.4113L81.6039 26.4187Z"}),y.default.createElement("path",{d:"M88.6453 25.3712H87.6758V29.1638H88.6341L88.6453 25.3712Z"}),y.default.createElement("path",{d:"M96.3569 26.4596C96.11 26.3239 95.8326 26.2536 95.5509 26.2553C95.4128 26.2469 95.2744 26.2669 95.1444 26.314C95.0143 26.361 94.8952 26.4342 94.7945 26.5291C94.6938 26.6239 94.6135 26.7383 94.5586 26.8653C94.5038 26.9923 94.4754 27.1291 94.4754 27.2675C94.4754 27.4058 94.5038 27.5427 94.5586 27.6697C94.6135 27.7967 94.6938 27.9111 94.7945 28.0059C94.8952 28.1007 95.0143 28.1739 95.1444 28.221C95.2744 28.2681 95.4128 28.2881 95.5509 28.2797C95.8319 28.2797 96.1087 28.2108 96.3569 28.0791V29.0932C96.0743 29.1815 95.7801 29.2278 95.484 29.2306C95.219 29.2422 94.9544 29.1999 94.7062 29.1065C94.458 29.013 94.2312 28.8703 94.0397 28.6868C93.8481 28.5034 93.6956 28.2831 93.5915 28.0391C93.4873 27.7952 93.4336 27.5327 93.4336 27.2675C93.4336 27.0022 93.4873 26.7398 93.5915 26.4958C93.6956 26.2519 93.8481 26.0316 94.0397 25.8481C94.2312 25.6647 94.458 25.522 94.7062 25.4285C94.9544 25.3351 95.219 25.2928 95.484 25.3043C95.7802 25.306 96.0745 25.3523 96.3569 25.4418V26.4596Z"}),y.default.createElement("path",{d:"M86.3727 26.4596C86.1276 26.323 85.851 26.2526 85.5704 26.2553C85.4323 26.2469 85.294 26.2669 85.1639 26.314C85.0338 26.3611 84.9148 26.4343 84.814 26.5291C84.7133 26.6239 84.633 26.7383 84.5781 26.8653C84.5233 26.9923 84.495 27.1292 84.495 27.2675C84.495 27.4059 84.5233 27.5427 84.5781 27.6697C84.633 27.7967 84.7133 27.9111 84.814 28.0059C84.9148 28.1008 85.0338 28.174 85.1639 28.221C85.294 28.2681 85.4323 28.2881 85.5704 28.2797C85.8491 28.2854 86.1249 28.2216 86.3727 28.094V29.1081C86.0914 29.1965 85.7985 29.2428 85.5035 29.2455C85.2385 29.257 84.974 29.2148 84.7257 29.1213C84.4775 29.0279 84.2508 28.8851 84.0592 28.7017C83.8676 28.5183 83.7151 28.298 83.611 28.054C83.5068 27.8101 83.4531 27.5476 83.4531 27.2824C83.4531 27.0171 83.5068 26.7546 83.611 26.5107C83.7151 26.2668 83.8676 26.0465 84.0592 25.863C84.2508 25.6796 84.4775 25.5369 84.7257 25.4434C84.974 25.3499 85.2385 25.3077 85.5035 25.3192C85.7986 25.3204 86.0917 25.3667 86.3727 25.4567V26.4596Z"}),y.default.createElement("path",{d:"M99.3652 26.2702C99.1671 26.2687 98.973 26.3261 98.8077 26.4352C98.6423 26.5443 98.5131 26.7 98.4364 26.8827C98.3598 27.0653 98.3391 27.2667 98.3771 27.4611C98.4151 27.6555 98.5101 27.8342 98.6499 27.9746C98.7897 28.1149 98.9681 28.2105 99.1624 28.2493C99.3566 28.288 99.558 28.2681 99.741 28.1922C99.9239 28.1162 100.08 27.9875 100.19 27.8226C100.3 27.6576 100.358 27.4638 100.357 27.2657C100.359 27.1347 100.335 27.0047 100.286 26.8832C100.237 26.7618 100.164 26.6514 100.071 26.5586C99.9787 26.4658 99.8686 26.3925 99.7474 26.343C99.6261 26.2934 99.4962 26.2687 99.3652 26.2702ZM101.371 27.2657C101.379 27.6631 101.269 28.054 101.054 28.3885C100.839 28.723 100.53 28.986 100.165 29.1439C99.7998 29.3018 99.3963 29.3476 99.0053 29.2753C98.6144 29.203 98.2538 29.016 97.9696 28.7381C97.6853 28.4601 97.4903 28.1039 97.4092 27.7147C97.3282 27.3255 97.3648 26.9209 97.5145 26.5527C97.6642 26.1844 97.9202 25.869 98.2498 25.6467C98.5793 25.4244 98.9676 25.3052 99.3652 25.3044C99.6269 25.2969 99.8874 25.3422 100.131 25.4375C100.375 25.5329 100.597 25.6763 100.784 25.8594C100.972 26.0424 101.12 26.2612 101.221 26.5028C101.322 26.7444 101.373 27.0039 101.371 27.2657Z"}),y.default.createElement("path",{d:"M92.2738 26.2367C92.0312 26.1705 91.782 26.1319 91.5309 26.1215C91.1594 26.1215 90.9365 26.2515 90.9365 26.4336C90.9365 26.6156 91.2188 26.7456 91.3748 26.805L91.6423 26.8867C91.8923 26.9406 92.1171 27.0767 92.2807 27.2733C92.4444 27.4699 92.5374 27.7157 92.5449 27.9714C92.5449 28.926 91.7054 29.2455 90.9737 29.2455C90.6282 29.2432 90.2837 29.2084 89.9447 29.1415V28.2537C90.2381 28.3401 90.5416 28.3876 90.8474 28.3948C91.3228 28.3948 91.542 28.2574 91.542 28.0234C91.542 27.7894 91.3526 27.7188 91.1148 27.6519L90.9105 27.5851C90.3756 27.4179 89.9336 27.1059 89.9336 26.4707C89.9336 25.7612 90.4648 25.2858 91.3451 25.2858C91.6594 25.2902 91.9721 25.3301 92.2775 25.4046L92.2738 26.2367Z"}),y.default.createElement("defs",null,y.default.createElement("linearGradient",{id:"paint0_linear",x1:"21.4097",y1:"8.26027",x2:"4.94289",y2:"13.782",gradientUnits:"userSpaceOnUse"},y.default.createElement("stop",{stopColor:"#5CEE64"}),y.default.createElement("stop",{offset:"1",stopColor:"#00BBFF"})),y.default.createElement("radialGradient",{id:"paint1_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(10.0539 12.561) rotate(-121.424) scale(10.6601 9.04208)"},y.default.createElement("stop",{stopColor:"#007383"}),y.default.createElement("stop",{offset:"0.407867",stopColor:"#00717E",stopOpacity:"0.75"}),y.default.createElement("stop",{offset:"0.874482",stopColor:"#007281",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint2_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(17.173 10.5892) rotate(-127.347) scale(8.7122 5.75938)"},y.default.createElement("stop",{stopColor:"#218970"}),y.default.createElement("stop",{offset:"0.459527",stopColor:"#267E6A"}),y.default.createElement("stop",{offset:"1",stopColor:"#026C51",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint3_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(9.43 13.0617) rotate(-107.836) scale(7.053 3.74169)"},y.default.createElement("stop",{stopColor:"#178697"}),y.default.createElement("stop",{offset:"0.407867",stopColor:"#17838F",stopOpacity:"0.79"}),y.default.createElement("stop",{offset:"0.874482",stopColor:"#007281",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint4_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(12.6297 13.0241) rotate(-121.424) scale(17.9809 5.60414)"},y.default.createElement("stop",{stopColor:"#25342F",stopOpacity:"0.3"}),y.default.createElement("stop",{offset:"1",stopColor:"#25342F",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint5_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(15.8897 10.7852) rotate(84.9882) scale(6.7331 3.90349)"},y.default.createElement("stop",{stopColor:"#056D4F"}),y.default.createElement("stop",{offset:"0.232593",stopColor:"#056C4E",stopOpacity:"0.75"}),y.default.createElement("stop",{offset:"0.598902",stopColor:"#056C4E",stopOpacity:"0.300824"}),y.default.createElement("stop",{offset:"0.874482",stopColor:"#056C4F",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint6_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(16.1942 -0.102187) rotate(56.4937) scale(7.96654 4.21576)"},y.default.createElement("stop",{stopColor:"#22B67B"}),y.default.createElement("stop",{offset:"0.407867",stopColor:"#24BE82"}),y.default.createElement("stop",{offset:"1",stopColor:"#24BE82",stopOpacity:"0.07"})),y.default.createElement("linearGradient",{id:"paint7_linear",x1:"-5.79159",y1:"11.8079",x2:"5.92955",y2:"11.9065",gradientUnits:"userSpaceOnUse"},y.default.createElement("stop",{stopColor:"#09F8FF"}),y.default.createElement("stop",{offset:"1",stopColor:"#0BF7F9",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint8_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(-3.27352 1.4827) rotate(49.021) scale(10.4336 10.4425)"},y.default.createElement("stop",{stopColor:"#09F8FF"}),y.default.createElement("stop",{offset:"1",stopColor:"#0BF7F9",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint9_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(5.19272 -3.72097) rotate(47.3777) scale(21.1748 21.1856)"},y.default.createElement("stop",{stopColor:"#00B8FF"}),y.default.createElement("stop",{offset:"0.745423",stopColor:"#00B9FC",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint10_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.32654 12.0019) rotate(-107.836) scale(10.1249 7.14388)"},y.default.createElement("stop",{stopColor:"#00BCFF",stopOpacity:"0.76"}),y.default.createElement("stop",{offset:"0.57273",stopColor:"#00BAFC",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint11_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(22.0331 8.16428) rotate(-130.177) scale(7.21066 5.06823)"},y.default.createElement("stop",{stopColor:"#5FEC50"}),y.default.createElement("stop",{offset:"1",stopColor:"#3CC08E",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint12_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(20.9873 12.7664) rotate(-78.8553) scale(2.16492 1.52853)"},y.default.createElement("stop",{stopColor:"#28855B"}),y.default.createElement("stop",{offset:"1",stopColor:"#14795C",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint13_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(20.8807 12.6072) rotate(-77.6157) scale(1.78506 2.54567)"},y.default.createElement("stop",{stopColor:"#28855B"}),y.default.createElement("stop",{offset:"1",stopColor:"#14795C",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint14_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(23.0529 9.39453) rotate(-133.426) scale(5.9773 4.20528)"},y.default.createElement("stop",{stopColor:"#5FF05B"}),y.default.createElement("stop",{offset:"0.813285",stopColor:"#5DE955",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint15_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(21.1619 11.0937) rotate(36.8427) scale(5.33572 7.37205)"},y.default.createElement("stop",{stopColor:"#123AA8"}),y.default.createElement("stop",{offset:"0.966119",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint16_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(19.8237 11.6867) rotate(8.30215) scale(6.3439 9.26978)"},y.default.createElement("stop",{stopColor:"#123AA8"}),y.default.createElement("stop",{offset:"0.592487",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint17_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(20.3387 12.4566) rotate(24.1836) scale(5.40105 9.48433)"},y.default.createElement("stop",{stopColor:"#123AA8"}),y.default.createElement("stop",{offset:"0.756788",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint18_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(19.7021 12.7708) rotate(95.9323) scale(9.53426 5.33984)"},y.default.createElement("stop",{stopColor:"#123AA8"}),y.default.createElement("stop",{offset:"0.592487",stopColor:"#123AA8",stopOpacity:"0"}),y.default.createElement("stop",{offset:"1",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint19_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(21.1619 8.56248) rotate(93.7494) scale(11.4725 4.18555)"},y.default.createElement("stop",{stopColor:"#123AA8"}),y.default.createElement("stop",{offset:"0.884611",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint20_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.86928 10.9476) rotate(84.714) scale(6.0884 3.29688)"},y.default.createElement("stop",{stopColor:"#123AA8"}),y.default.createElement("stop",{offset:"0.884611",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint21_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.86483 11.1114) rotate(87.1887) scale(6.35336 5.36263)"},y.default.createElement("stop",{stopColor:"#123AA8"}),y.default.createElement("stop",{offset:"0.884611",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint22_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(9.34276 17.081) rotate(-22.7152) scale(7.21963 13.8952)"},y.default.createElement("stop",{stopColor:"#123AA8"}),y.default.createElement("stop",{offset:"0.708977",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint23_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.76526 9.55813) rotate(-159.94) scale(4.78651 8.05849)"},y.default.createElement("stop",{stopColor:"#1A3DA0"}),y.default.createElement("stop",{offset:"0.708977",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint24_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(2.54067 11.1556) rotate(16.4007) scale(9.13706 9.05368)"},y.default.createElement("stop",{stopColor:"#1E3882"}),y.default.createElement("stop",{offset:"0.761404",stopColor:"#123AA8",stopOpacity:"0"})),y.default.createElement("linearGradient",{id:"paint25_linear",x1:"-0.331541",y1:"6.20397",x2:"8.57129",y2:"12.014",gradientUnits:"userSpaceOnUse"},y.default.createElement("stop",{offset:"0.229329",stopColor:"#1DC4FF"}),y.default.createElement("stop",{offset:"1",stopColor:"#1CC1FF",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint26_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(-3.27407 1.48228) rotate(49.021) scale(10.4336 10.4425)"},y.default.createElement("stop",{stopColor:"#09F8FF"}),y.default.createElement("stop",{offset:"1",stopColor:"#0BF7F9",stopOpacity:"0"})),y.default.createElement("linearGradient",{id:"paint27_linear",x1:"0.167041",y1:"6.49161",x2:"2.64631",y2:"8.78972",gradientUnits:"userSpaceOnUse"},y.default.createElement("stop",{stopColor:"#26FBFF"}),y.default.createElement("stop",{offset:"0.637346",stopColor:"#0BF7F9",stopOpacity:"0"})),y.default.createElement("linearGradient",{id:"paint28_linear",x1:"-0.505157",y1:"8.20858",x2:"2.99361",y2:"8.46382",gradientUnits:"userSpaceOnUse"},y.default.createElement("stop",{stopColor:"#26FBFF"}),y.default.createElement("stop",{offset:"0.637346",stopColor:"#0BF7F9",stopOpacity:"0"})),y.default.createElement("radialGradient",{id:"paint29_radial",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.32622 12.002) rotate(-107.836) scale(10.1249 7.14388)"},y.default.createElement("stop",{stopColor:"#00BCFF",stopOpacity:"0.76"}),y.default.createElement("stop",{offset:"0.57273",stopColor:"#00BAFC",stopOpacity:"0"}))))}function In(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(In=function(){return!!e})()}s(647);var Rn=function(){function e(t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,i=[t],n=h(n=e),function(e,t){if(t&&("object"==d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(r,In()?Reflect.construct(n,i||[],h(r).constructor):n.apply(r,i));var r,n,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(e,y.Component),t=e,(r=[{key:"componentDidMount",value:function(){var e=this;if(this.widgetDiv){this._mediaContainerTabHandler||(this._mediaContainerTabHandler=function(t){var r=t.currentTarget;if(("Tab"===t.code||"Tab"===t.key)&&document.activeElement===r)if(t.shiftKey)t.preventDefault(),e.widgetDiv&&(e.widgetDiv.tabIndex=0,e.widgetDiv.focus());else{t.preventDefault();var n=e.widgetDiv.querySelector('button[aria-label="Join meeting"]');n||(n=e.widgetDiv.querySelector('.wxc-meeting-control button, .wxc-meeting-control [tabindex]:not([tabindex="-1"])')),n&&n.focus()}}),this.widgetDiv.addEventListener("focus",(function(){setTimeout((function(){var t=c(e.widgetDiv.querySelectorAll(".wxc-interstitial-meeting__media-container, .wxc-in-meeting__media-container"));if(t.length>0)t.forEach((function(t){t.tabIndex=0,t.removeEventListener("keydown",e._mediaContainerTabHandler,!0),t.addEventListener("keydown",e._mediaContainerTabHandler,!0)}));else{var r=e.widgetDiv.querySelector('button[aria-label="Join meeting"]');r||(r=e.widgetDiv.querySelector('.wxc-meeting-control button, .wxc-meeting-control [tabindex]:not([tabindex="-1"])')),r&&r.focus()}}),0)}));var t=function(){var t=[],r=e.widgetDiv.querySelector(".wxc-meeting-control-bar__controls");r&&(t=Array.from(r.querySelectorAll('button, [tabindex]:not([tabindex="-1"])')));var n=e.widgetDiv.querySelector('button[aria-label="Join meeting"]');n&&!t.includes(n)&&(t=[n].concat(c(t))),t.forEach((function(e){e.onkeydown=null})),t.forEach((function(e,r){e.onkeydown=function(e){if("ArrowRight"===e.key){e.preventDefault();var n=t[(r+1)%t.length];n&&n.focus()}else if("ArrowLeft"===e.key){e.preventDefault();var i=t[(r-1+t.length)%t.length];i&&i.focus()}}}))};setTimeout(t,700);var r=new window.MutationObserver((function(){t()}));r.observe(this.widgetDiv,{childList:!0,subtree:!0}),this._arrowNavObserver=r}if(this.widgetDiv){var n=this.widgetDiv.querySelector(".webex-meetings-widget__content");n&&n.addEventListener("focus",(function(){var e=0,t=function(){var r=n.querySelector(".wxc-in-meeting__media-container");if(r){r.tabIndex=0,r.focus();var i=function(e){if("Tab"===e.key&&!e.shiftKey){e.preventDefault();var t=r.querySelector('button, [tabindex]:not([tabindex="-1"])');t&&t.focus(),r.removeEventListener("keydown",i)}};r.addEventListener("keydown",i)}else e<10&&(e++,setTimeout(t,50))};t()}))}}},{key:"render",value:function(){var e,t,r,n=this,i=this.props.meeting,o=null===(e=i.localAudio)||void 0===e?void 0:e.permission,a=null===(t=i.localVideo)||void 0===t?void 0:t.permission,s=y.default.createElement(Pn,null),l="webex-meetings-widget__content";return r="ASKING"===o?y.default.createElement(E.WebexMediaAccess,{meetingID:i.ID,media:"microphone",logo:s,className:l}):"ASKING"===a?y.default.createElement(E.WebexMediaAccess,{meetingID:i.ID,media:"camera",logo:s,className:l}):y.default.createElement(E.WebexMeeting,{meetingID:i.ID,meetingPasswordOrPin:this.props.meetingPasswordOrPin,participantName:this.props.participantName,logo:s,layout:this.props.layout,controls:this.props.controls,controlsCollapseRangeStart:this.props.controlsCollapseRangeStart,controlsCollapseRangeEnd:this.props.controlsCollapseRangeEnd,className:l}),y.default.createElement("div",{className:"webex-meetings-widget ".concat(this.props.className),style:this.props.style,ref:function(e){n.widgetDiv=e},tabIndex:0},r)}},{key:"componentWillUnmount",value:function(){this._arrowNavObserver&&(this._arrowNavObserver.disconnect(),this._arrowNavObserver=null)}}])&&f(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r}();Rn.propTypes={accessToken:v.default.string.isRequired,className:v.default.string,controls:v.default.func,controlsCollapseRangeStart:v.default.number,controlsCollapseRangeEnd:v.default.number,fedramp:v.default.bool,meetingDestination:v.default.string.isRequired,meetingPasswordOrPin:v.default.string,participantName:v.default.string,style:v.default.shape(),layout:v.default.string},Rn.defaultProps={className:"",controls:void 0,controlsCollapseRangeStart:void 0,controlsCollapseRangeEnd:void 0,fedramp:!1,layout:"Grid",meetingPasswordOrPin:"",participantName:"",style:{}};const Ln=(0,E.withAdapter)((0,E.withMeeting)(Rn),(function(e){var t=new g.default({credentials:{access_token:e.accessToken},config:{appName:"webex-widgets-meetings",appVersion:"1.28.2-next.5",fedramp:e.fedramp,meetings:{experimental:{enableUnifiedMeetings:!0,enableAdhocMeetings:!0}}}});return new Nn(t)}));var kn=l.y;export{kn as WebexMeetingsWidget};
3
+ //# sourceMappingURL=webexWidgets.mjs.map